Questions tagged [jmeter]

Use for questions about testing with Apache JMeter, such as how to perform specific actions using JMeter, problems with JMeter scripts, ways to improve JMeter scripts, and so on.

Filter by
Sorted by
Tagged with
3
votes
2answers
5k views

JMeter looping through CSV

I have two CSV files which I need to use in a loop. I am using jp@gc - Variables from CSV file. The contents are: File #1 File successfuly parsed, 10 variables found: ${1} = e79d29ec-f356-4682-b601-...
3
votes
1answer
1k views

How to do non-subsequent URL rewriting in JMeter?

I'm trying to extract jsessionid from a sampler's response and reuse it for a third sampler. The sampler in between these two is an independent HTTP request which must not utilize any jsessionids. I'...
3
votes
1answer
1k views

Jmeter Web driver sampler

Jmeter has a webdriver sampler. We have to write the scripts. We have scripts written in opkey, a selenium based tool. Can we integrate both of them. So that we don't have to write scripts in jmeter.
3
votes
1answer
2k views

How can I create a Test scenario in JMeter where multiple users login and logout concurrently for a certain ramp up time?

I am a complete newbie in JMeter or load testing in general. The JMeter Test scenario i want to create:- 50 different users(having different login credentials) login into a web application - do ...
3
votes
0answers
1k views

JMeter REST API script not working over Https

I have a JMeter script, that actually have a "HTTP Sampler" for hitting a REST API. This Rest service is running on HTTPS that is currently using "Self-Signed Certificate", but when I run my script ...
2
votes
4answers
2k views

How to convert LoadRunner scripts to JMeter compatible scripts with least re-work effort?

We have few existing scripts in LoadRunner. Is there a way to convert those scripts to JMeter scripts(JMX files), which requires a little to no amount of re-work(correlation, parameterization, etc)? ...
2
votes
4answers
4k views

SoapUI vs Jmeter for webservices

Which one is a better tool to run web service tests? I should have the following flexibility: Parameterize my requests. Integrate with Maven. Better test management.
2
votes
5answers
609 views

Should load test validate functionality?

I am developing a loadtest to a customer who is saying that if a certain response contains "bla:bla" I should execute a different path in load test. On client side it means that a certain button is ...
2
votes
5answers
2k views

how can i apply 3 seconds wait each and every webelement in selenium?

I am trying implicit wait in my code that is not applied for each and every element. I want to want 3 sec for selecting each and every element in my scripts.
2
votes
2answers
2k views

How load gets divide/handled in distributed jmeter testing?

I have 7 requests and 100 thread users in 1 Master and 3 Slave systems. I want to know how load gets handled in slave systems? What is response timeout in JMeter?
2
votes
2answers
8k views

How to stop JMeter Thread in case of errors in specific requests (samplers)

We have an option in ThreadGroup to stop or continue threads in case of errors. But this option applies to all the samplers within ThreadGroup. Is there any way by which we can apply this condition ...
2
votes
2answers
5k views

How should I present my report or result of the performance test to my client

We have a WCF Restful web service which communicates with thousands of hardware endpoints. These end points communicate on daily basis with the service within a time span of 5 hours. There are about ...
2
votes
3answers
11k views

Jmeter: Constant throughput Timer with Ultimate Thread Group

How can I use Constant Throughput Timer with the Ultimate Thread Group in JMeter for a simple Script which includes only "Login" Requests? Tests will be run in Non-GUI modes. No assertions or ...
2
votes
2answers
16k views

Performance testing - analysing Graph results in Jmeter

Am new to Jmeter and I ran the test successfully. Now I'd like to understand what the results mean and what is classed as good/bad measurements, and what can be suggested to improve the results. Below ...
2
votes
1answer
11k views

How to build a test for iterative HTTP requests using JMeter?

Background I would like to probe our own map tile server and for this I'd like to have a loop from which I could request individual tiles, each time a different one. Our tile server is based on ...
2
votes
4answers
221 views

Jmeter (jmx) - How to run requests sequentially where first request response is dependent on the second request

I am using jmeter for load testing so I am a little bit stuck at this situation. Below is the scenario. There are two HTTPS (target1 and target2) requests which needed to be generated sequentially in ...
2
votes
1answer
42 views

