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
0 votes
1 answer
494 views

Automation testing for video chat web application upto 20 users?

I have a video conference web app for multiple users to login and chat . I want to automate below scenario by using selenium and Jmeter Scenario - test this application for max of 20 users login into ...
1 vote
2 answers
7k views

JMeter - FileToString with relative file path to test plan?

I've got a JMeter POST request that has body data like below: ${__FileToString(/${json_request}.txt,,)} The json_request variable comes in from a CSV data set config, allowing me to iterate through ...
  • 255
0 votes
1 answer
2k views

Jmeter test plan is not running using chrome headless mode in jmeter

Further to the previous question Unable to execute the test plan using chrome driver headless mode in jmeter using selenium, I have added the explicit wait of 150 seconds and run the test plan with ...
  • 203
0 votes
1 answer
161 views

how to select a value based on the value of a chooseRandom function?

I'm currently writing a post request witha a JSON body. i'm wanting my JSON to produce unique data on each iteration of test plan, but due to dependancies, this is leading to my requests sending ...
2 votes
1 answer
5k 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/...
  • 203
0 votes
2 answers
320 views

Jmeter | Groovy functions aren't working

I am currently following the 'Blazemeter Jmeter Pro' certification training and while working on an exercise, I noticed that for some reason, the groovy functions aren't working for me. Let me show ...
0 votes
1 answer
160 views

How to get the Combined report of multiple threads when they are accessing the same URL

I am executing a test plan in which I have used two thread groups in which I have used multiple Selenium/WebDriver samples just for getting the URLs with the help of getCurrentUrl() function. In the ...
  • 203
0 votes
1 answer
810 views

Send the same JSON several requests but with different value in a node via POST with Apache JMeter

