Abhi
Abhi

Reputation: 31

How Can I compare output of 2 different JMeter runs automatically?

I want to compare 2 different jmeter runs. I have a jenkins job to do that which triggers jmx which in turn call Rest APIs. Lets say, I executed Jmeter run for one time. I will refer this as run 1 Now, after 30 minutes, I will again run the same jenkins job and will again run the jmeter test. I will refer to it as run 2.

So, now i have 2 runs and i want to compare run1 and run2, specifically the response time. How can I automate that so that everytime this happens, i can have the difference in response time of APIs ?

I tried searching, found few articles (Compare results from a previous test in jmeter) but it did not really help :(

Please let me know how can this be achieved ?

Upvotes: 3

Views: 3337

Answers (1)

Dmitri T
Dmitri T

Reputation: 168072

You can use MergeResults plugin in order to compare 2 test executions and plot execution chart and/or have differences in the CSV file.

JMeter Plugins Merge Results

If you want to run it in non-GUI mode from Jenkins job - go for JMeterPluginsCMD Command Line Tool which has MergeResults plugin to run it in command-line mode.

You can install both the plugins using JMeter Plugins Manager

Upvotes: 1

Related Questions