Different functionality under one scenario

I want to edit the "Register Form" with 100 users. Out of 100 users, 98 users will click edit and perform some changes and then click save button remaining 2 users will click the edit button and ...
2
votes
1answer
2k views

Unable to run the JMeter test plan on Ubuntu Server getting an error `NonGUIDriver java.lang.IllegalArgumentException`

I am executing the Jmeter test plan on Ubuntu Server but at the end left with an error saying: Error in NonGUIDriver java.lang.IllegalArgumentException: Problem loading XML from:'/opt/testScripts/...
2
votes
1answer
4k views

XML loading Issue with jmx generated by Blazemeter Mobile Recorder

I am trying to record a Mobile Native App with Blazemeter Mobile Recorder. After recording I have generated the smart jmx file. But the issue is, this jmx file is not getting opened up with JMeter ...
2
votes
2answers
963 views

Does load testing affect local pc CPU usage and physical memory?

I am doing load testing of one website. Website is hosted on another server i.e Godaddy. I have installed Jmeter on my local machine and configured necessary things to start load testing. When I ...
2
votes
2answers
13k views

While loop working in JMeter

I am working on an script which is using a while loop and I am not able to properly understand the behavior of while loop. like When does the condition become false...? From where does it takes ...
2
votes
3answers
4k views

server configuration to serve 500 requests in jmeter

I have a scenario to do load test. Ex : Each user has to request to 10 urls in the application.This scenario has to be done for 500 or more users . But when I am trying with 20 users it's giving a "...
2
votes
2answers
5k views

Connect time(ms) in jmeter is coming out to be 0

I have a Jmeter plan which has couple of samples. While running only the first time the connec time is non-zero positive number otherwise it is coming out to be 0 for all the other samples the ...
2
votes
2answers
6k views

CSVs and JMeter: using variables from a line in multiple samplers

I'm trying to create a test with JMeter to log in many users and test a website. Each user has a username, a password, and a special id number. The associated id number needs to go into the URL for ...
2
votes
2answers
3k views

JMeter - Unable to capture the request after click on download link

I am facing one of the problem in my application at the time of downloading a file. I am unable to capture the request after click on download link. So may be anybody can guide me how to capture these ...
2
votes
1answer
151 views

Unable to get the results for a particular URL after using the getCurrentUrl() function in the script

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, the reporting is fine i.e. showing for each User and URL but didn't get any response ...
2
votes
1answer
58 views

Unable to login through Jmeter due to response code 403