I am testing the behavior and performance of an endpoint and I have a JSON to test it, so I am sending via HTTP POST that JSON with Apache JMeter. When sending a single request there is no problem (...
-1 votes
1 answer
850 views

Unable to Retrieve Json value from CSV file

I am in need to send Json value as payload which is stored in csv file using CSV config element in Jmeter But in Jmeter value is not properly updated only bracket is updated in the payload fields
1 vote
0 answers
118 views

How to get the AJAX request using the Selenium Webdriver in jmeter?

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 I want to also show the ...
  • 203
2 votes
1 answer
337 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 ...
  • 203
0 votes
1 answer
2k views

Set the default value to the jmeter local variable same as the property variable

We can set the default value for property variable ${__P(Threads,1)}, if Threads is null then the default value 1 will be used. Now I want to use the variable in the same way. We can call the ...
0 votes
1 answer
175 views

How can I generate dashboard report with URL i.e. navigated to by my Selenium Script in Jmeter

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, it has been only showing the overall results for each user. But I want to know the ...
  • 203
0 votes
1 answer
712 views

Unable to launch jmeter plugin manager

I'm receiving the error as shown in the image while opening the plugin manager in jmeter.
  • 17
0 votes
1 answer
304 views

How can I generate dashboard report according to my Selenium Script in Jmeter

I am executing my selenium script using Selenium/WebDriver sampler and after the execution of multiple threads, it has been only showing the overall results for all the users. But I want to know the ...
  • 203
0 votes
1 answer
3k views

How to delay multiple thread groups in jmeter

I am executing the test plan in which I have created 5 Thread Groups for execution. I want to execute these thread groups parallelly but want to add some delay time in each thread group suppose 10 ...
  • 203
0 votes
1 answer
957 views

Unable to use the WebDriverWait in my Selenium Script written in JavaScript in Jmeter

Previous to my post see the logs and selenium script written using javascript in Jmeter. I want to use the WebDriverWait in my script i.e. written in javascript and I have tried a lot but always get ...
  • 203
1 vote
1 answer
181 views

How to configure Step Load Test in jmeter

We are planning to do a step load test to find the max user our sever can withstand. Scenario is to ramp up 200 user and add steady state of 15 minutes than ramp up 100 user and add 15 minutes steady ...
  • 41
0 votes
2 answers
3k views

Selenium - element not interactable

I have created a test plan using Selenium/Webdriver in JMeter and trying to run the test plan using chrome driver in headless mode, unfortunately it didn't work. Please see the logs below for more ...
  • 203
1 vote
2 answers
1k views

Access the jwt token from multiple threads

I Have API's to retrieve the token and get Positions nested under Token Generator and API Group threads. I need to retrieve token only once and set the token to the property and access it across ...
0 votes
2 answers
3k views

Unable to launch and set the geckodriver using firefox Driver config

I am executing a test plan using firefox driver config and I have downloaded the firefox driver i.e. geckodriver.exe and store it in a D: drive. Now I have used the firefox driver config in my test ...
  • 203
1 vote
1 answer
3k views

How to set Chrome driver for selenium/Webdriver in Jmeter non-gui using Command prompt?

I am executing the load test plan using the non-GUI mode of Jmeter and I want to set the chrome driver using non-GUI mode. I have used the below command for executing the test plan and storing the ...
  • 203
2 votes
1 answer
285 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 ...
  • 203
3 votes
1 answer
456 views

How to generate JMeter Composite Graph using CLI?

I have a test plan with Composite Graph inside it. Everything is working fine when using GUI. Unfortunately, I got this error when trying to generate that graph using CLI: $ ~/apache-jmeter-5.2.1/bin/...
1 vote
1 answer
382 views

Why JMeter Ultimate Thread Groups create incorrect number of users?

When I'm using the original JMeter Thread Groups and set 10 threads (users), it fires 10 external HTTP calls. When I changed it to Ultimate Thread Groups (UTG) and set the following attributes... ...
1 vote
2 answers
9k views

Cannot load JDBC driver class 'oracle.jdbc.OracleDriver' in JMeter

I have the problem with running a script in JMeter. I get the following error message Cannot load JDBC driver class 'oracle.jdbc.OracleDriver' Does anyone know how to solve it?
2 votes
3 answers
330 views

Is there any way to monitor server usage for particular request in JMeter?

I have total 8 API Request configured to run tests including 5 GET requests and 3 POST requests. When I running this test with 300 concurrent users with 1 min ramp-up time, after a few seconds server ...
  • 135
1 vote
2 answers
5k views

How to send send UTC Now time in JMeter?

I'm working on API load testing and my current local timezone is IST (India Standard Time) UTC+5:30. The API used for store offline data and android developers are sending record created time in UTC ...
  • 135
0 votes
1 answer
744 views

JMeter - run single thread with one request by defined time

I have total of 5 requests. First one is login and it returns JSON response with a token. I will extract the token using JSON Extractor which is to be sent in header as a Authorization key for all ...
  • 135
0 votes
1 answer
622 views

Is there anyway to hold response until we get full response from server in Jmeter?

The services I'm trying to test will work on a long pooling method. They won't give results in the first response. When I run my API script I am not getting a full response in the first time. How ...
-3 votes
1 answer
1k views

Running Jmeter tests in Teamcity CI/CD as automation tests

I want to add Jmeter tests as build steps in TeamCity CI Deployment server. If tests fail, build will not complete. Please advise in details. I am currently using Jmeter for testing a Rest API ...
0 votes
1 answer
198 views

Load testing on CI/CD Teamcity with Jmeter

I want to add Jmeter tests as build steps in TeamCity server. If tests fail, a build will not complete. Please share how to do it. I am currently using Jmeter for testing a Rest API running different ...
0 votes
2 answers
565 views

How to understand the hits per second and active thread over time graphs in jmeter

Can anyone please suggest me, how to analyse the generated hits per second and active thread over time graphs
0 votes
3 answers
551 views

Can we use a counter variable inside to form another variable so I can access it's value?

I have a Regex Extractor that retrieves following values, With this, i'm trying to retrieve all such values, orderId_1_g1=SGSM10820, orderId_2_g1=SGSM10821, orderId_3_g1=SGSM10822, and pass them in a ...
  • 109
1 vote
1 answer
367 views

Jmeter - Calculating ramp-up period

I am trying to send 1100 requests per minutes to my API endpoint for a period of 5 minutes, so in total I will make 5500 requests to the endpoint. In another words, I am trying to send 1 request ...
  • 111
-1 votes
1 answer
10k views

How to pass dynamic value in request body in JMeter

I'm testing on chatbots using jmeter. I need to pass dynamic session id for each request, please let me know the possibility. Customized request body: { "botName": "***********", "...
-1 votes
2 answers
192 views

Open Source project recommendations to get started with SDET work? [closed]

I just did an online course in Software Testing (Udacity CS258) and I'd like to practice my skills. Can you recommend open source software that's serious about testing, has a great community and ...
0 votes
1 answer
278 views

When I run Jmeter test using Junit-selenium for three users, login data is entered thrice in a single browser

Three browser windows are launched but all Login details are entered in single browser window. In the other two browser windows login data are not entered and the test gets failed. It occurs for ...
-1 votes
1 answer
48 views

Jmeter html parsing

One needs to use the HTML page to collect the information that is contained in the table and has 4 columns with data. I figured it out how to use XPath to take a specific value and upload it to CSV. ...
  • 1
1 vote
3 answers
450 views

JMeter not accepting Valid Regex, causing nothing to be posted

I'd like to prefix this question with the fact that i'm a novice when it comes to Jmeter and Regex. I have created a test plan for an ASP .Net application, which consists of a GET request, with a ...
2 votes
6 answers
117 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 ...
  • 21
2 votes
1 answer
92 views

Will need to perform load test for all Rest API of an application where backend is served

Consider, we have Front end Angular js application where backend is controlled by a API Now this application contains around 300 API's. Whether we want to perform load test for all these API's How ...
0 votes
1 answer
314 views

Jmeter: How to get combined thread count from multiple jmeter slaves

I am using jmeter distributed environment and distributing load on multiple slave machine. I am running jmeter -g <csv file> -o <output folder> command to get html report from output csv ...
0 votes
1 answer
473 views

Jmeter Ramp-up second is dependent on number of request(Sample) and time between sampler inside Thread

For example, there is a thread group named login. Now this login thread group has 10 request where all requests are parameterized(One API request dependent on other) and time b/w request is 1 secs(...
1 vote
2 answers
553 views

How to Store multiple id from one request and retrieve few id for update within the same thread group in jmeter?

My Scenario. [ All are in Same Thread group] I have to Create Cart, Add Multiple Items(5), Update few items(1) and then checkout. Add Items - I have to add 5 Items [ Each Item will generate unique ...
0 votes
1 answer
71 views

Jmeter - Unexpected output of Test plan

Test Plan : * Recording Controller#1 > CSV UserName DateSet > HTTP Request#1 > HTTP Request#2 - HttpHeader Manager - Regular Expression Extractor - JSR223 ...
  • 101
0 votes
2 answers
579 views

Can't able to print the failure Message in Jmeter if API request getting fail

I tried the multiple API hits on the server through Jmeter and save the result data in the file but some how I cant print the failure Message in the file, any body helps me how to print the failure ...
  • 150
1 vote
2 answers
199 views

Jmeter after recording HTTPs site, on running those test cases, they all are failing

I am able to record my test cases via Http(S) Test Script Recorder but when I run those test cases, they all are failing. Before started recording, I was getting 'No Internet' message on my browser. ...
0 votes
1 answer
868 views

Uncaught exception: java.lang.NullPointerException: null [closed]

getting below execpiton during Jmeter5.1.1, 50 users 1 iteration execution 2020-01-22 08:20:23,976 ERROR o.a.j.JMeter: Uncaught exception: java.lang.NullPointerException: null at com.sun.java....
1 vote
1 answer
593 views

How to execute load by 4 users every user generate 100 requests hitting the server at the same time

I want to run a load with this below scenarios 1- 4 users each user send 100 requests to the server 2- 4 users all together send 100 requests to the server Server specs 16 GB Ram CPU 4 cores HD 120 I ...

1 2 3
4
5
18