SUBSCRIBE HERE TO GET POST UPDATES VIA EMAIL :

Delivered by FeedBurner

Showing posts with label Jmeter Assertions. Show all posts
Showing posts with label Jmeter Assertions. Show all posts

Size assertion in jmeter software load test plan is useful to assert the byte size of request response. You can use different conditions in response assertion like equal to, not equal to, greater than, less than, greater than or equal to, less than or equal to a given number of bytes for response. Here we will learn how to use size assertion in your jmeter software load test plan to assert size of response.

XPath Assertion is useful to assert the page element's xpath. You can learn more about XPath and how to find it guide on THIS PAGE. Earlier we learnt different assertions of jmeter to use them in software load test plan so i think now you are well aware about assertion. Let's learn XPath assertion with example to know how to use it in your practical software load test plan using jmeter.

Duration assertion is used to assert the response time of request in jmeter software load test plan. It will assert that response of request is received within given amount of time or not. If response of request is received in given amount of time then it will be pass and if it exceeds given amount of time then it will be fail. Let's learn how to use duration assertion in jmeter software load test plan.

Earlier we learnt how to use response assertion in your jmeter software load test to assert response code of request in my previous post. So now you already aware about how response assertion works. Here we will see example on how to use response assertion in your software load test to assert response message.

Response assertion in jmeter is most important element as it helps you to assert the response of request in your software load test plan. It will show request result failed if response of request is not as expected and show pass if response of request is as expected. So you can verify your software load test result using the response assertion. In this section, We will learn how to assert response code of request using response assertion.