I have a JSR 233 assertion under a sampler (the sampler has several assertion, first is json assertion,second is the jsr 223 assertion, json assertion passes, but JSR 233 assertion fails)
the code for the jsr233 assertion is
AssertionResult.setResultForFailure("error");
and view result tree listener which writes result to test.csv
run the test plan, I can see error is shown as failureMessage in view result tree in jmeter ui
but I check test.csv, the failureMessage column value is blank
the bug is not reproduced when the jsr 233 assertion is the first assertion in the sample's child list
if the jsr 233 assertion is not first in the list( there is json assertion before it) the bug is reproduced
Expected behavior
failureMessage in csv should display "error"
Actual behavior
failureMessage in csv should display nothing
Steps to reproduce the problem
I have a JSR 233 assertion under a sampler (the sampler has several assertion, first is json assertion,second is the jsr 223 assertion, json assertion passes, but JSR 233 assertion fails) the code for the jsr233 assertion is
AssertionResult.setResultForFailure("error");
and view result tree listener which writes result to test.csv
run the test plan, I can see error is shown as failureMessage in view result tree in jmeter ui
but I check test.csv, the failureMessage column value is blank
the bug is not reproduced when the jsr 233 assertion is the first assertion in the sample's child list if the jsr 233 assertion is not first in the list( there is json assertion before it) the bug is reproduced
JMeter Version
5.6.2
Java Version
No response
OS Version
No response