About Virtual Service Runner test step
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.
Requirements
To use this test step, you need a ReadyAPI Test license. If you do not have it, you can request it on our web site or start a trial.
Editing Virtual Service Runner test step
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.
|
||
Action | Specifies whether ReadyAPI should run or stop the specified virtual service. |
Property list
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 | View ↓
Name | Description |
---|---|
Description |
Text describing the test step. |
Name |
The test step’s name. |
Name | Description |
---|---|
Name |
The test step’s name. |
Description |
Text describing the test step. |
Custom Virtual Service Runner Test Step Properties | View ↓
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:
|
||
URL |
Specifies the URL address of the desired virtual service.
|
||
Virtual Service |
Specifies whether ReadyAPI should run or stop the specified virtual service.
|
Name | Description | ||
---|---|---|---|
Action |
Specifies whether ReadyAPI should run or stop the specified virtual service. Possible values are:
|
||
Virtual Service |
Specifies whether ReadyAPI should run or stop the specified virtual service.
|
||
URL |
Specifies the URL address of the desired virtual service.
|