How to make sure that only specific VS listens the response from live Backend
search cancel

How to make sure that only specific VS listens the response from live Backend

book

Article ID: 129128

calendar_today

Updated On:

Products

CA Application Test CA Continuous Application Insight (PathFinder)

Issue/Introduction



During response, there is one queue which will be listened by multiple JMS Virtual Services.
How to make sure that only specific VSM subscribes the proper responses from live back end?

Environment

DevTest on release 10.x.

Resolution

To have the Live Invocation working with several queues in the response side, please: 

1. add 2 more receivers under Live Response Receive. 
Each receiver will have the response queues -Q.LIVE2 and the third one Q.LIVE3 


See MultipleLiveResponseQueue image for reference. 



2. At the bottom of the Live Invocation step, there is a field for Maximum Responses. The default is 1, please change it for 3. 


See MaximumResponses image for reference. 


3. At the top of the Live Invocation step, Live Response Receive we can change the timeout - how long the step will wait for a response. 
The default is 30 seconds, we can change that for 30 min - 1800 seconds. 
See timeout image for reference. 


The problem with the 30 min wait is that the specific VSM will not do anything else until it reaches the 30min timeout or find the message in the response queues. 
For this try o change the capacity for the Virtual Service in the Portal - instead of 1 set it to 4.

With this configuration the VSM will get to Live Invocation step and publish the message in the live request queue, then wait for responses in the live response queues. 

If the response side times out, this is when we will get an abort the test message.
If the messages are using correlation schema, please get with your team to find out which correlation schema is being used and set it in the VSM step.

Attachments

1559050584259000129128_sktwi15okjw436387.png get_app
1559050582122000129128_sktwi15okjw436386.png get_app
1559050580253000129128_sktwi15okjw436385.png get_app