Reputation: 11
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
Reputation: 168082
If you have these "XML Payloads" in form of XML files which live in some folder - you can use
Directory Listing Config plugin to iterate the files and read the filename (or full path to the file) into a JMeter Variable
__FileToString() function to read the file contents
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.
Upvotes: 0