A good practice to learn how features work is to explore sample projects. ReadyAPI includes the following projects with sample virtual services:
Virtualization sample project
This project contains examples of REST and SOAP virtual services and functional test cases for testing these virtual services.
Location
The sample project file – Sample-Virtualization-Project.xml – resides in the <ReadyAPI>/tutorials folder:
• Windows: | <Program Files>/SmartBear/ReadyAPI-3-54-0/tutorials ↑ Program Files or Program Files (x86) |
• Linux: | /home/<user-name>/SmartBear/ReadyAPI-3-54-0/tutorials |
• MacOS: | /Applications/ReadyAPI-3-54-0.app/Contents/java/app/tutorials |
How to Open
To open the sample project, click its link on the start page:
Alternatively, select File > Import Project from the main menu of ReadyAPI, and choose the project file in the subsequent Open File dialog:
Data-Driven Virtual Service sample project
This project contains a REST virtual service that inserts data from a Grid data source into responses.
Location
The sample project file – Data-Driven-Virtualization-Project.xml – resides in the <ReadyAPI>/tutorials/ServiceV folder:
• Windows: | <Program Files>/SmartBear/ReadyAPI-3-54-0/tutorials/ServiceV ↑ Program Files or Program Files (x86) |
• Linux: | /home/<user-name>/SmartBear/ReadyAPI-3-54-0/tutorials/ServiceV |
• MacOS: | /Applications/ReadyAPI-3-54-0.app/Contents/java/app/tutorials/ServiceV |
To open the sample project, select File > Import Project from the main menu, and select the project file in the subsequent Open File dialog.
See Also
Tutorials and Samples
Creating Your First Virtual Service
Data-Driven Virtual Services – Tutorial