Jmeter
Apache Jmeter is java application designed to load test the application. You can use Jmeter to test how much load your Web site can handle. In this tutorial we will explain you how to download install and use Jmeter.
What is Jmeter?
As the name indicates Jmeter is one of the Java tools which is used to load testing client/server applications. Earlier it was used for testing Web Applications only however now-a-days its being used for other test functions. It is typically used to measure performance and to load test functional behavior of client-server applications. It can also handle FTP and JDBC requests. You must be aware of such other tools like WinRunner. You will be glad to know that as compared to WinRunner, Jmeter is easy to use due to its simple and intuitive GUI. Moreover its absolutely free and can be modified at ease as its an open source.
The important functionalities of Jmeter is that a heavy load on a server can be stimulated by using it, not on a server but also a heavy load on a network or object to test its strength under different load types. A graphical analysis of performance can also be done by using Jmeter or the behaviour of your server/script/object can also be tested under heavy concurrent load.
Using JmeterLets see how to run JMeter now. We will conduct a simple test to set up a test plan and stress test a Web application. Before proceeding with the test we need to have a test plan first which will help the Jmeter to perform the testing in steps.
Running Load TestYou can also view the graph for your test after running it. For this go to Thread group -> Add -> Listener -> Graph results as shown in the picture below.
Enhancing Test Plan?As you have seen we have added some basic elements to the Test Plan like Sampler and some listeners. Similarly you can add many other elements in your Test Plan as shown under Group heading.
Running Test PlanTo run the test plan you can go to Run menu -> Run or press ctrl + r. To indicate that the test is running a green square lits up in the upper-right-hand corner.
For QTP Scripts & Documents Visit: www.gcreddy.com
1
For Software Testing Documents visit: ww.gcreddy.net
Presentation Transcript
Your Facebook Friends on WizIQ