I have a login scenario to be tested for 10000 users, which contains phone# as input and have given in csv file. Im able to perform load testing for 10000 users and able to show the report with total samples, throughput etc post exporting to a file. However issue is customer wants proof that we are giving input as 10000 users and not using loop eg(500 threads * 2 loops). Kindly help with suggestions if we have any option to show that we are using 10000 unique users.
There is a listener called Active Threads Over Time (can be installed using JMeter Plugins Manager) which shows how many users were active during this or that phase of the test
jmeter.log file contains information how many threads were started for this or that Thread Group
.jtl results file contains number of active threads, both overall and in the current Thread Group
HTML Reporting Dashboard contains the Threads Over Time chart
Related
In my test plan I have 5 Thread groups with following number of users for 1HR,
Bulk Upload - 250 User
Log Analyzer - 50 User
Library - 10 User
CSV File Processer - 5 User
XLS File Processer - 5 User
For a particular execution I want to follow the following pattern,
Objective :
Want to execute this for 2HR (this is easy which I changed in the duration)
After every 20-30 min I want to increase the load to 10-20%
means after 30 min (example) the total user for Bulk Upload will became 275 User (if it is 10%) and similar for others and going to execute for 30 min.
And after 1HR of test Bulk Upload will became 302 User and similar for others and going to execute for 30 min.
Is there any way we can do this in JMeter in the same script during the execution.
you can achieve this by using a Ultimate thread group with the following settings.
The easiest is to just increase the total number of threads to 40-80% and amend the ramp-up period accordingly.
Alternatively you can consider using i.e. Concurrency Thread Group or Ultimate Thread Group where you can flexibly specify users arrival rate, something like:
These thread groups can be installed as a part of Custom Thread Groups bundle using JMeter Plugins Manager
I am new to jmeter and I have couple of questions. Can someone help me out
I am using master-slave architecture ( master and 4 slaves) for 4000 user load, In which machine will I get the consolidated results for the complete load.
I have configured the summary report for results, but how can we get the report only for required transactions and not all from end to end].
It's not exactly what you are looking for, but one option is to generate the HTML report that will be configured to include the transactions of interest. This is done by updating the user.properties file for the following properties:
# This property is used by menu item "Export transactions for report"
# It is used to select which transactions by default will be exported
#jmeter.reportgenerator.exported_transactions_pattern=[a-zA-Z0-9_\\-{}\\$\\.]*[-_][0-9]*
You can use the Transaction ControllerTransaction Controller to get consolidated time taken by the nested elements. Add a Transaction Controller as a parent element and set the flag Generate Parent Sample to get the overall time without the details of the nested elements.
By default JMeter stores all Samplers execution metrics into the .jtl results file
If you're not interested in some of the results you can remove them using Filter Results Tool (doesn't come with JMeter, needs to be installed using JMeter Plugins Manager)
I have a web page which contains many filters and some as drop-down options. For example, Filter called (Time Range-- with options Last 24 hours, All, Last 7 Days).
The web page supposes to open by 100 users at the same time and select one option from the Time Range drop-down).
Kindly let me know how to find the duration by 100 users at the same time and select one option from the Time Range drop-down).
Thanks in Advance.
JMeter automatically measures response time for each sampler, if you want to have the total time - open .jtl results file using LibreOffice Calc or Microsoft Excel or equivalent and sum up all the response times for all 100 samplers
In order to guarantee the desired concurrency add a Synchronizing Timer as a child of the request and set Number of Simultaneous Users to Group by to 100
Add View results table Listener to the suite to check the duration and Start time of each thread and connect time of each thread.
As I understood you want to check the load of 100 concurrent users clicking the filter , so the login process and its load should not interfere the load testing of users clicking the filter button. Hence, As mentioned in above comment, you can use Synchronizing Timer as child f the requests. What it does is, it is synchronized with the login requests and wait for the response of all the 100 users getting logged in. Once all the 100 users are logged in, Synchronizing Timer play its role by sending (clicking) requests at the same time same second. Cant ensure same milliseconds. There might be small difference in milliseconds, which you can see in View results table (start time).
I have created a test script with the below scenarios and having thread group count as 100 and ran it for 10 minutes.
Employee Creation took 1 minute during the test script design
Update Employee took 2 minutes during the test script design
In the above mentioned scenario how many concurrent users will be on the system for 10 minutes?
I don't think there is a formula to predict or calculate concurrency as we don't know the number of samplers, response time, etc. so go for one of the following options:
Generate HTML Reporting Dashboard and look into Active Threads Over Time chart - it will show you the actual concurrency.
If you don't want or can not generate the dashboard you can achieve the same using Active Threads Over Time Listener which can be installed using JMeter Plugins Manager as a part of 3 Basic Graphs bundle.
out of 50 users 10 users should perform one activity and 5 users should perform another and soon. I distributed the users for different activities.
the scenarios as follows:
Activity
Full text search 10 users
Key word Search 3 users
wild card search 3 users
logical operator search 4 users
Enable 5 users
Disable 5 users
View Config 5 users
View Log history 5 users
View Graph 5 users
View Alerts 5 users
Total users 50 users
can any please help me for this
Thanks in advace
You could use CSV Data Set Config. For each thread, one line from a csv file is read and stored in jmeter variables. The threads then can branch depending on the values.
Take a look into the following Test Elements:
Throughput Controller - to distribute requests between keyword search, wildcard search, etc.
Constant Throughput Timer - to set exact load of 50 requests per second (you'll need to put "3000" in "Target throughput" input field.
I'd create a ThreadGroup for every type of activity required by the test. If you need custom input data, you can use CSV data to configured outside jmeter for each test.
This way you have all the operations under the same script and just play to execute them.