Skip to main content

Multiple Users Login with JMeter

As i explained in my last post, we discussed about the Thread Group and we discuss about the different properties of the Thread Group. In this post we will understand how we will put load with multiple users and how we get the report of the multiple user request in different type of report format with the help of Listeners.

First add Non - Test Element ( we discussed in out last post)

Right Click on Test Plan -> Mouse hover on Add - > Mouse hover on Non Test Elements -> Select HTTP(S) Test script Recorder

Then Add Thread Group ( we discussed in out last post)

Right Click on Test Plan -> Mouse hover on Add -> Mouse hover on Threads (Users) -> Click on Thread Group

Now transfer the test script into the Thread Group from the HTTP(S) Test script Recorder by simply cut and paste windows shortcuts.



Thread Group, Virtual Users, Users, N Number of Users, Load Testing, JMeter, Performance Testing

Here i set 50 Virtual users hit the server in 10 seconds( Ramp - Up Period) means in 10th second all 50 user will hit the server

Now i need to get the output so i need to add Listener also in my test script. There are multiple type of listeners but for now i am adding only 3 which are most important to understand output. We need to add Listener in the Thread group so that that can listen the output. 


Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on View Result Tree

Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on Aggregate Report

Right Click on Thread Group -> Mouse hover on Add -> Mouse hover on Listeners -> Click on Graph Results



Listeners, Thread Group, Virtual Users, Users, N Number of Users, Load Testing, JMeter, Performance Testing

Now i will click on run button to play back the recorded script


Listeners, Thread Group, Virtual Users, Users, N Number of Users, Load Testing, JMeter, Performance Testing

You can see result in all Listeners. we will discuss about these out in my next post.



Comments

Popular posts from this blog

How to Put Load on a Script in JMeter

In last post we discussed about how to record a test script and Firefox settings to run the script. In this post we will discuss about how the Thread Group will work, how can we put n number of users to perform load testing, In JMeter by using Thread Group, we can create virtual users. Thread Group is a set of thread which work in same scenario. There are multiple thread group are available which is use to configure how the virtual users interest with the application, How much load maintain and till how much time load maintain.

How to take the Screenshot in Selenium WebDriver?

If we want to take the screenshot then we have to convert our WebDriver object into the screenshot object. we need to change the behavior of the drive to take the screenshot . We can do it by casting

JMeter Overview Description

In this article we will go through the multiple section of JMeter and describe the tool information. we will discuss about every component of JMeter tool in this Article so that you can hands on while working on script on JMeter about these components.