Create Virtual Service from API Spec in Project

You can quickly create a virtual service (or virtual API) from an API specification that you added to your ReadyAPI project.

You can do this –

go.giffrom the API (Virtual) node

go.giffrom the API node

Create virtual service from ReadyAPI Virtualization

  1. Select the APIs (Virtual) node and select add-toolbar.pngService on the toolbar:

    Service virtualization and API testing: New Virtual Service toolbar command
  2. In the subsequent dialog, select Definition on the left and From existing API in project on the right, and click OK:

    Service virtualization and API testing: New Virtual Service dialog
  3. If your project includes several APIs, ReadyAPI will ask you to choose one of them.

  4. ReadyAPI will read data from the project API and add appropriate operations to the virtual service.

Create virtual service from the projects page

To create a virtual service, you use the Generate Virtual Service command that you can find in the APIs main menu or the context menu:

Service virtualization and API testing: Generating virtual APIs

For complete information on the steps to perform, see Generate Virtual Services.

See Also

Publication date: