Applies to ReadyAPI 2.7, last modified on June 25, 2019

About Virtual Service Runner test step

The Virtual Service Runner test step is used to control ServiceV virtual services from a SoapUI 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 SoapUI Pro 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:

Virtual Service Runner test step editor
Option Description
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.
Different servers can have virtual services with the same name.
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 Properties tabs.

Name Description
Name

The test step’s name.

Description

Text describing the test step.

Values on the Custom 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:

  • run – Commands to run the specified virtual service.
  • stop – Commands to stop the specified virtual service.
Corresponds to the Action option in the test step editor.
Virtual Service

Specifies whether ReadyAPI should run or stop the specified virtual service.

Corresponds to the Virtual service name (title) value in the test step editor.
URL

Specifies the URL address of the desired virtual service.

Corresponds to the Virtual service URL value in the test step editor.

See Also

Test Steps
About ServiceV

Highlight search results