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
3k views

I want to write Java code in Jmeter to copy current date in a variable and use this variable in next request. Where should I write it?

This is my code: package dateTime; import java.text.DateFormat; import java.text.SimpleDateFormat; import java.time.LocalDate; import java.time.LocalDateTime; import java.time.format....
0 votes
1 answer
4k views

How to parse Json data which is in the HTTP post request in JMeter

Here is the Json Data: filterKeys":{"${FilterGroup}":["Phenols"]},"lastFilterGroup":"${FilterGroup}"} I have to extract phenols from the post request for every filter group this value changes.
0 votes
1 answer
468 views

How do I view the blazemeter sense report when I run the jmx script via the terminal or Jenkins?

Recently added the blazemeter sense uploader plugin for reporting purposes and it is really nice. Post running the script, you get a sense.jtl file and a url to view the reports on the browser with ...
0 votes
1 answer
9 views

While running a performance test using Blaze Meter with JMeter script. Load graph is showing inaccurate data

While executing JMeter scripts with ultimate thread group, the graphs are showing the wrong wrong ramp up. I have checked the JMeter logs and they are perfectly showing the start and end time of each ...
1 vote
1 answer
1k views

How to get number of requests sent and actually received by server in JMeter

I'm using Jmeter in remote env.(1manager server, 3-5 querying servers, 1 target server). I have fixed EPS/QPS and threads(gradually increasing up to a certain value). I want to know if there is any ...
2 votes
1 answer
373 views

Apply a radom pacing in Jmeter without using Timers

I wanted to apply Pacing in jmeter for 120- 180 Seconds for all my samplers , I know i can do it with Through put Timers is there anyother way to apply pacing , i think we can use Beanshell Scripting ...
0 votes
1 answer
3k views

How to pass dynamic pass parameter values in jmeter using beanshell pre-processor?

I want to select books which is 'In-stock'. Each time number of 'In-stock' vary dynamically. Some time we have only 4 books "In-stock". some other time more or less than 4 books 'In-stock'.
0 votes
1 answer
9k views

How to Handle the java,net.SocketException error in Jmeter?

I am running the load test with 100 users in JMeter. Application is working fine, but when I increase the load up to 200 users, few of the transactions getting failed. The error is Non HTTP Response ...
1 vote
2 answers
820 views

Compare web content with the CSV File

I want to compare my data in CSV with the web content. The data in CSV file comprises of multiple rows and column. How can I verify that the data inputted on the web is correct comparing it with the ...
6 votes
1 answer
643 views

Unable to launch Citrix application through JMeter

I am trying to test a standalone application on the Citrix platform using JMeter. I have installed the Citrix receiver as well as the JMeter ICA plugin for the same. But I am not able to launch the ...
0 votes
2 answers
693 views

I faced an issue while opening Jmeter 5.1v log

While opening JMeter 5.1v in log I came across an issue i.e WARN o.j.r.Plugin: Unable to load class: com.atlantbh.jmeter.plugins.oauth.OAuthSampler java.lang.NoClassDefFoundError: org/apache/...
0 votes
1 answer
129 views

Unexpected contents display on the landing page while recording using JMeter with proxy enabled

I used JMeter to record an ASP.Net application. Most of the recording part are works perfectly fine. There is no error and the contents display correctly. However, there are some test steps which ...
0 votes
2 answers
985 views

I want to hide error and throw my own message in jmeter for Non HTTP response code: java.net.URISyntaxException

I am capturing URl and path from s3URL from previous response. Some time S3URL not generated then URL and Path not found. In this case i want to hide error because it is application issue not ...
0 votes
1 answer
16 views

How to add delay between opening websocket connection and sending requests (not between requests) in Jmeter

I am using a websocket plug-in to load test websockets. I want that there should be a few seconds delay between opening connection and sending infinite messages. I tried moving 2s delay around but i ...
0 votes
1 answer
273 views

JMeter plugin so that we are able to see run time error when we are doing executions

Please suggest JMeter plugin or debugger so that we are able to see runtime error when we are doing executions
0 votes
2 answers
6k views

