Saturday, 8 August 2015

JMeter Adding Assertions

You can add assertions to sampler. By using assertions, you can test the result is expected one or not.

JMeter support following assertions.

Response Assertion
Duration Assertion
Size Assertion
XML Assertion
BeanShell Assertion
MD5Hex Assertion
HTML Assertion
XPath Assertion
XML Schema Assertion
BSF Assertion
JSR223 Assertion
Compare Assertion
SMIME Assertion

JMeter allows you to specify your assertions using Perl-style regular expressions.

How to add assertion to a sampler
Right click on the sampler -> Add -> Assertion -> Select assertion.




Prevoius                                                 Next                                                 Home

No comments:

Post a Comment