Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Apache JMeter

Apache JMeter


Apache JMeter may be used to test performance both on static and dynamic resources, Web dynamic applications. It can be used to simulate a heavy load on a server, group of servers, network or object to test its strength or to analyze overall performance under different load types.

How JMeter Works:
The working mechanism of the apache jmeter and how we use it is simple and less time consuming, all we need to know how to use it. For using this tool, all we have to need java to be installed on our system and apache jmeter.

After entering the jmeter, we need to create the test plan first and rename it 


Then inside that test plan, we need to add the two config elements viz. Http cache manager and Http cookie manager

Then all you need to add the thread group which actually defines and asks you the number of threads (users) with ramp up period. For illustration, if you set the thread as 100 and ramp up period as 4 then it meant 100 users are visiting and each user visits at every 4 second of interval.

Inside that thread group, now http request as sampler which is the key part of the tool and here you can insert the URL along parameters like login details and others as per need.  You can also rename this like homepage, art page etc.

Similarly you can create the number of http request for vivid pages of application.
Now all you need to add is listeners, listeners are actually produce the result on vivid formats such as graphs, trees, aggregate reports and others. Its up to you that which you need and you can select more than one listener. So add listener inside threat group only


After this you need to save the test plan and then run the plan.
You can see the result in the form of graph like this:


Apart from this graph, you can also produce the result in html format by running some commands on cmd.




This post first appeared on Jasdhir's, please read the originial post: here

Share the post

Apache JMeter

×

Subscribe to Jasdhir's

Get updates delivered right to your inbox!

Thank you for your subscription

×