Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Published by Scroll Versions from space FUNCTDEV and version SOAVIRT_9.10.3_CTP_3.1.0

...

  • Specifying XPath condition in the request body
  • Specifying URL parameters in the HTTP URL
  • Specifying URL paths for RESTful services.

Image Modified
When specifying a URL path, just click the hyperlink link to the desired path segment’s name ; this will to automatically add the appropriate path index.

Tip
titleAlways Send a Response

By default, the the Enable correlation option option is enabled for response conditions. This option makes the condition required in order to send a response. Add a condition to the end of the list and disable the the Enable correlation option  option to always send a final catch-all response regardless of whether the specified conditions are met. You must disable the option for all condition types (Request Body, HTTP URL Parameters, URL Paths) to enable this behavior.

If more than one XPath or URL parameter matches a response, Virtualize will return the first matching response in the list (use the the Up and  and Down buttons to specify the desired order or responses). If the XPath or URL parameter provided for each response results in a unique match, the order of the responses is irrelevant.

...

The Message tab specifies what response is sent if the conditions are met. You can access data source values (from data sources or data banks) by using  the ${ } syntax. For example, use ${title} to reference the keyword column from a data source or the data bank tool. Use ${books:publisher} to reference the publisher column from the books sheet of an Excel data source.

Performance Options

The Performance Options tab specifies the additional response delay: the time that Virtualize will wait before returning the corresponding response message. Think time values specified here will be added to any think time specified in the Service Options tab> Performance Options page, plus any additional delays specified via performance profiles, which are described in Working with Performance Profiles.

...