I am running JMeter tests using Ant(ant -Dtest=JMeterTestPlan). Tests is getting executed however response assertions are not coming in HTML report though test has failed.How do I get response assertions in HTML report,I am able to see assertion results in JMeter GUI but not in Ant For ex:I have used OS sampler to check if a process is running and I am expecting the return code to be 0,Also I have used Response assertion to display custom error message that the process is not running In Ant report I am only getting results for OS sampler that the expected value is not found,also there is no Assertion results in html report(Main intention of me using Assertion results is to display custom error message that the process is not running in report)
1 Answers
1
votes
I cannot reproduce your issue using latest JMeter 5.1.1
OS Process Sampler snapshot:
Response Assertion Snapshot
View Results Tree listener output:
Ant HTML report:
Ant's build.xml
and jmeter-results-detail-report_21.xsl
are not changed