DEV Community

loading...

HTML Assertion in JMeter

Raghwendra Sonu
Automation Testing expert with diverse tools and technologies. Expertise in Web Automation, Mobile Automation, Performance Testing, API (WebServices Testing), Automation Testing Frameworks.
・1 min read

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.

Discussion (0)

Forem Open with the Forem app