JMeter performance plugin report always shows 100% errors in 200 responses per successful response

After the build completes, the Performance Report Error column shows 100% error, while the HTTP response code is 200 (Success)

Expected Result: There should be a 0% error in the error column.

We have performance plugin 1.13 in jenkins 1.607

enter image description here

My.jtl file contains:

1434631428652,2082,Deactivate_Enrollee,200,OK,setUp Thread Group 1-1,text,true,536,2073
1434631430748,574,Activate_Enrollee,200,OK,setUp Thread Group 1-1,text,true,536,574
1434631431323,315,User_Status,200,OK,setUp Thread Group 1-1,text,true,1317,315
1434631431711,1,Debug Sampler,200,OK,setUp Thread Group 1-1,text,true,807,0

      

Console output:

Started by user anonymous
Building in workspace /results/jtls
Performance: Percentage of errors greater or equal than 0% sets the build as unstable
Performance: Percentage of errors greater or equal than 0% sets the build as failure
Performance: Recording JMeter reports '*.jtl'
Performance: Parsing JMeter report file APITest_JMeter.jtl
Performance: File APITest_JMeter.jtl reported 100.0% of errors [FAILURE]. Build status is: FAILURE
Build step 'Publish Performance test result report' changed build result to FAILURE
Finished: FAILURE

      

Can anyone work it out for Jenkins?

+3


source to share


3 answers


This appears to be related to a defect in the Performance Plugin version 1.13.



You can use the Performance Plugin version 1.9 or lower and let us know if this resolves your problem.

+1


source


Your jtl file is incorrect for the plugin:

So this causes it to fail to parse that value to boolean with this code:



sample.setSuccessful (Boolean.valueOf (values ​​[successIdx]));

I think your saveservice config is not suitable for the plugin, you must set:

jmeter.save.saveservice.response_message = false

+1


source


I think you may encounter known critical error 28426 Performance Plugin .

0


source







All Articles