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
22
votes
11 answers

JMeter OutOfMemoryError

I am facing below OutOfMemor errors, and JMeter stops working.... java.lang.OutOfMemoryError: Java heap space Dumping heap to java_pid4412.hprof ... Heap dump file created [591747609 bytes in 71.244 secs] Exception in thread…
james
  • 221
  • 1
  • 2
  • 3
22
votes
6 answers

How to verify JSON Response in JMeter?

Is anyway to verify JSON Response got from RestFul API in JMeter? I am getting below response: {"workingfrom":[{"id":1234,"type":"office","name":"N1"},{"id":5678,"type":"home","name":"N2"}]}
Anand Somani
  • 801
  • 1
  • 6
  • 15
21
votes
1 answer

How to simulate requests per minute in JMeter

I need to simulate 'n' number of request per minute. I am load testing 5 different webservices each of which should be simulated with different 'n' requests per minute. Which is the best way?. Do I have to use timers?. Can I attach a timer to a…
Bala
  • 11,068
  • 19
  • 67
  • 120
21
votes
5 answers

How to measure CPU and memory during load test

We are using JMeter in a heterogeneous environment and we would like to measure CPU and memory while we are producing heavy load on a server where our service or web application is running. What would you recommend to use? Is there any software…
Thomas
  • 8,357
  • 15
  • 45
  • 81
21
votes
4 answers

How to save response in a variable in jmeter

I am performing load testing on my server using jmeter. In one of my post requests, I receive a unique id in the response. I need to send this id as a parameter in the following post requests. I am new to jmeter and don't have any idea how to do…
Sid
  • 435
  • 4
  • 9
  • 19
21
votes
5 answers

Non HTTP response message: The target server failed to respond: Is my server failing to handle load

I have a prepared a jmx file using jmeter & ran that test case on blazemeter to test load on my server. After the test is done, I can see that one of my services are failing. Though not all the time, but some times. And in the error tab on…
Yeasin Hossain
  • 769
  • 2
  • 6
  • 23
21
votes
2 answers

JMeter Proxy exclusion patterns still being recorded

I am using JMeter to record traffic in my browser. In my URL Patterns to Exclude are: .*\.jpg, .*\.js, .*\.png Which looks like they should block these patterns (I've even tested it with a regex tester here) Yet, I still see plenty of these files…
Niko
  • 4,158
  • 9
  • 46
  • 85
21
votes
3 answers

JMeter Append Random Number to Form Field

I am load testing a registration form on my internal website and it has one field which must be unique (email address). I'm using JMeter (following this tutorial). I have a HTTP Request under the Recording Controller in a Thread Group in my test…
David
  • 1,097
  • 5
  • 20
  • 34
20
votes
9 answers

Sharing cookie values between thread groups in JMeter

I have the following setup: Thread A - Http Cookie Manager - Login Page Thread B - Http Cookie Manager - Page to hit - Another page to hit I've been trying to get the cookie that is set in the Login Page to a global property and then set…
Clarence Klopfstein
  • 4,682
  • 10
  • 33
  • 47
20
votes
5 answers

Write extracted data to a file using jmeter

I am using JMeter v2.5. I need to get data from the responses of the test and extract data from it (which I am doing using regular exp extractor). How do I store this extracted data to a file?
Jigish Chawda
  • 2,148
  • 1
  • 22
  • 29
20
votes
2 answers

What is different between props and vars object in JMeter

Im new in load and performance testing so could anyone explain me, what is difference between vars object and props object in JMeter beanshell script. Im also bit confuse about JMeter variable and properties. Thanks.
Sarang
  • 669
  • 1
  • 7
  • 12
19
votes
2 answers

JMeter Warning: Nashorn engine is planned to be removed from a future JDK release

When I run JMeter 5.1.1 recently downloaded, I see many times in terminal window: Warning: Nashorn engine is planned to be removed from a future JDK release I've used web search and found JEP 335: Deprecate the Nashorn JavaScript…
Alex Martian
  • 3,423
  • 7
  • 36
  • 71
19
votes
1 answer

JMeter GUI - Set default settings for exporting results to CSV file

How to set default settings in JMeter for exporting result to csv file? It keeps asking in pop up below Since JMeter 3.3
Muhammad Ali Khamis
  • 363
  • 1
  • 3
  • 11
19
votes
7 answers

How to parameterize Bearer token authorization in Jmeter

I have a jmeter login script where user logs in and logs out. The detailed screenshots are attached below. Request data is as attached: In the response date , the authorization token is generated: And the regular expression for the same is as…
dhairya
  • 375
  • 1
  • 4
  • 10
19
votes
4 answers

How to send 4000+ requests in exactly 1 second?

I have an HTTP GET request. I need to send the request to the application server for more than 4000 times exactly in 1 second. I'm sending these requests using JMeter. I have taken ethereal traces every time for each test using a sniffer tool…
Masud Jahan
  • 3,418
  • 2
  • 22
  • 35