Search code examples
jmeterreportdashboard

How to display assertion error message in dashboard report?


The question was already posted by Chintamani here however it has not been answered. I'm trying to get the details of my error through the generated dashboard report by JMeter but it's not detailed out in the report. It just indicates that an assertion failed.

enter image description here

Rather than just indicating Assertion Failed in the Type of error. I would want for the report to display the custom response assertion error message that I indicated in the response assertion. I hope someone can help. Thanks!

enter image description here

EDITS:

I have replicated the issue here. It still indicating assertion failed. Not sure what I'm missing here. Also, I am using the updated JMeter version 5.2.1.

enter image description here

This is my result save configuration on my simple data writer. enter image description here


Solution

  • Check for properties jmeter.save.saveservice.assertion_results_failure_message=false
    This should be equal to true or just remove/comment before running again.