简体   繁体   中英

Unable to map end to end response time in JMS Sampler (Publisher and Subscriber)

I am using JMS Publisher and Subscriber sampler.

Step 1 : JMS Publisher - For sending message to queue. 

After arriving in queue there is some processor who processes the message and then after successful processing post that message into another queue.

Step 2 : My JMS Subscriber keeps on listening into above queue and pick status from the queue. 

I am looking to get end-to-end response time for the above activity. ie after posting the message till the Subscriber read it.

I came across JMSCorrelationID and JMS Selector but was unable to use the same. Will appreciate any help in this regard.

I can think of the following:

  1. Read the destination queue using While Controller until the message with the given CorrelationID appears there
  2. The end-to-end time for the operation can be measured using Transaction Controller

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM