mahaveerr R
mahaveerr R

Reputation: 11

How to pass multiple XML payloads in JMeter and identify the response time for each request

I am working on MQ testing in JMeter. We have 150+ XML payloads with unique queue name to test the performance. Here i have couple of scenario's to be achieved.

First scenario :

Is it possible to test all the XML payloads in a single script instead of creating 150 scripts for each queue name and XML payloads. So every iteration it has to pick new XML Payload with respective queue name.

Second scenario :

I need to extract the response time for each unique request(150+) in Aggregate report. May i know how to achieve this in JMeter

Ex : Request 1 - Q_reply(query name) - XML Payload1 = response time in Aggregate report Request 2 - Q_out(query name) - XML Payload2 = response time in Aggregate report

Upvotes: 0

Views: 790

Answers (1)

Dmitri T
Dmitri T

Reputation: 168082

  1. If you have these "XML Payloads" in form of XML files which live in some folder - you can use

  2. You can append the variable from the previous step holding the file name to the sampler label, this way each file will have its own sample result.

enter image description here

enter image description here

Upvotes: 0

Related Questions