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

Jmeter: Capture JDBC value in global variable

I'm very new to Jmeter and I'd like to know if there is some way to store the result of a query in a global variable to use in a different thread. In other words, I need a set-up thread that sets a start-date and end-date (2 values) from the…
user1336321
  • 144
  • 1
  • 1
  • 10
3
votes
1 answer

How to save a file with dynamic value in Jmeter

I am trying to save response xml-file with dynamic value using a variable. I am passing a value through a variable which is got from CSV Data Set Config (e.g. var = Abc123). I have mentioned the filename prefix as D:\response\${var} where var is my…
user1838298
  • 31
  • 1
  • 2
3
votes
1 answer

How to call an external JavaScript files methods from JMeter

I'm trying to produce a HMAC SHA256 signature for a SOAP/XML-RPC JMeter Request that I am building. I have found a JavaScript library that should do the trick for me: http://code.google.com/p/crypto-js/#HMAC The issue is that I can't find a way to…
Mike
  • 827
  • 11
  • 27
3
votes
1 answer

Consecutively changed value of parameter in JMeter HTTP Request

I want to create a test plan for testing a given web, using JMeter. There are two parameters in this test: X and Y. Each loop, I give a random number from 0 to 50 ${__Random(0,50,)} as parameter X, and then give Y the values as follows:…
Mel
  • 123
  • 2
  • 7
3
votes
1 answer

How to get Jmeter to use CSV data for GET parameters?

I am wanting to achieve the following in JMETER Jmeter loads CSV file with id numbers Each user/thread in Jmeter picks a id number and adds it to their HTTP request e.g. http:www.testsite.com/test.php?id=x Repeat step 2 , selecting the next id…
tomaytotomato
  • 3,788
  • 16
  • 64
  • 119
3
votes
1 answer

Save Responses to a file Listerner - Setting file name

I've a JMeter test plan with a number of HTTPRequests. For each HTTPRequest I have added a "Save Responses to a file" Listener when a failure occurs. Ideally I would like the file name to be the same as the label of the Request it is logging it for…
Paddy
  • 523
  • 1
  • 6
  • 29
3
votes
4 answers

Jmeter doesn't accept csv input file

I keep getting this exception when I want to use CSV Data Set Config: csv config screen http://www.tinyuploads.com/images/RiFs0s.jpg The file data2.txt contains only one column: num 19000716285 1148227951 2413658651 I have tried everything one…
myro
  • 1,158
  • 2
  • 25
  • 44
3
votes
1 answer

Weblogic Test with JMeter : No message was received for: '240' seconds; nested exception is: weblogic.rjvm.PeerGoneException

I am doing a performance test for evaluating our product using JMeter. Our product is deployed in a Weblogic server and has an Oracle database. In the performance test, JMeter client accesses a set of EJB s which reside in the weblogic server and…
Manjula
  • 4,961
  • 3
  • 28
  • 41
3
votes
1 answer

JMeter - Detecting a TransactionController Sampler in Beanshell Listener

Is there a way to determine in a BeanShell Listener script if a Sample Result/Event is under a Transaction Controller? I know you can use sampleEvent.isTransactionSampleEvent() to determine if the event is for TransactionController. But is it…
Paddy
  • 523
  • 1
  • 6
  • 29
3
votes
1 answer

How to run one record across multiple thread groups in JMeter?

I have 50 records(rows) in my CSV file, and I have 10 thread groups which all depend on each other. Example (I'm calling Thread Group TH): TH1 |_some request |_fetching output value TH2 |_request(passing TH1 output value here) |_fetching…
AutomationWorld
  • 75
  • 2
  • 10
3
votes
1 answer

JMeter JMS Point-to-Point Request Response: "No reply message received"

I have created a JMS Point-to-Point Request Response test as documented in the JMeter manual. My JMeter Point-to-Point Configuration: When I run it, however, it always times out on the response. If I look at the sampler log file, I seem rm="No…
Chris M
  • 183
  • 2
  • 8
3
votes
1 answer

pipeline symbol pattern matching in jmeter

Getting "UTR\|UTIBH0000000000\|"; in response in JMeter. Want to read \|UTIBH000000000\ from "UTR\|UTIBH0000000000\|"; I am able to read using (.+?) but the error comes: Token Parsing Error: Lexical error at line 3, column 88. Encountered: "|"…
3
votes
1 answer

Jmeter, beanshell - how to write exec() output into a string?

I have the following code in my beanshell postprocessor that executes a C# program and writes its output into Jmeter's console: import it.sauronsoftware.base64.Base64; prev.setDataEncoding("ANSI"); encoded =…
Ray Poward
  • 366
  • 5
  • 12
3
votes
1 answer

Graph a custom variable in JMeter

I have a simple "Java Request" sampler (ie: AbstractJavaSamplerClient). How do I produce custom variables from this sampler and graph these? (Preferably with out-of-the-box graphing listeners). Currently I can only easily graph sample times.
jnorris
  • 6,350
  • 8
  • 30
  • 33
3
votes
0 answers

Reconnecting a client request with Tomcat Session

I have client requests that are initiated through a Load balancer and routed to the least weighted Tomcat server to process. When the client hits a target Tomcat server, the response to the client contains absolute URL's to be used for the second…
Mick Knutson
  • 2,297
  • 3
  • 25
  • 48