Questions tagged [jmeter]

Apache JMeter is an open source Java application, designed to load-test functional behavior and measure performance. Originally designed for testing Web Applications, it has since expanded to other test functions as well.

The Apache JMeter desktop application is open source software, a 100% pure Java application designed to load-test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

What can I do with it?

Apache JMeter may be used to test performance both on static and dynamic resources (files, Servlets, Perl scripts, Java Objects, Data Bases and Queries, FTP Servers and more). It can be used to simulate a heavy load on a server, network or object to test its strength or to analyze overall performance under different load types. You can use it to make a graphical analysis of performance or to test your server/script/object behavior under heavy concurrent load.

What does it do?

  • Can load and performance test many different server types:
    • Web (HTTP, HTTPS)
    • SOAP / REST
    • Database via JDBC
    • LDAP
    • JMS
    • Mail - SMTP(S), POP3(S) and IMAP(S)
    • Native commands or shell scripts
  • Complete portability and 100% Java purity.
  • Full multithreading framework allows concurrent sampling by many threads and simultaneous sampling of different functions by separate thread groups.
  • Careful GUI design allows faster operation and more precise timings.
  • Nice and Complete HTML report for in depth analysis of Load-Test results
  • Live results with Graphite Connector or InfluxdbBackendListenerClient
  • Caching and offline analysis/replaying of test results.
  • Highly Extensible:
    • Pluggable Samplers allow unlimited testing capabilities.
    • Several load statistics may be choosen with pluggable timers .
    • Data analysis and visualization plugins allow great extensibility as well as personalization.
    • Functions can be used to provide dynamic input to a test or provide data manipulation.
    • Scriptable Samplers (Apache Groovy is fully supported through JSR223 Test elements, as long as any other JSR223-compatible languages).

Official

Useful Links:

Related Tags

19057 questions
52
votes
9 answers

JMeter understanding ramp-up

This is the configuration of my test plan thread properties: Number of Threads (users): 100 Ramp-up Period (in seconds): 10 Loop Count : Forever Delay thread creation until needed: No Scheduler: No I ran the test overnight with the total duration…
Frank Smith
  • 1,717
  • 4
  • 18
  • 32
52
votes
7 answers

How to analyse JMeter result?

I am new in JMeter tool. Can anyone help me for the best way to analyse JMeter reports?
john
  • 521
  • 1
  • 4
  • 3
51
votes
2 answers

Workbench section not showing in apache jmeter

I am new to jmeter. I successfully installed jmeter into my windows machine. I opened "jmeter.bat" under apache-jmeter-4.0\bin. But the jmeter window is not showing the workbench section in the left panel. I have attached the screenshot below in the…
Aravinth
  • 686
  • 2
  • 8
  • 14
48
votes
3 answers

Which gets the measurements right, JMeter or Apache ab?

I started writing some basic tests in JMeter and was surprised that the measurements are so different from those from Apache ab. I have a gigabit LAN connecting an Intel i7 server running Nginx and an i5 test machine running JMeter or ab.…
Rick-777
  • 9,714
  • 5
  • 34
  • 50
47
votes
3 answers

How to clear the results in Aggregate Report's table in JMeter automatically when executing the same test plan again?

So after executing a test run, I have the Aggregate Report's table filled with the data of the test plan that just finished running. Now, when I execute the test plan again, the results are getting added to this data in the Aggregate Report's table,…
Srikanth
  • 11,780
  • 23
  • 72
  • 92
47
votes
2 answers

jmeter - showing the values of variables

My group does a lot of test automation with JM. Typically we have a properties file which has a bunch of variables defined. These in turn are mapped to "User Defined Variables" of which we have a number of different sets. These are in referenced…
wmitchell
  • 5,665
  • 10
  • 37
  • 62
44
votes
4 answers

Jmeter Current Thread Number?

I am using a Thread Group with Number Of Threads = 5 with an HTTP request. In the request I want to include a parameter with the value of the thread number, e.g., "pageno": ${threadno} I want to get the thread number like ${threadno}. How can I do…
Raju
  • 737
  • 2
  • 11
  • 21
44
votes
4 answers

jmeter pass command line variables into a jmx

I'm trying to automate some perf testing. I'd to pass server locations into a generic jmx from a Jenkins job. I'd like to be able to do something like: jmeter -n -t foo.jmx -JtestingIP=IP and have foo.jmx pick up testingIP. What is the proper…
GeorgeFabian
  • 461
  • 1
  • 4
  • 3
42
votes
3 answers

JMeter Alter HTTP Headers During Test

I'm attempting to test an HTTP service with JMeter. The HTTP service requires authentication through a simple bearer token mechanism. I'm trying to proceed as follows: POST authentication request Store token as a variable Set Authorization HTTP…
Bennett
  • 487
  • 1
  • 5
  • 7
41
votes
9 answers

Jmeter - Run .jmx file through command line and get the summary report in a excel

I am new to jmeter. I have the .jmx file containg all the required http samplers. I could run it throught the Jmeter UI using "Run-> Start" and view the result in the "Summary Report". I can then save the results to the .csv using "Save Table Data"…
user1788294
  • 1,823
  • 4
  • 24
  • 30
40
votes
9 answers

What is the highest number of threads that is reasonable to simultaneously run in Jmeter?

I want to use the highest possible number of threads (to use less computers) but without making the bottleneck to be in the client.
flybywire
  • 261,858
  • 191
  • 397
  • 503
39
votes
9 answers

Why am i not able to click on open icon in Jmeter?

Below is the error i get,while clicking on open icon: 2021-05-20 12:11:25,651 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main] java.lang.IllegalAccessError: class…
presty prajna
  • 390
  • 1
  • 3
  • 7
39
votes
5 answers

How to create and run Apache JMeter Test Scripts from a Java program?

I want to use the API provided by Apache JMeter to create and run test scripts from a Java program. I have understood the basics of ThreadGroup and Samplers. I can create those in my Java class by using the JMeter API. ThreadGroup threadGroup = new…
Alim Ul Gias
  • 6,351
  • 2
  • 28
  • 39
38
votes
9 answers

How do I save my Apache jMeter results to a CSV file?

I've created my jMeter test which make 20,000 HTTP requests. I've included the "View Results in Table" listener. After running the test, I would like to save the table results to a CSV file.
dacracot
  • 22,002
  • 26
  • 104
  • 152
38
votes
4 answers

multiple user logins in jmeter

I am using jmeter to test a php application. I need to create a different thread with a unique session for each user. Because in my application you can only have one login per user at a time so putting 100 times the same user I will not get to any…
Catalin Marin
  • 1,252
  • 1
  • 11
  • 18