Bean shell post processor ,which compares two csv files and writes differences to third file

330 views Asked by At

I am new to jmeter, I want to compare the two csv files ( one which have standard output and other latest test run results file), if there is any difference then it should write the difference to another file.

I want to do this in bean shell postprocessor

Thanks in advance

1

There are 1 answers

1
Dmitri T On

Your approach doesn't make a lot of sense as there are too many varying values (i.e. request timestamp, response time, connect time, latency, etc.) so basically you won't be able to find 2 identical lines in 2 JMeter result files for the same test plan.

I would recommend using one of the next alternative approaches:

You can install Merge Results tool using JMeter Plugins Manager