The Request Data Manager data protocol lets you alter VSE requests during recording or playback.
On the Data Protocols window, select Request Data Manager for a data protocol. When your recording is complete, the following window opens:
Fundamentally, this protocol lets you apply a list of actions against a request. You can add the following actions in the ActionList section of the window:
All actions can be applied to the request operation, any argument, attribute, or metadata entry, or the request body. For example, when virtualizing Java (which ends up with XML documents as arguments), you can move or copy the value of an argument into the request body, so other data protocols can process the argument.
Each action can also be limited to apply only to requests whose operations match a specified regular expression.
In the recording wizard or the model editor containing a Request Data Manager data protocol, add a Keep or Delete action, or both. Select argument/attribute/meta data and specify a regular expression to match as the name. You must also change the cell that reads named to matches. When the data protocol is run, it keeps or deletes all items in the argument, attribute, or metadata list with a name that matches the pattern. Leaving the operation matching pattern for an action empty affects all requests.
From this list of transactions, double-click a transaction to open a dialog showing the content of the transaction.
After the recording is finished, use the Request Data Manager window to add the targeted JMS message properties to the request arguments. The JMS message properties can be found under the request Meta Data with a msg. prefix for standard JMS properties, such as correlation ID, and a msg.props. prefix for custom message properties. To copy a property to the request arguments, select argument from the drop-down list:
WebSphere MQ works the same way.
To set the stateful session key instead of an argument, select session key from the drop-down instead.
You can use a single Request Data Manager data protocol to set any number of arguments and the session key simultaneously.