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
38
votes
3 answers

java.lang.NoClassDefFoundError: Could not initialize class org.apache.jmeter.gui.util.MenuFactory

when i open apache-jmeter-3.1 and right click the test-plan button,it turns out to be no response and throws lists of errors in the jmeter.log as follows 2016/12/17 16:24:30 ERROR - jmeter.JMeter: Uncaught exception: java.lang.NoClassDefFoundError:…
User.Super
  • 383
  • 1
  • 3
  • 6
37
votes
7 answers

Jmeter - get current date and time

I want to get the current date and time as example date: 11/10/2014 and time 8:30 am or 6:00 pm and pass it as parameters to my Jmeter test. Can some help me do this.
user3920295
  • 889
  • 2
  • 13
  • 31
37
votes
3 answers

JMeter upload file with relative path from the jmx file

I am creating a HTTP Request Sampler in JMeter to automate uploading file to a http service. Is there a way to set the "File Path" in the "Send Files With the Request" to a relative path from the location of the jmx file?
Eatdoku
  • 6,569
  • 13
  • 63
  • 98
37
votes
1 answer

JMeter - Changing user defined variables from command line

I'm trying to update a "user defined variable" in a jmeter test plan using the command line jmeter -n -t SimpleJmxExample.jmx -l log.jtl -Jtestproperty=202 as you can see I'm using the -J argument. However it doesn't seem to make any difference?…
CraftyFella
  • 7,520
  • 7
  • 47
  • 61
35
votes
3 answers

Setting up JMeter for Distributed testing in AWS with connectivity issues

I have to do distributed testing using JMeter. The objective is to have multiple remote servers in AWS controlled by one local server send a file download request to another server in AWS. How can I set up the different servers in AWS? How can I…
null
  • 7,432
  • 4
  • 26
  • 28
34
votes
6 answers

How do threads and number of iterations impact test and what is JMeter’s max. thread limit

Would you please tell me the max limit of no. of threads that i can use in JMeter 2.4 for conducting a load test? Is there any difference in taking all threads in a single loop or by taking less no. of threads and initialize loop to achieve same…
Parvez
  • 419
  • 1
  • 6
  • 11
34
votes
1 answer

How to get JMeter to request gzipped content?

My website serves gzipped content. I verified with Firebug and YSlow. However, JMeter does not request the gzipped content. Therefore, it gets all uncompressed content. As a result, my test cases take much longer (6-10x longer) than they do in…
Bill Paetzke
  • 13,332
  • 6
  • 44
  • 46
33
votes
1 answer

jMeter loop through all values in CSV

I am trying to do some test with jMeter. I have CSV file with the urls and want to iterate over all of them and make HTTP Request. I have achieved that by typing exact number of urls in the ThreadGroup in Loop Count field. Is there any possibility…
firen
  • 1,384
  • 2
  • 14
  • 32
33
votes
6 answers

JMeter - Loopback address error when launching jmeter-server on Linux

I'm trying to set up a distributed load testing environment using JMeter. I need to set up the remote clients using something portable like a Linux Live CD, but whenever I attempt to launch jmeter-server in Linux, I receive the following…
Syndog
  • 1,531
  • 4
  • 19
  • 27
33
votes
3 answers

JMeter latency vs load time(sample time)

I was running a test on my HTTP server and the transfer speed went really slow when I switched the server from localhost(used a laptop) to a AWS EC2 t.micro server. I want to know the difference between latency and load time(or sample time) when…
Jee Seok Yoon
  • 4,716
  • 9
  • 32
  • 47
32
votes
4 answers

JMeter how to NOT fail 500 Internal Server Errors

I am using JMeter as a unit test tool, in parameterised calls where I expect some of the responses to be 500 internal server errors. I am using BeanShell Assertions to check the responses. I want some of the 500 internal server errors to NOT be…
Gazen Ganados
  • 665
  • 1
  • 7
  • 17
32
votes
2 answers

Configuring response timeout in Apache JMeter

I am trying to check if a particular HTTP request's response time is over 30 seconds, and if it is, then mark it as failed and stop the thread. Sometimes I can see response times close to 80 seconds, an no browser is waiting that long for a response…
32
votes
5 answers

How to use jmeter ui on ultra high resolution display

The jmeter UI on windows 8 with a 3200X1800 Lenovo Laptop is unusable. Fonts on the far left pane are toooo small and on the right side the line spacing is too small for the fonts. If I change my resolution to 1920X1080, it has no effect. tried…
user3911406
  • 321
  • 1
  • 3
  • 3
31
votes
5 answers

Running Selenium scripts with JMeter

I have Selenium automation scripts ready with functional flow, now I want to integrate those scripts with JMeter for load-testing. Is that possible? If so how to integrate both? My first aim is to run the automation script using selenium than run…
Rahul Mendiratta
  • 615
  • 1
  • 6
  • 14
30
votes
6 answers

How do I generate a Dashboard Report in jmeter?

I am running jmeter2.12 on Fedora. What are the steps to generate a Dashboard Report?
Vairamuthu
  • 528
  • 4
  • 11
  • 20