title: Jmeter;Jenkins: Comparing two parsed jtl report to decide build as passes or failed
body: <p>How can I parse and compare 2 JTL reports, I am running them via jenkins (as a pipeline job) the first jtl report will act as a base report and the current test run jtl report will be used to compare.The delta between 2 reports can be used as a  % definition to decide the job as success or failure.
  currently i am using this stage as a pipeline step to parse the current run jmeter:-</p>
  
  <pre><code>performanceReport parsers: [[$class: 'JMeterParser', glob: '/home/jmeter/results/${SERVICE_NAME}/${JMX_NAME}_${TEST_NAME}_*.jtl']], relativeFailedThresholdNegative: 1.2, relativeFailedThresholdPositive: 1.89, relativeUnstableThresholdNegative: 1.8, relativeUnstableThresholdPositive: 1.5
          }
  </code></pre>
  
  <p>The result which I am getting is something like this:-</p>
  
  <p><a href="https://i.stack.imgur.com/ypcr3.jpg" rel="nofollow noreferrer">jenkins jmeter parsed report</a>   </p>
  
  <p>any idea on how to proceed and achieve this?</p>