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
3
votes
1 answer

Ant fails to build:"Compile failed; see the compiler error output for details."

I have the same problem as in this two questions: Ant compile failed Compile failed I've detected which line of code causes this issue. org.apache.jmeter.protocol.http.proxy.gui.ProxyControlGui proxyControlGui = new…
Dzmitry Kashlach
  • 404
  • 1
  • 5
  • 16
3
votes
3 answers

Adding javascript function to jMeter

I am trying to get a javascript function work with jMeter test plan. It is used to decode a string. function decode(str) { var strtodecrypt = str.split("-"); var msglength = strtodecrypt.length; decrypted_message = ""; for (var…
Ruchit Rami
  • 2,273
  • 4
  • 28
  • 53
3
votes
2 answers

Hash and encode variable before sending along with request

I'm trying to setup JMeter for connecting to a service which requires some hashing be done on some variables before I start and in-between requests. I've created a User Defined Variable that has the authentication info in plain text. Before the…
Mike LP
  • 671
  • 8
  • 13
3
votes
1 answer

Load Distribution Testing with Jmeter

I've successfully set up a test plan in Jmeter that can execute 500 threads and loop through a few http requests on a single machine and integrated with Hudson. So let's say I want to increase my threads to 6000. For starters I set up a few…
user1951677
  • 329
  • 1
  • 3
  • 11
3
votes
3 answers

How to configure JMeter Thread group for 1 million request in 10 seconds?

I want to run a Load test on my Production server to verify that the server can handle 1 million requests per 10 seconds using JMeter. How to configure JMeter Thread group for 1 million request in 10 seconds? How many client I need to do this test?…
Mahmudul Hasan
  • 73
  • 3
  • 11
3
votes
2 answers

How to set up a large amount of request data for a jMeter load test

I want to simulate a few hundred http request each with a different token and userId which I have in a database table. What's the best way of setting up a jMeter load test to do this?
blank
  • 17,852
  • 20
  • 105
  • 159
3
votes
2 answers

Jmeter remote run and CSV files

I have JMeter (2.8) tests which are working perfectly when run locally and fail when run remotely. The only difference how I run those is -r switch (or -R ), all other parameters are exactly same. Test are failing in remote mode…
Marek R
  • 32,568
  • 6
  • 55
  • 140
3
votes
2 answers

Data Driven Testing for a database web application

I have a database web application and I need to see all the possible inputs and all the possible outputs of this application (using Selenium or Jmeter). Actually I tried to understand how the "Input Coverage Method" works in software testing tools…
3
votes
1 answer

Error "Connection reset" in JMeter (SOAP XML web-service)

I have the next test plan in JMeter: on the screenshot you can see the settings for the 1st ThreadGroup, wich has 50% of common amout of request in test plan (in each Thread Group are 10 different subrequests placed). So, +1 request per second is…
Nadezhda T
  • 262
  • 8
  • 24
3
votes
1 answer

How to calculate the response time in Jmeter?

I have used jmeter 2.8. I have tested Http request using web service calls. I need to calculate response time. I do not know how to calculate it. I have refere this link. I think they have used some plugin in Jmeter. Is there need to use plugin for…
Ami
  • 4,241
  • 6
  • 41
  • 75
3
votes
3 answers

How to connect Jmeter to Java class?

I am new to Jmeter. Currently i have tested web service calls in Jmeter. I have sent a request to server through web service calls. My input is xml file and its encrypted form. So i given encrypted string in PostBody. My problem is I'm not able to…
Ami
  • 4,241
  • 6
  • 41
  • 75
3
votes
1 answer

JMeter Summary report in distributed mode

I am running Jmeter performance test in distributed mode (2 slaves + master). In my test script I have configured Summary Report which should save some data to csv file. This file location is configured with fixed name "reports/summary.csv" value.…
azec-pdx
  • 4,790
  • 6
  • 56
  • 87
3
votes
1 answer

powershell/powershell when ran via jmeter/BSF sampler/beanshell hangs

I am hoping someone has ran into this problem and may give me some tips on what to try next. I am trying to run some powercli scripts (ran in powershell) in jmeter. I am using the BSF sampler in jmeter using beanshell I am using this…
3
votes
2 answers

Jmeter: How to pass array value in single request?

What I have to do: 1. Extract all customer ids from previous response. 2. Shuffle all ids. 3. Pass all ids in one request. (like : custPref - 9768,7651,3215,....) I took all customer ids in one variable (custID) using regular expression (with set…
Jewel
  • 33
  • 1
  • 3
3
votes
1 answer

Performance of Jsoup vs regexes vs XPath for extracting content from HTML?

I know that in common case HTML shouldn't be parsed with regex. But I want to make a performance test for web application. I know for sure how HTML may look like. So I can use regexes to extract some data from page source. As I do performance test…
Andrei Botalov
  • 20,686
  • 11
  • 89
  • 123