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
29
votes
2 answers

JMeter mathematical function

I have one random variable and one variable which I read from page. How can I subtract or multiply that two variables and where or in which component in JMeter.
Ballon
  • 6,882
  • 18
  • 49
  • 63
28
votes
4 answers

Use request value from list of values in JMeter

I'm sure I've already done this in the past but somehow I cannot figure out how ;-) So, here's my problem: I'm trying to create a JUnit test plan in which a HTTP request is modified each iteration by altering a specific parameter. So, for example…
Christian Seifert
  • 2,780
  • 5
  • 29
  • 45
28
votes
9 answers

JMeter "if controller" with parameters?

I was reading the JMeter documentation and came across this info box about "If Controllers": No variables are made available to the script when the condition is interpreted as Javascript. If you need access to such variables, then select "Interpret…
Ben Flynn
  • 18,524
  • 20
  • 97
  • 142
28
votes
2 answers

How to parse Jmeter response and make a new request

I'm using jMeter to test a Tomcat application. I need to parse the jMeter response and make a second request. The first response looks like this:
Simon Wang
  • 2,235
  • 7
  • 36
  • 48
27
votes
5 answers

Message is not printing on the console in jmeter using JSR223 and groovy

println() inside static void main method is not printing anything anywhere, whereas only println() prints in terminal. Here is my code: class CalcMain { static void main(def args) throws Exception { ScriptEngineManager factory = new…
Pratik
  • 952
  • 2
  • 16
  • 31
26
votes
4 answers

Variables in httprequest post body

I'm trying to generate a jmeter script where a unique folder is created each time the script is run - adding a variable of some sort to the folder name, such as a username+timestamp, should be enough to guarantee uniqueness. However, jmeter is not…
user2237424
  • 311
  • 1
  • 3
  • 5
25
votes
6 answers

JMeter Loop Count

I want to run a JMeter test with a number of concurrent threads with each thread sending a request every 10 seconds. These are my thread properties. Number of Threads: 10 Ramp-Up Period: 10 Loop Count: 1 Result: 10 requests divided over 10 seconds,…
user1187636
  • 251
  • 1
  • 3
  • 3
25
votes
2 answers

JMETER a ${__RandomString function that is used for creating email addresses

I have tried: ${__ RandomString (qwerty,"@",".com") } but it is not fine. I wonder how can I create this type of random email addresses? I haven't added anything in the Random Variable because I am not sure that I need to use it.
godRA66
  • 357
  • 1
  • 3
  • 7
25
votes
2 answers

In Jmeter, What would be syntax of parameters in Body Data section of HTTP Request Sampler, if I am using Rest APIs and taking input from CSV files?

I am trying to create 10 users at the same time in Jmeter, using REST APIs. Test Data i.e. input is taken from CSV files (The details of users like user name, last name , mobile) For this I have added one thread group,User Defined Variable,HTTP…
abhishek
  • 325
  • 1
  • 9
  • 19
25
votes
2 answers

How to let jMeter http request sampler generate parameters?

Is there a way to generate random parameter values in jMeter http request sampler or any other sampler?
Rasalom
  • 3,101
  • 3
  • 21
  • 29
24
votes
5 answers

How to save JMeter Aggregate Report results to a CSV file using command prompt?

I have been using JMeter in GUI mode for composing all the test cases required for load testing my service but for actual testing I need to execute tests in non-GUI mode. How do I save the results of Aggregate report in csv file using…
Harshdeep
  • 5,614
  • 10
  • 37
  • 45
24
votes
1 answer

Cannot insert any body in the HTTP request

When I try to enter anything in the body of HTTP Request, when I click anything else, I get: You cannot switch because data cannot be converted to Target tab data, empty data to switch What is that ? I am running Windows 10.
Jerzy Gruszka
  • 1,629
  • 4
  • 15
  • 20
24
votes
5 answers

How to create Summary and Aggregate reports from a .jtl file?

I am running a JMeter Performance test in non-GUI mode. I get the results in .jtl file. Is there a quick and easy way to produce Summary and Aggregate reports from this file?
Archana Aggarwal
  • 904
  • 1
  • 8
  • 6
23
votes
1 answer

How to perform load testing for website using JMeter

I want to create a script in JMeter that simulates e.g. 100 users accessing our site over a period of 3-4 minutes. We need to test whether our application can allow 25.000 users/day - that is 1.100 per hour. For that i have made this Jmeter…
junaidp
  • 10,801
  • 29
  • 89
  • 137
22
votes
4 answers

Jmeter. BeanShell PostProcessor

I have gone through the bean shell scripting in jmeter but i did not find any example of that, how it is useful in jmeter and which way.means reading the sampler values etc. Can any one explain bean shell scripting in Jmeter with…
zeus.atr
  • 337
  • 1
  • 2
  • 7