{"id":23651915,"url":"https://github.com/microfocus/sv-demos","last_synced_at":"2025-09-19T00:00:11.574Z","repository":{"id":39949554,"uuid":"227857113","full_name":"MicroFocus/sv-demos","owner":"MicroFocus","description":"Service Virtualization Demos","archived":false,"fork":false,"pushed_at":"2022-07-07T22:12:52.000Z","size":691,"stargazers_count":1,"open_issues_count":6,"forks_count":1,"subscribers_count":7,"default_branch":"master","last_synced_at":"2024-12-28T16:48:58.008Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MicroFocus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-12-13T14:26:54.000Z","updated_at":"2021-08-27T14:01:22.000Z","dependencies_parsed_at":"2022-08-25T08:50:44.345Z","dependency_job_id":null,"html_url":"https://github.com/MicroFocus/sv-demos","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroFocus%2Fsv-demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroFocus%2Fsv-demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroFocus%2Fsv-demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MicroFocus%2Fsv-demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MicroFocus","download_url":"https://codeload.github.com/MicroFocus/sv-demos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239611992,"owners_count":19668274,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-12-28T16:49:02.868Z","updated_at":"2025-09-19T00:00:06.488Z","avatar_url":"https://github.com/MicroFocus.png","language":"JavaScript","readme":"# SV Lab Demos\n\nThe demos in this repository explain various SV Lab features and the use of \nSV Lab server together with the sv-client library.\n\nThere are additional demos present in the SV Lab distribution available as\na part of SV Designer installation or as a separate download.\n\nThe quick introduction explaining some of the demos as well as a complete SV Lab\nreference guide is [available online](https://admhelp.microfocus.com/documents/sv/sv-lab/5.4/quick-start-guide/quick-start-guide.html).\n\n## Prerequisites\nTo run any of these demos you will need:\n   \n   * SV Lab server and SV Lab tools (Kafka and RabbitMQ demo)\n      * It can be downloaded either in a separate SV-Lab ZIP file from the\n        [Micro Focus marketplace](https://marketplace.microfocus.com/appdelivery/content/service-virtualization).\n      * It is also installed with SV Designer.  \n   * Java SDK 8 or newer\n      * We suggest to use [OpenJDK](https://openjdk.java.net/install/).\n   * [Apache Maven](https://maven.apache.org/) for running the demos from\n     command line or, preferably, any Java IDE\n\nAll the demos are configured to use the SV Lab server running on localhost by\ndefault.       \n\nSome demos showcase integration with other Micro Focus testing tools, the\ndetailed setup is described in the readme file of each demo.  \n\n\n## Running the demos\nEvery demo can be launched from commandline with Maven. Depending on whether\nit is a test or a Java application, the appropriate commands are\n\n```sh\nmvn test\n```\n\nor \n\n```sh\nmvn compile\nmvn exec:java \n``` \n\nrespectively. The proper command to use us described in each demo's readme\nfile.\n\nA Java IDE will give you the best experience though. Open the Maven demo\nproject with IntelliJ IDEA or Eclipse and then run either the test or main\nclass.\n\n**Note:**\nWhen you are going to run the classes directly in IDE rather than using the\nMaven `test` or `exec:java`, you need to set the system property pointing to\na running SV Lab server in the run configuration:\n```\n   -Dsv.server.endpoint=https://localhost:8445/\n```\n  \n\n## Demos\nFollowing list illustrates the level of complexity of the demo (1-5 stars),\nprotocols used and the features demonstrated. There is an extensive\ndocumentation in a `README.md` file in each demo folder.\n\nIt is best to start with one of the simple introductory hello-world demos:\n\n| Demo                                                   | Protocols  | Features                                             | Level |\n| ------------------------------------------------------ | ---------- | ---------------------------------------------------- | ----- |\n| [hello-world](hello-world/README.md)                   | REST, JSON | SIMULATION                                           | *     |\n| [hello-world-advanced](hello-world-advanced/README.md) | REST, JSON | SIMULATION, simulation variables, stateless fallback | **    |\n\n\nYou can dig down into SV Lab features in advanced demos (alphabetical order):\n\n| Demo                                                                   | Protocols      | Features                                                                                 | Level |\n| ---------------------------------------------------------------------- | -------------- | ---------------------------------------------------------------------------------------- | ----- |\n| [car-order-data-driving](car-order-data-driving/README.md)             | REST, JSON     | SIMULATION, data driving with JSON and CSV data                                          | ****  |\n| [fibonacci-kafka-springrpc](fibonacci-kafka-springrpc/README.md)       | Kafka, JSON    | LEARNING, SIMULATION                                                                     | **    |\n| [fibonacci-rabbitmq-springrpc](fibonacci-rabbitmq-springrpc/README.md) | RabbitMQ, JSON | LEARNING, SIMULATION                                                                     | **    |\n| [smart-irrigation-maven](smart-irrigation-maven/README.md)             | REST, JSON     | SIMULATION, JUnit, Maven                                                                 | ****  |\n| [weather-forecast](weather-forecast/README.md)                         | REST, JSON     | Service LEARNING and SIMULATION on Android, UI testing with Appium and UFT Mobile        | ***   |\n| [weather-forecast-uft](weather-forecast-uft/README.md)                 | REST, JSON     | Service LEARNING and SIMULATION on Android, UI testing with UFT Developer and UFT Mobile | ***   |\n                                                                                         \n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrofocus%2Fsv-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmicrofocus%2Fsv-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmicrofocus%2Fsv-demos/lists"}