Creating a DevTest IBM MQ native Virtual Service from a Request Response pair
search cancel

Creating a DevTest IBM MQ native Virtual Service from a Request Response pair

book

Article ID: 235001

calendar_today

Updated On:

Products

Service Virtualization

Issue/Introduction

How to create a Virtual Service using the IBM MQ native protocol from a Request Response pair. 

This does not seem possible from the Portal as documented here: 


https://techdocs.broadcom.com/us/en/ca-enterprise-software/devops/devtest-solutions/10-6/using/using-service-virtualization/using-devtest-portal-with-service-virtualization/create-virtual-services-from-request-response-pairs.html

Environment

All supported DevTest releases and platforms.

Cause

N/A

Resolution

Creating an IBM MQ VS from RR Pair can be done from the Workstation.

The basic steps:
1) Confirm that you can send and receive IBM MQ messages using a test from the Workstation. For this to work you need the IBM MQ jars in the DevTest lib folder and send and receive queues need to have been created.
2) Create a folder (in Data for example) that has 2 RR Pair files: mq1-req.txt, mq1-rsp.txt 
The filenames should have req and rsp in the name as shown.
3) Right click VirtualServices and select Create new VS Image -> From Request/Response Pairs
Enter the names of the new VSI and VSM and click Next.
4) Enter the name of the RR Pair folder and select Transport protocol IBM MQ Native
5) MQ queues to be used can be configured.
6) Click Next 3 times and Finish

This will create the VS.

Additional Information

Although it is for an older release, the following YouTube video explains many of the concepts:

https://www.youtube.com/watch?v=BPnsRBGQJNE