Previous Topic: Messaging Virtualization Marker StepNext Topic: Compare Strings for Next Step Lookup Step


Compare Strings for Response Lookup Step

This step reviews an incoming request to a virtual service. The step then determines the appropriate response in a stateless fashion, without referring to any service image. The stateful portions of VSE are not supported. You can match incoming requests using partial text match, regular expression, and others.

Complete the following fields as described:

Text to match

Enter the text against which the criteria are matched. This value is typically a property reference, such as LASTRESPONSE.

Range to match

Enter the start and end of the range.

If no match found

From the list, select the step to go to if no match is found.

If Environment Error

Specifies the action to take or the step to go to if the test fails because of an environment error.

Default: Abort the test.

Store responses in a compressed form...

Specifiy whether to compress the responses in the test case file.

Default: Selected

Case Response Entries

Add, move, and delete entries.

Enabled

Specifies whether to enable or ignore an entry. Clear this check box to ignore an entry.

Default: Selected when you add an entry.

Name

Enter a unique name for the case response entry.

Delay Spec

Enter the delay specification range. The default is 1000-10000, which indicates to use a randomly selected delay time from 1000 milliseconds through 10000 milliseconds. The syntax is the same format as Think Time specifications.

Criteria

This area provides the string to compare against the Text to match field. To edit the criteria:

In the Case Response Entries area select the appropriate row.

From the Criteria list, select a setting.

Compare Type

Select an option from the list:

Response

This area provides the response of this step if the entry matches the Text to match field. To edit the response, in the Case Response Entries area select the appropriate row, then select a different setting from the Response list.

Criteria

You can update the criteria string for an entry.

Response

You can update the step response for an entry.