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
1 vote
1 answer
773 views

How to run selenium script recorded using Selenium IDE along with jMeter?

Here are the steps I have followed so far.... Recorded steps using Selenium IDE Then I export it (".side" file) into a java(junit 4) file. Created a maven project and added the necessary ...
0 votes
1 answer
470 views

while controller isn't working perfectly when testing for multiple users

I have designed a case to wait for specific model name in GET response and then POST data. It is tested and is working fine when only 1 user and 1 loop are set. When the specific model name is found, ...
0 votes
1 answer
110 views

Having trouble getting WCF-based traffic to show up in JMeter recorder

I'm running into an issue with getting the traffic from a WCF-based Windows desktop client to show up in the JMeter recorder - and I'm hoping someone out there might be able to point me in the right ...
0 votes
1 answer
201 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
1k views

Im trying to open jmeter using jmeter.bat command prompt is directly closing its not storing how to resolve this issue?

Can anyone please suggust me to solve this issue?
0 votes
1 answer
368 views

Keep getting 403 error code when executing POST request via Jmeter

keep getting error code 403 when executing POST request to Upload file. The system is using oauth2 authorization. i'm able to execute login, navigate to page but keep failing and getting 403 when ...
1 vote
1 answer
306 views

Jmeter get requests failing to exit for existing response

