Pages

Basic concepts of JMETER

- JMeter is an open-source tool, implemented in JAVA for performance testing.
- The Performance of many type of systems could be tested using JMeter.
- Some of the systems may be, Web-servers, Database-servers, Email-servers, web-services, Java-objects, Unit-tests etc.

What is performance testing.?
- Performance testing is something, such that you check how much time a system is taking to respond or do some activity.
- For example. You are moving your web application from one server to another. You might want to compare the response time, latency, Number of Users VS Response time of the servers to determine which one is better.
- There are other commercial applications also, which provide much more flexibility in performance testing, but if you want Free, Open-source tool, JMeter is the tool.
- JMeter is mainly targeted for Regression testing(Navigating to pages) but you could also measure functional activities(submitting forms, logging-in, ...) to some extent.

Approach
- You add different objects to JMeter, like ThreadGroup(configure number of users), HTTPSamplers(http-request), Listeners(to view request response data), if-controllers(to check a logic or a value), XPath-Extractors, Regular-Expression Extractors(to extract particular data from pages or response data) etc.
- You create a test plan by arranging components, then execute the plan. JMeter will perform requests, capture the responses, and show you the statistics about the time for request and responses.
- You could also use JMeter in proxy mode to capture the request responses and ease your work.

5 comments:

If you like to say anything (good/bad), Please do not hesitate...