Skip to content

HTML Assertion

Configure the JMeter HTML Assertion assertions: properties, defaults, and practical usage notes for building reliable load tests.

Difficulty
intermediate
Guide type
reference
Estimated read time
1 min read
Last verified version
Verified JMeter 5.6

Part of the Assertions category. Also documented in context in the full Component Reference.

HTML Assertion

The HTML Assertion allows the user to check the HTML syntax of the response data using JTidy.

NameRequiredDescription
NameNoDescriptive name for this element that is shown in the tree.
doctypeYesomit, auto, strict or loose
FormatYesHTML, XHTML or XML
Errors onlyYesOnly take note of errors?
Error thresholdYesNumber of errors allowed before classing the response as failed
Warning thresholdYesNumber of warnings allowed before classing the response as failed
FilenameNoName of file to which report is written
On this page