Software Testing is evaluation of the software against requirements gathered from users and system specifications. Testing is conducted at the phase level in software development life cycle.
August 26, 2020
Assertions in Jmeter
Assertions in very simple words is check on response.
we test the format of response and time took to the response . All these checks are called Assertions.
There are lots of assertions in JMeter -
1. Response Assertion- The response assertion lets you add pattern strings to be compared against various fields of the server response. We can check response code 200 then it should pass .
2. Duration Assertion- The Duration Assertion tests that each server response was received within a given amount of time. you see duration in milliseconds . Just compare with response.
3.Size Assertion- The Size Assertion tests that each server response contains the expected number of byte in it. You can specify that the size be equal to, greater than, less than, or not equal to a given number of bytes. Size comes in bytes.
4. HTML Assertion- We are checking the format of response .Is it html format or not? we can provide error Threshold and Warning threshold in our HTML assertion. We can log the errors in a file .It is useful if web application has third party app and they have to talk to each other , these issues can be resolved .
5. XML Assertion- IT is a check on Xml format.
6. XPath Assertion- It is useful with API . We can assert some xpath.
Subscribe to:
Post Comments (Atom)
Key concepts in Pipeline
1. Agent- To build your code or deploy your software using azure pipelines, you need at least one agent. Two types of agent- Microsoft host...
-
Author- Who creates the work product and fix the defects Management- Review planning, defining scope, selecting people, checking entry an...
-
There are different components of JMeter are called Elements that serve their own purpose. Thread Group- Thread Groups is a collection of T...
-
Review types -- Informal Review -Generating new ideas or solutions, quickly solving minor problems Walk through - Exchanging ideas about t...
No comments:
Post a Comment
Please let me know if you have any doubts.