Required Login Session to Run HTTP Request in JMETER

Precondition: Need To Login Application first, then I can send my API request to the server, so who can set this thing in Jmeter? Current: I am getting error as "{"Message":"Request was not made ...
0 votes
1 answer
31 views

JMeter Integration With Azure Pipeline and after execution of test getting as directory not found

As Part of Jmeter Integration With Azure Pipeline and after execution of test getting as below errors: 1.Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error ...
0 votes
1 answer
45 views

Replicate the Load runner scenario in Jmeter

I want to recreate the loadrunner scenario in Jmeter using ultimate thread group But iam Lost . This is the Load runner scenario Attached the schedule Graph below Below is the formation of ultimate ...
4 votes
3 answers
2k views

How to use Jmeter Xpath extractor for multiple run in dynamic API elements

XPath extractor response assertion passed first run but in second run it is getting failed because <name>pc</name> is not coming in API. How to skip this element if it is not coming in ...
0 votes
1 answer
23 views

Web3J library is not supporting in groovy script. I have to send transaction through groovy script and check test load in JMETER

I have imported all web3J library and using tried using java_version 16,17 and 20. Every time I am facing issue. When I compiled that script in VSCode. I am facing the same issue. Can someone please ...
0 votes
1 answer
2k views

Can JMeter JDBC pre-processor accept multiple Insert queries?

I'm creating a Thread Group, and before sample execution want to seed the database with test data. According to the JMeter manual, I need JDBC pre-processor. I insert multiple insert queries into the ...
1 vote
1 answer
1k views

How to use __iterationNum() custom function in JMeter to assign csv file to Http Request

Here I'm assigning CSV file on the basis of loop count so that done by using __iterationNum() JMeter custom function (custom JMeter Function plugin added to JMeter) But this stuff is not working for ...
0 votes
1 answer
3k views

While running jmeter for master slave configuration in Non GUI mode, created empty output file

Added same execution script on master and slave Change the property file of master by adding slave IP address and uncommenting uncomment this on property file: server.rmi.create=false Run server ...
0 votes
1 answer
299 views

JMeter | Intermittent Issue | Not able to extract value via Regular Expression Extractor and send in the subsequent request

I have a JMeter script in which I'm extracting value from the response of first request via Regular Expression Extractor and sending it in the second request. This mechanism works fine 80 percent of ...
0 votes
1 answer
23 views

JMeter Integration With Azure Pipeline and after execution of test got as File size (11956969445) is greater than possible Buffer: 2147483647 bytes

A part of JMeter Integration with Azure Pipeline and after execution of test in Azure Pipeline got as File size (11956969445) is greater than possible Buffer: 2147483647 bytes. Is it possible to us to ...
-1 votes
1 answer
10 views

How to running ServerAgent on Windows?

Running the startAgent.bat command for ServerAgent on Windows resulted in an error:
0 votes
1 answer
803 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
125 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
252 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
1 answer
433 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
1k 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
266 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
1 answer
37 views

As Part of JMeter WEB DRIVER(Selenium Scripts) Integration With Azure Pipeline and how to add Chrome Driver Config in Azure Pipeline

Pushed the JMeter Selenium Scripts into Azure GIT Repository, created the pipeline and run the pipeline. Agents added are: JMeter, Command Line, Publish pipeline artifact and publish and download ...
1 vote
2 answers
249 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
1k 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
1 answer
597 views

Error while processing sampler: 'bzm - Parallel Controller'. java.lang.reflect.InaccessibleObjectException: Unable to make field java.lang.ThreadLocal

Error while processing sampler: 'bzm - Parallel Controller'. java.lang.reflect.InaccessibleObjectException: Unable to make field java.lang.ThreadLocal this error facing while using bzm parallel ...
0 votes
3 answers
395 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 ...
0 votes
1 answer
461 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
1k 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 ...
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
436 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
14k 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
275 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
107 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
696 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
253 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
2 answers
672 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
1 answer
823 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
5k 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) { /...

1
2 3 4 5
19