All Questions

22
votes
5answers
25401 views

How to create and run Apache JMeter Test Scripts from a Java program?

I want to use the API provided by Apache JMeter to create and run test scripts from a Java program. I have understood the basics of ThreadGroup and Samplers. I can create those in my Java class by usi...
15
votes
5answers
16230 views

Jmeter extracting fields/parsing JSON response

I have following JSON format in response body [ { "Name" : "Prashant", "City" : "Sydney" }, { "Name" : "Yogi", "City" : "London" } ] What is the bett...
31
votes
9answers
15709 views

What is the highest number of threads that is reasonable to simultaneously run in Jmeter?

I want to use the highest possible number of threads (to use less computers) but without making the bottleneck to be in the client.
14
votes
4answers
36982 views

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?
19
votes
4answers
31956 views

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 ru...
4
votes
1answers
10218 views

SSLHandshakeException while connecting to a https site

I am trying to record a https site through jmeter (version 2.13, java version - 1.8u31) and I am getting SSLHandshakeException while connecting to a https site. The error message is javax.net.ssl.SSL...
32
votes
8answers
47840 views

How do I pass a variable from one Thread Group to another in JMeter

I have a JMeter test with 2 Thread Groups - the first is a single thread (which creates some inventory) and the second has multiple threads (which purchase all the inventory). I use BeanShell Assertio...
27
votes
3answers
16848 views

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 ...
14
votes
3answers
15637 views

JMeter Alter HTTP Headers During Test

I'm attempting to test an HTTP service with JMeter. The HTTP service requires authentication through a simple bearer token mechanism. I'm trying to proceed as follows: POST authentication request ...
4
votes
4answers
13505 views

Pulling multiple values from JSON response using RegEx Extractor

I'm testing a web service that returns JSON responses and I'd like to pull multiple values from the response. A typical response would contain multiple values in a list. For example: { "name":"@favor...

Previous Next