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.6_CTP_3.1.2

...

Message Responders can receive and respond with any content over one of the supported virtual asset protocol/API deployment options—namely, HTTP, JMS and WebSphere MQ, or through a protocol/API that is handled by a custom extension (see Using Custom Transports, Message Formats, and Tools_Virt). By customizing Message Responder options, you can customize the behavior of the virtual assets—with different request/response use cases specified manually or via data sources, error conditions, delays, and so forth. 

...

These views are similar across multiple Parasoft tools; they are described in the following areas:

...

Allows you to specify an XML-format template that will be used to automatically populate the expected XML response when generating XPath parameters (e.g. in the message request XPath dialogs for data source correlation and responder correlation or in the multiple response XPath dialog). 

...

If you already have a data source that specifies values for request parameters and the desired corresponding response parameters, you can use those values as follows:

  1. Add the data source (as described in Adding a see Understanding How Virtualize Uses Data Sources).
  2. Configure the Message Responder’s data source mapping with the appropriate request columns (as described in Data Source Correlation Tab).

...

  1. Use the procedure described in in Generating a Data Source Template for Populating Message Elements 1 to create a CSV file from the Form Input view of the Message Responder tool. A data source will be generated and added to the responder suite. This generated data source will contain columns for responses. The Message Responder tool’s Form Input view will be parameterized automatically.
  2. Add a new data source column (e.g., using Excel, OpenOffice or a similar spreadsheet application) for each request parameter that should be used to determine the response. Wildcards can be used.
  3. Configure the Message Responder’s data source mapping with the new request columns you added. See Data Source Correlation Tab for details.
  4. Add new rows to the data source (e.g., using Excel, OpenOffice or a similar spreadsheet application) in order to specify values for request parameters and the desired corresponding response parameters.

...