I am looking for request-response pair format for JMS/MQ virtual service. If anyone is aware of the format please share.
I'm pretty sure that API can only create HTTP services.
You can use the ServiceImageManager command line tool, but you'll have to run at least one recording session in Workstation so you can generate a VRS file. And, you'll have to be careful that the VSM/VSI that you generate using ServiceImageManager are generated inside a project that contains the same assets you used to create the VRS recording session.
The RR pair files just contain the body of your JMS message. If you want to control things like JMS header properties or custom message properties then you need to use sidecar files. Those allow you to directly set request and response meta-data properties on each transaction, which is where JMS headers and custom properties are stored.
For JMS headers you should be able to find list of meta-data properties in any existing or newly created service image. For custom message properties, the name of the meta-data property is 'msg.props.NAME', where 'NAME' is the name of your custom message property.
Thanks Kevin. I would like to control JMS header and custom message properties. As you have suggested, I will look into sidecar files with Request-Response pair.
Another question I would like to ask, can I use REST Lisa Invoke CreateService API operation to create JMS Virtual Service on the fly using sidecar and RR Pair files as zip file parameter ?
In the new DevTest Version (10), it's possible to virtualize MQ using RR Pairs by the API?
Did Kevin's response answer your question? If so, please be sure to mark it as correct!
Retrieving data ...