DEV Community

Raghwendra Sonu
Raghwendra Sonu

Posted on

HTML Assertion in JMeter

What is this?
This assertion will check the format of the response is proper HTML or not. In case, there are issues, it will log errors and warnings.

How to implement this?
In your JMeter test script Add- > Assertions -> HTML Assertion
Alt Text

We are writing errors and warning logs in a file, open this to see the list.
Alt Text

Note
We can provide threshold numbers for errors and warning in the assertion, in that case this will fail only when number of issues are above threshold.

Top comments (0)