I want to let JMeter exit while controller when response value "model_name": "Model-Corpus-JMeter2-0001-v1-8k" is found in response data. sample response data: { "message&...
0 votes
1 answer
372 views

Jmeter Test Fragment not working with blazemeter

I refactored my test plans and created test Fragment(eg. login) in external jmx file so I can use in different test plans. I used IncludeController in my test plan and refer this external Login ...
0 votes
1 answer
62 views

Retrieving all Cookies in JMeter and to pass in subsequent requests

While recording I can see the all cookies are stored in the request headers as JSESSIONID=71fc7095-b591-4106-b904-9f5XXXXX58c3; _uid=user-5664708212484720511; oxy_lang=en_US; test-cookie=test; ...
0 votes
1 answer
69 views

Unable to launch a website in firefox browser using firefox Driver config

I am Unable to launch a website in firefox browser using firefox Driver config. Jmeter version : 5.5 Firefox version installed on system : 110.0 . Below are the jmeter logs, 2023-02-16 14:55:35,984 ...
0 votes
2 answers
57 views

How to make table structure file using org.apache.commons.io.FileUtils.writeStringToFile(file)?

I used Webdriver sampler and write selenium -Javascript. Now I used org.apache.commons.io.FileUtils.writeStringToFile(new java.io.File('somefile.log'), 'some-data', 'UTF-8', true) function to write a ...
1 vote
2 answers
5k views

How Jmeter's Aggregate report calculates total time of "Transaction Controller"?

Whenever I navigate to a page in my website, 63 number of requests will hit server. Some of them will be sent concurrently and others will be sent one after the other(After receiving response from ...
1 vote
2 answers
200 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
2 answers
35 views

How to design a test plan for performance testing using Jmeter for interval of time

I have to design a test plan for an app and below is the requirement Run a thread for 1 user for 55 minutes and in between after the thread starts I need to run another user after 30 minutes. Can you ...
0 votes
1 answer
939 views

Jmeter bamboo log - SQLException: Cannot create PoolableConnectionFactory

When running jmeter script for JDBC connection, I'm getting an error as mentioned below. How can I resolve it? Jmeter bamboo log - SQLException: Cannot create PoolableConnectionFactory
0 votes
3 answers
307 views

Add delay to JMeter Dummy Sampler

I'm looking into the BlazeMeter Advanced JMeter tutorial (https://academy.blazemeter.com/courses/advanced-jmeter/) In lesson 7: Pacing, he uses some Groovy code to delay the dummy sampler, which is ...
2 votes
2 answers
3k views

How to make sure HTTP Request completed then proceed to next request using JMeter

Recently I'm new to JMeter, I have 9 HTTP requests and I want to make sure all the threads must run accordingly in order to complete the whole task in my project. Moreover, I do not think, that adding ...
0 votes
1 answer
1k views

How to increment alphanum value in Jmeter inside a loop counter

I have requirement with increment value for each iteration and using loop controller. I tried with the _V function and __intSum(${myVar},${__counter(,)},)}. it's incrementing only for digit and not ...
0 votes
1 answer
184 views

I am getting 403 response code while uploading file in jmeter

Am working on one application & i created script using dev tools after uploading file using csv data and everything using http request am getting 403 response code can u pls suggest me about this ...
0 votes
1 answer
386 views

Having issues with jmeter sockets

I'm Getting this error while executing script Thread Name: Thread Group 1-1 Sample Start: 2019-10-30 15:58:38 PKT Load time: 5005 Connect Time: 0 Latency: 0 Size in bytes: 0 Sent bytes:0 Headers size ...
1 vote
2 answers
4k views

How to extract a number from response body in jmeter?

I am calling 2 different endpoints in my jmeter test. The first endpoint should provide me with a single number (for instance 568959) in its response body and then I must pass it to my second ...
0 votes
2 answers
773 views

Display the Array in JMeter

I would like to ask whether it is possible on JMeter to recreate the response on the web browser. Just some quick tip will do. Here is the response that it needs. My configuration is that I have a ...
3 votes
1 answer
15k views

Jmeter Test is not getting stopped?

Run a test in Jmeter. After that terminate it abnormally. GUI is showing that test has been stooped but the test is being run at the backend I tried to close it from the close button but it is giving ...
0 votes
2 answers
40 views

Cannot passing value from non-gui mode if it match the IF Controller condition in JMeter

I've below setup, i've tried to pass the value from non-gui mode but it doesn't work. Config Element/User Defined Variable: portNum:8080 Config Element/HTTP Request Defaults: Port Number: ${__P(...
1 vote
2 answers
2k views

I am getting NET::ERR_CERT_AUTHORITY_INVALID when try to record script from JMeter

I setup the same proxy setting in my browser setting as in the JMeter. I tried to record some other website with same settings and they recorded successfully. Following is the screenshot of the ...
1 vote
2 answers
98 views

Jmeter Scenario: Users Login once - pause until all logged in and execute process (based on iterations not time) - processes complete users log out

I'm relatively new to Jmeter, but I have a scenario, that I've not been able to figure out where I need to perform the following: All user log in to application with a ramp-up period of 15 seconds ...
2 votes
1 answer
11k views

JMeter: How to resolve javax.net.ssl.SSLHandshakeException Error

Tool - JMeter, version 5.1.1 I am testing an application with API request and I am getting an error: javax.net.ssl.SSLHandshakeException for load test. This issue occurs when I try to execute only ...
0 votes
1 answer
130 views

Jmeter 5.4.3 with mysql-connector-java-8.0.30 -> java.sql.SQLException: No suitable driver

I am trying to connect Jmeter to MySql but getting error Here is my config: Windows 2019 Java 11 MySql version 8.0.30-commersial mysql-connector-java-8.0.30.jar placed as required in jmeter lib ...
1 vote
2 answers
92 views

Want to Extract Data in JMeter

I am using the HTTP request sampler, In which I have used Post Method. When I Execute the request, it executes another HTTP request from another thread. I want to extract the data from that thread ...
0 votes
2 answers
33 views

CSV download file getting 400 response code

When I recorded the script for downloading a CSV file, only that HTTP request is getting a 400 response code. The audit history of the website displaying file is downloaded. When I hit the audit ...
0 votes
2 answers
381 views

JMeter, how to assert a dynamic value, that contains special characters using response assertions

I have a value with the following format [aadrzr@r2za$l919d@ldzkld], but when asserting this value in the response assertion, I am getting a failed response assertion. Since it contains special ...
0 votes
2 answers
69 views

jMeter thread running capacity

I am wondering if there is a way to know how many threads JMeter can support for a given machine configuration? Currently, I am working toward a task that requires me to check how many VMs I need to ...
0 votes
1 answer
560 views

JMeter + Webdriver : Java code is not taking screenshot and it is giving ERROR c.g.j.p.w.s.WebDriverSampler: Sourced file: inline evaluation of:

I am new to JMeter + WebDriver + Java. JavaScript code is working as expected for screenshot. Due to recent upgrade of Java, we are moving from JavaScript to Java. Below is the code. Can you please ...
0 votes
2 answers
270 views

Why is my jmeter aggregate report showing much more time than actual?

I created a test script to sign in and sign out an application and tested the script with a single user. The aggregate report shows average time as 72 secs for sign out for just 1 user. But when I ...
0 votes
2 answers
3k views

How to resolve exception - "element click intercepted ,Other element would receive the click"?

Here is my script - next=WDS.browser.findElement(pkg.By.xpath("//button[contains(@class,'btn btn-sm btn-light border ml-3')]")) while(next.isEnabled()==true) { /...
0 votes
2 answers
264 views

Parameters for CSS Selector not working in Jmeter

I am working on Jmeter for testing a Magento application while using the CSS selector extractor and providing the following information. Please let me know if the parameters are correct. In the post ...
0 votes
2 answers
81 views

parametrization of body jmeter

I just started using Jmeter and don't know how to make a variable. This is the HTTP body request and I would like to change the project name each time I perform load testing. I tried using CSV config ...
1 vote
3 answers
5k views

How to verify missing requests are sent from JMeter server

I'm running a test from JMeter sending HTTPS requests to a load balancer that is then distributing the user load across multiple application servers. We have an instance where as the load grows we are ...
0 votes
1 answer
393 views

JDBC connection to databricks server is failing in JMeter

I have working JDBC connection to data bricks server in Java code. I'm trying to make similar connection in my JMeter project (tried with apache-jmeter-5.3 and apache-jmeter-5.4.3) using same ...
0 votes
1 answer
2k views

How to setup Jmeter as server and send messages to Client over TCP

Am trying to setup Jmeter as server and send messages from Jmeter to a client TCP connection. But unfortunately, Options in TCP Sampler of Jmeter make it a client.
0 votes
1 answer
347 views

Jmeter: Unable to connect via SAML protocol

I'm unable to connect to the server via Jmeter. While trying to connect via SAML protocol, the request is blocked and 401 error is returned in the response. Can anyone guide me to resolve this issue? ...
1 vote
3 answers
715 views

JMeter performance testing with the same user performing multiple scenarios

Just consider an admin account: Using JMeter I can record a script: goto url -> sign in -> create order if I create Thread group of 10 this means -> these 10 users will do the same action ...
4 votes
4 answers
22k views

Jmeter throws "org.apache.http.NoHttpResponseException"

We use Jmeter to do performance testing. I gave 10 threads(10 users) with ramp up time 60 secs, 4 out 10 users failing to logout getting org.apache.http.NoHttpResponseException: The target server ...
1 vote
1 answer
763 views

Jmeter ADFS authentication

I am looking for a solution for the below problem statement: Authentication is done through ADFS. I recorded a script via jmeter/blazemeter/badboy, but observed that RequestSecurityTokenResponse is ...
0 votes
1 answer
316 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
2 answers
2k views

In JMeter logs are not displayed in Log viewer

Whenever I ran the test logs are not displayed in log viewer panel in application, logs are displayed in command prompt. Can anyone pls suggest for this issue? How can I see logs in log viewer ...
0 votes
1 answer
475 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
1 answer
652 views

Having issues with Jmeter Login Test keep on failing

I am trying to learn the Jmeter and performing simple login test for a test website. but I am keep on getting following error, Thread Name: Thread Group 1-1 Sample Start: 2019-09-05 18:56:28 NZST Load ...
2 votes
2 answers
982 views

Unable to record using http recording controller with a proxy

I have been trying to record my web application actions using the http recording controller in jmeter. I have added a recording controller, a test script recorder with proxy settings set. Certificate ...
0 votes
2 answers
2k views

How to Run more than 1 Query through JMeter to do load testing

I got a job to do load testing on database. The problem is I have 3 queries that need to run one after another to get the result as below sequence. UPDATE db_swim_dev.ios_upgrade_css_site_selection ...

1
2 3 4 5
18