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
187
votes
13 answers

How do I install jmeter on a Mac?

We want to use JMeter. I've downloaded the production version as directed in the user manual at http://jmeter.apache.org/usermanual/get-started.html But how do I get started and install the software? I don't know java and I can't find any…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
126
votes
4 answers

How to send request with content type header?

How can we change content type in request header of HTTP request for restful web services? From where do we exactly change it?
Thonas1601
  • 1,347
  • 2
  • 9
  • 11
79
votes
6 answers

Jmeter alternative

I'm looking for a freeware / simpler alternative to JMeter. It is a very complete yet complex tool and all I need is to simulate a number of simultaneous calls to a site, grab stats about performance (time to the response) and see how many…
pistacchio
  • 56,889
  • 107
  • 278
  • 420
77
votes
6 answers

Testing with JMeter: how to run N requests per second

I need to test if our system can perform N requests per second. Technically, it's 2 requests to one API, 2 requests to another, and 6 requests to third one. But the important thing that they should happen simultaneously - so 10 requests per…
alexeypro
  • 3,633
  • 7
  • 36
  • 49
68
votes
6 answers

Running multiple Thread Groups sequentially in JMeter

I have a Test plan in which there are multiple Thread Groups. I want to run all of the Thread Groups sequentially. Thread Groups are as below: Thread Group1 Thread Group2 Thread Group3 . . . Thread GroupN I've read in different blogs and articles…
Just_another_developer
  • 5,737
  • 12
  • 50
  • 83
67
votes
3 answers

How to insert delay between each requests in Jmeter

I wanted to execute a Test Plan as Below. Example : I wanted every http request should take delay of two minutes http_request_1, delay (2 minutes) http_request_2 All request are in same thread group
user3282573
  • 687
  • 1
  • 5
  • 9
65
votes
10 answers

How do I pass a variable from one Thread Group to another in JMeter

I have a JMeter test with 2 Thread Groups - the first is a single thread (which creates some inventory) and the second has multiple threads (which purchase all the inventory). I use BeanShell Assertions and XPath Extractors to parse the returned…
Todd R
  • 18,236
  • 8
  • 31
  • 39
62
votes
17 answers

Jmeter does not send JSON data in POST

I am trying to do a POST in jmeter with a json as the body data but I just get a 400 back. The URL I am sending to only accepts json. I have used the same curl in Postman and it worked just fine. I have tried putting the json in the parameters as a…
Justin Thompson
  • 631
  • 1
  • 5
  • 6
62
votes
5 answers

Using RestTemplate, how to send the request to a proxy first so I can use my junits with JMeter?

I have a web service running on my dev box implemented using Spring-MVC 3.0. I have various JUnits that test against that service using RestTemplate. What I would like to do is have JMeter pick up those JUnits REST requests when I run them. However,…
AHungerArtist
  • 9,332
  • 17
  • 73
  • 109
57
votes
5 answers

How to analyze a JMeter summary report?

I get the following result when I run a load test. Can any one help me to read the report? the number of thread = '500 ' ramp up period = '1' Sample = '500' Avg = '20917' min = '820' max = …
user3021346
  • 679
  • 1
  • 5
  • 4
57
votes
5 answers

JMeter - how to log the full request for a failed response?

i'm using JMeter command line to stress test our website api. Now, here's a sample result i'm getting back: Creating summariser Created the tree successfully using street_advisor.jmx Starting the test @ Sat Oct 03 15:22:59 PDT 2009…
Pure.Krome
  • 84,693
  • 113
  • 396
  • 647
55
votes
15 answers

How to resolve the error "Unable to access jarfile ApacheJMeter.jar errorlevel=1" while initiating Jmeter?

Download Jmeter and execute the batch file (Jmeter\apache-jmeter-2.6\bin\jmeter.bat). We get the error message in the console: Unable to access jarfile ApacheJMeter.jar errorlevel=1 Kindly help me to resolve the problem.
54
votes
11 answers

JMeter Basic Authentication

I am trying to imply the basic authentication process for a web service using JMeter. But everytime it throws out an error 401:Unauthorized. I tried using the HTTP Header manager to add a header Authorization and value to it. Still it does not work.…
Depy
  • 549
  • 1
  • 4
  • 5
53
votes
5 answers

Session/cookie management in Apache JMeter

We have a simple performance test flow in an application. We login Search based on some criteria repeat searches for different parameters. We are using Jmeter to do a performance testing. We need to have multiple threads running to test this in a…
Priyank
  • 14,231
  • 18
  • 78
  • 107
52
votes
7 answers

Conversion Error when opening JMX file from JMeter 2.7 in JMeter 2.11

I am trying to open a jmx file written with Apache JMeter 2.7 in the last release Apache JMeter 2.11. I am getting this errors log : 2014/09/10 09:29:44 INFO - jmeter.gui.action.Load: Loading file: C:\Temp\MEGA\Test_Anywhere_750 _Part3.jmx…
Sylvie CHABE
  • 589
  • 1
  • 5
  • 8
1
2 3
99 100