I am executing the load test by going through a login using Jmeter and unfortunately, I received a response forbidden code 403. While sending the login details a security token(named in the field ...
2
votes
6answers
104 views

API Management Tool Recommendation

I am looking for a tool for API testing and collaboration that offers the following: Creating a workspace that can be shared with a limited number of people. A good number of collections without ...
2
votes
2answers
138 views

How often should we carry out load testing during development?

Within our team we would like to do load tests in a CI process. For this we want to use either Jmeter or just a comparable tool. Jmeter offers u.a. the possibility that one can plan and execute a test ...
2
votes
2answers
2k views

Performance test using Jmeter - Tune the Script as per requirement

I have to do performance test on our API. In our current system they told 3500 request are handling per minute. But there is no way to take the amount of concurrent users per minute. So I just run my ...
2
votes
2answers
1k views

JMeter: Not enought delay between HTTP samplers

I have the following problem. Even with rampup and think time, some requests are still sent at the exact same time. Let's look the example below: Number of threads: 2 Rampup: 60 sec Thread Group ...
2
votes
2answers
4k views

How to apply filter in JMeter

In JMeter, I have recorded a script in HTTP test script recorder and generated a test script. I'm passing 10 users into the thread group. In the view result tree, I get the result for the 10 users, ...
2
votes
1answer
5k views

Add extra character in URL

I try to test simple HTTP request with below setting. The response I get is: Response code: Non HTTP response code: java.net.URISyntaxException Response message: Non HTTP response message: Illegal ...
2
votes
3answers
5k views

How to Conduct a performance test using jmeter for 100000 users

I need to conduct a performance test on Azure website and the Users count is '200000'. Can anyone suggest me the configuration for this?
2
votes
2answers
5k views

Load Testing on CSRF enabled website with JMeter

Need help, I'm in a situation where, I need to perform Load testing and I am using JMeter to perform load test. How can I configure CSRF token in JMeter as it's showing 403 Error on the links. The ...
2
votes
1answer
4k views

My Load test is not stopping after specific time

I am trying to put load on website using below scenario : 1 - Users - 15 2 - Ramp-up time - 900 3 - Loop count - Forever Added Time to each request with 30000 milliseconds [30 seconds] Scheduler :...
2
votes
2answers
55 views

How to get the file location from online drives and use it in jmeter [closed]

There is a situation to get the location of the file from drive, and I need to use the file location in Jmeter. Is this possible?
2
votes
2answers
2k views

Is it useful to include .js .css files etc in a performance test?

For an Angular based web application: Is it useful to include the requests to get javascript and css files? Knowing that the files will be stored in the browser cache after the first visit. I am ...
2
votes
2answers
3k views

How to design scenario in JMeter

I am new to JMeter,and started learning as we as exploring the tool. Currently we are using Performance Center for Load testing. Eventually we will move to JMeter. Here is the scenario how we ...
2
votes
1answer
4k views

JMeter: how to specify header for page request but not for embedded resource requests?

I am load-testing a page that has embedded resources. The test needs to load the page and its embedded resources. The page request needs to specify an HTTP header: a Host header, e.g. Host: abc. ...
2
votes
2answers
8k views

JMeter: Iterating over a set of CSV files over a set of links - nested loops

I have a set of JSP Pages for each I have a set of links to use for the response time measurements. In order to aggregate the results correctly I am trying to run a foreach controller over a loop ...
2
votes
2answers
190 views

Is it worth having one set of tests for both functional and performance testing?

I have been writing RESTful service tests using Jersey client. Though the tests are functional, it occurerd to me that I can execute same tests from JMeter and for performance (With some tweak of ...
2
votes
1answer
10k views

Using Selenium scripts with JMeter for load testing

I'm facing an untraceable problem in creating a 50 users load test on a JSF web application. The approach that I'm following is this: Writing a test script in Eclipse using Selenium RC API. ...
2
votes
2answers
50 views

Is it possible create more threads that specified in ThreadGroup in Jmeter?

Is it possible create more threads that specified in ThreadGroup in Jmeter? I need to make a test with 10 threads and 10 iterations with a random pause of 2 to 5 seconds between requests. As I know ...
2
votes
1answer
611 views

Jmeter Scripting for body data having “Info”

Out site is using lots of angular Js. now when I record script for login it has some 5-6 requests recorded. out of those 3 requests are having endcoded key in body data as below. {"Info":"V8P+Pq/...
2
votes
1answer
152 views

How to access a website that is htaccess password secure through JMeter

Is it possible to access a website that is htaccess (Username&password) secured through JMeter? I am getting authorization error. I am giving username and password with HTTP request but still ...
2
votes
1answer
1k views

parallel ajax calls in jmeter

this may have been asked many times but I couldn't find any satisfactory resolution. this is how my application flow looks like: Step 1 Login.aspx Step 2 Load Session which call an ajax call 'x' ...
2
votes
1answer
903 views

Pass nonce, opaque params using Jmeter

I'm absolutely new to Jmeter tool, so the question may be incorrect. I'm trying to send API request which requires Digest auth. I tried to use HTTP Auth manager but it doesn't have all fileds to set, ...
2
votes
1answer
725 views

How to assign CSV file without using ${__threadNum} in JMeter

I'm facing problem with assigning the CSV file on the basis of loop count, not on the basis of thread count. For example -> address1.csv, address2.csv......addressn.csv So it is very easy to do the ...
2
votes
2answers
4k views

Cannot get value from Regular Expression Extractor and using in BeanShell PostProcessor

I have a problems while picking up variables set by the Regular Expression Extractor in a Beanshell. The result of Regular Expression Extractor: JMeterVariables: JMeterThread.last_sample_ok=true ...

1 2
3
4 5
17