The Virtual Service Runner test step is used to control virtual services from a ReadyAPI test case.
This can be useful if you want to use different virtual services at different times in your tests, or if you want to test how your service behaves when other services are missing.
To use this test step, you need ReadyAPI Test Licenses. If you do not have it, you can request it on our website or start a trial.
You can modify settings of the test step in its editor:
![]() |
Option | Description |
---|---|
Authorization profile | Specifies the authorization that is used to log into the Virt Server specified in the 'Virtual service URL'. |
Virtual service URL | Specifies the URL address of the desired virtual service. You can specify a network address of a VirtServer. |
Virtual service name (title) | Specifies whether ReadyAPI should run or stop the specified virtual service. ImportantDifferent servers can have virtual services with the same name. |
Action | Specifies whether ReadyAPI should run or stop the specified virtual service. |
Besides the test step editor, you can adjust test step behavior by using its properties in the Properties and Custom Virtual Service Runner Test Step Properties panels in the Navigator.
Properties
Name | Description |
---|---|
Name | The test step’s name. |
Description | Text describing the test step. |
Custom Virtual Service Runner Test Step Properties
Values on the Custom Virtual Service Runner Test Step Properties tab are available to other test steps in your project. For instance, you can verify these property values with the Assertion test step, or check them and change the execution flow with the Conditional GoTo test step. To learn more, see About Properties.
You can load values of custom properties from a file, or save them to a file. To do this, use the toolbar items.
This tab contains the following properties that provide access to the request and response data:
Name | Description |
---|---|
Action | Specifies whether ReadyAPI should run or stop the specified virtual service. Possible values are:
ImportantCorresponds to the Action option in the test step editor. |
Virtual Service | Specifies whether ReadyAPI should run or stop the specified virtual service. ImportantCorresponds to the Virtual service name (title) value in the test step editor. |
URL | Specifies the URL address of the desired virtual service. ImportantCorresponds to the Virtual service URL value in the test step editor. |