Basics of JMeter

From my recent posts on load testing, we somehow have gained some knowledge on the same. Now its time to perform load testing using a tool.

Now you all must be having one definite question pop in your mind – why tool ? Why not manually ?

Yes! Manual testing is possible.

For this we need to open many active sessions of the application in different tabs or different browsers. Generally we can check the number of DB connections active and open, number of threads running, active sessions, the amount of the CPU time and memory being consumed etc. The test can be performed manually we have very less load. But in case of heavy load, it becomes really impossible. If we plan to do it manually we will be requiring huge amount of man power resources , hardware requirements. So why to spend so much of money and man power in situation where the result will be not totally accurate instead take the help of tool. Moreover when human themselves gives commands or performs testing, there may be some time gap which will lead to not so accurate result.

So we will go for automation for bulky websites.

There are variety of automation load testing tools available in the market- both in free and paid versions. From the lot, I have picked JMeter.

Now lets understand the basics of JMeter.

JMeter is usually called as Apache JMeter as it is a Apache product designed to perform performance testing.JMeter is an open source desktop Java application that is designed to load test and measure performance which is otherwise the reason behind the name.It helps in analyzing the overall system performance under different load types. It is a freely available tool and easy to use.Using JMeter we can test load test web applications, databases, web pages and static and dynamic resources as well. As it is total java based application so is compatible in any OS which has java 6 or more.

JMeter application is done which imitates browser look but it is not! JMeter donot perform the actions and features of a browser like it cannot execute js found in html files.When JMeter was first introduced, it was meant for load testing then gradually expanded its features for functional tests as well.

Now comes the installation, JMeter installation procedure is very easy.It has a graphical user interface for creating the test plans by using different elements.There are a variety of components of JMeter that we should know before we get started like test plan, thread group,sampler,assertions,logic controller,listeners etc.

Wohoo! Sounds interesting 🙂

So visitors! in my upcoming blogs we will check the installation explore on getting started with JMeter.


One thought on “Basics of JMeter

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s