In jmeter how to add custom percentage line through command line - jmeter

In jmeter how to add custom percentage line like 90%, 95%, 80% etc fields in aggregate report currently only 90% comes.

the above properties should be added to reportgenerator.properties and user.properties files not to jmeter.properties

As i can find that aggregate report will have 90%,95% and 99% , by default. Please check with version of Apache_jmeter2.13 updated and see.
2. If you are looking for output results to save just click on save Table Data , which will save all data records as it is displaying after script stop threads.

Defaults are 90, 95 and 99%. You can change these values in jmeter.properties file. It has separate section that contains appropriate parameters:
aggregate_rpt_pct1=90
aggregate_rpt_pct2=95
aggregate_rpt_pct3=99

Related

Jmeter how to generate threads as per number of columns in a csv file and each thread should pick up data from multiple rows of a specific columns

We are trying to establish no of threads depending on the number of columns present in a csv file, and each thread should pick up data from respective rows of those columns.
can someone help us out in achieving the same.
So from the attached screenshot we would want 6 threads to be established and thread1 should be posting data under user1 itself, thread2 from user2 and so on.
To achieve this you can use CSV Data Set Config
How to set CSV Data Set Config?
Right Click on thread group
Navigate to Add > Config element
Click on CSV Data Set Config
Create one csv or txt file and CSV Data set config as per below attached screenshot.
Whenever you want to user your values, just provide ${user1}, ${user2} and so on.
For more details you can refer CSV Data Set Config from user manual.

Skip some columns from JMeter-jtl output file

Till now, I've used JMeter 3.x versions to execute my SQLs.
Recently I've moved to JMeter 4.0. It's returning jtl with some additional columns like [datatype, sentBytes and grpThreads].
I'm loading the jtl to DB and I don't want to change the schema so I want to remove those additional columns in jtl file.
Is there any way to mute the additional columns to return in jtl file ?
In user.properties you can add the following properties that control datatype, sentBytes and grpThreads:
jmeter.save.saveservice.sent_bytes=false
jmeter.save.saveservice.data_type=false
jmeter.save.saveservice.thread_counts=false
In Configuration of a Listener (as View Results Tree)
Uncheck Save Data Type, Save sent byte count and Save Active Thread Counts

Use next CSV file when all values used

I have 10 CSV files with usernames with 1 million records each. Ideally I want to use an unique value for every thread and when all values from the first CSV file have been used, it should start using the values from the second CSV file, and so on.
Adding multiple CSV Data Set Config elements is no problem and it is easy to add them to a If or While controller. But what can be the trigger to go to the next file?
As an alternative, I use multiple If controller with e.g. ${__eval(${__threadNum})} < 1000 and ${__eval(${__threadNum})} > 1000 and ${__eval(${__threadNum})} < 2000 to make sure the users read from different CSV files, but this is a bit cumbersome when the number of users change often, because you need to change the if conditions accordingly.
Perhaps you should consider switching to __CSVRead() function which is capable of fetching data from multiple CSV files. Optionally in conjunction with __counter() function if you need to switch files based on certain condition
See How to Use JMeter Functions post series for advanced information on aforementioned and more useful JMeter Functions.

Loop Controler in jmeter with multiple users

I have scenario,the steps mentioned below:-
Step#1. Login to the application
Step#2. Upload an excel file (It will display all the uploaded records in the page)
Step#3. Need to click on each record one by one(Assuming that each file has 10 records)
NOTE:- Need to exceute the above steps with multiple users.
I have created a test plan as below:-
1.Login
2.Upload file(With CSV config which has upload file info)
3.Loop control(iterates 10 times,with CSV config which has record details,for clicking)
3.1.click on record
The problem am facing is,when i execute the above testplan with 10 users ,at any point of time only 1 user is exceuting in the loop control.
Is there anything am missing here..
regards.
Could you be more clear in regards to expected results and share your CSV Data Set Config details? I'm particularly interested in Sharing Mode setting.
As per Using CSV DATA SET CONFIG guide
It is worth mentioning that every CSV Data Set Config is visible to all Thread Groups by default. If you need to use separate CSV Data Set Config for every Thread, you create a number of data files that you need and in every CSV Data Set Config set “Sharing mode” to “Current Thread”

How to Dump jmeter summary report to a file

In Jmeter, when I set the file name in the Filename text box, configure the results and run the tests, I see that the file does not have Min, Max, Avg Reponse Times, which are displayed in the summary report.
How can be these values added to report in Jmeter?
Or is there any plug-in which I can use to do that?
I believe JMeterPluginsCMD at http://code.google.com/p/jmeter-plugins/wiki/JMeterPluginsCMD can save Aggregate reports that contain all the data you see in the UI (like min/max/avg). It only saves in CSV, afaik

Resources