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.
823
questions
3
votes
1answer
3k views
Stops JMeter test after desired sample count
The requirement is to stop the JMeter test after desired sample count is achieved. I have tried following approach...but the threads are not stopping as expected.
Please let me know how to solve the ...
1
vote
1answer
55 views
Sample application for access log sampler
I am trying to learn about access log sampler and how to use it. I am looking for sample application which can generate access logs on tomcat server. Can anyone help me with such an application
2
votes
1answer
44 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 ...
1
vote
1answer
2k views
Json web token generator for jmeter
My testing website generates JWT token both in UI framework designed from angular CSS and backend APIs also generate JWT token which expires in 1 hour. I have to do a performance test for this website ...
2
votes
7answers
1k views
Performance test tool that can record without proxy
I'm doing a performance test for a report upload system of a bank on an intranet network. (I have to turn off the internet to access.) Initially, I used JMeter to record HTTP traffic, but then I ran ...
0
votes
2answers
3k 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?
0
votes
2answers
1k 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 ...
2
votes
3answers
137 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 ...
2
votes
0answers
489 views
How to monitor JBoss active threads of a web application via JMeter
I have a requirement to monitor JBoss active threads (of an application under test) while I am performing load test through JMeter.
After going through different articles, I came across 2 JMeter ...
2
votes
0answers
75 views
JMeter BeanShell get EC2 instance ids
I am new to Jmeter and java so forgive my question if it seems elementary. I'm trying to dynamically pull the EC instance id and IP for a specific named AWS Ec2 instance in Jmeter. Using either a ...
2
votes
0answers
100 views
Loadosophia Virtual Users not correct?
I am running a load test from JMeter and uploads the results to Loadosophia using the Loadosophia.org Uploader plugin. I use stepping thread groups to achieve a ramp-up period of about 35 seconds ...
0
votes
1answer
58 views
Performance testing using jmeter scripts
When I have my settings of the script as below
Concurrency : 1
hold-for: 0s
ramp-up: 1s
throughput: 10
iterations: 100
What does it mean
3
votes
2answers
1k views
Server has no effect in CPU graph , memory usage etc during load testing
I am doing load testing using Jmeter.
We have hosted IIS server on Machine X and one website is running using same server.
Now I am putting load on website with 30 users for 30 minutes , during ...
0
votes
1answer
91 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 ...
0
votes
1answer
219 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 ...
0
votes
3answers
46 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 ...
-2
votes
1answer
327 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 ...
2
votes
6answers
103 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 ...
1
vote
1answer
60 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 ...
1
vote
3answers
299 views
How to Automate UI, API, Performance & Security testing using a single Framework?
How to Automate UI, API, Performance & Security testing using a single Framework. One test case should check all these things. Any suggestions?
-1
votes
1answer
2k 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": "***********",
"...
5
votes
4answers
10k views
Issue with Reading CSV file when doing Distributed testing in Jmeter
I have a satisfactory test plan, that I have been using to test with from single load generation server to our application server which reads data from a CSV file. I have been been asked to setup and ...
-1
votes
2answers
75 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
1answer
132 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
vote
3answers
4k views
Recording a script in Jmeter
When I record a script in Jmeter I get hundreds of samplers that I don't need.
How can I identify which samples can be deleted without impacting the script functionality?
-1
votes
1answer
32 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.
...
0
votes
1answer
50 views
Jmeter- I am unable to sign up using CSS Selector extractor using Jmeter- Please Help
I am working on Jmeter for testing a Magento application. I am using CSS Selector Extractor for extracting the form_key element during sign up. I have provided the following parameters in CSS selector ...
1
vote
3answers
176 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
1answer
77 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 ...
6
votes
0answers
534 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 ...
1
vote
2answers
4k views
Using Jmeter to load test a Citrix web platform
We have Citrix XenApp and NetScaler and we want to load test this environment for capacity planning.
Normal use is that a user installs Citrix Receiver, which installs a plugin for his web browser (...
1
vote
1answer
244 views
How Loop count = -1 works in jmeter
Unable to understand how loop count = -1 works in jmeter?
As per my understanding, when
Threads = 2
Ramp up time = 2sec
Loop count = 2
Delay between the threads = 2/2 = 1sec
then,
At 10:00:00, T1
...
1
vote
4answers
16k views
How to login a page using JMeter?
I wanted to login my page using JMeter, i have used login config element with appropriate username and password, but it doesn't work. So please help me and guide me to solve this problem.
0
votes
1answer
37 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 ...
1
vote
2answers
10k views
How to extract values from one Http request and pass as an array to the next Http Request In Jmeter
I have a list of order number's that I have got from one HTTP request.I need to extract all these numbers and use in my next HTTP request passing as an array
1
vote
1answer
363 views
How to do load app socket testing?
We are handling the calling functionality through a socket connection in mobile Application, so anyone helps that know how to test the load on the socket connection? Jmeter is helpful for testing the ...
0
votes
2answers
201 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 ...
1
vote
1answer
106 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 ...
0
votes
1answer
308 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
3answers
140 views
Network connect lost in JMeter it goes more then 500 request
When I am using the Jmeter I created multiple threads(More than 500) when I started for the more than 500 requests on the server in 10 Seconds, then I can't get any response and API goes fail and my ...
1
vote
2answers
2k views
java.lang.OutOfMemoryError during Jmeter execution
Getting below error message during our load test in jmeter version 5.1.1.
2020-01-17 01:30:00,644 ERROR o.a.j.JMeter: Uncaught exception:
java.lang.OutOfMemoryError: Java heap space
How much Max ...
3
votes
1answer
236 views
How to Handle the odd and even number of user in Two Thread Group in jMeter
I am using JMeter to load test an Uber-like application. I have set it up so that in the first thread group the user logs in makes one request for a ride. In the second thread group "Drive Login" the ...
0
votes
1answer
258 views
Can i check at a time multiple api in jMeter? [duplicate]
I have started the JMeter in the mobile Application can I test the Multiple API at a time in Jmeter if yes then how can I check the output?
0
votes
1answer
185 views
java.lang.NullPointerException in Jmeter test execution
When I am running test JMeter getting below error:
{"id":460979218,"jsonrpc":"2.0","error":{"errorEnum":{"code":-32603,"severity":"err"},"stackTrace":"java.lang.NullPointerException\r\n\tat
com....
1
vote
1answer
49 views
JMeter: I have to run scenario where I am loading the api
I have to start with 100 users and keep increasing them gradually until they reach 1000 and I have to run it for some duration.
I am trying threads as 1000 and ramp up as 10 that means 100 users will ...
-1
votes
2answers
23 views
Having issues in running SOAP API in JMETER
Hi I'm try to execute a soap api script on jmeter but is returning 500. It's executing fine on SOAPUI
POST http://webservices.truckstop.com/v13/CACCI/Report.svc
Header manager: Content-Type: text/...
3
votes
1answer
7k views
How to push my JMeter project to Github and run it via pipeline from Jenkins
I have a .jmx file and I run it in NON-GUI mode on my local machine.
I'd like to push my project to Github and run it via pipeline from Jenkins.
How can I do that?
Do I need to push the whole ...
1
vote
2answers
903 views
Fiddler and JMeter response times are varying by considerable margin
My requirement is to hit a server request with 1000 concurrent users. When I did a sample load run with 100 concurrent threads(All threads start at the same moment), I observed that the "load time" is ...
3
votes
2answers
5k views
How to customize JMeter Dashboard Report generated in Jmeter v3.1?
the requirement is to display the timezone for test execution in PST and change the error label KO to something like Failure. Can anyone please let me know how to achieve the same when creating Jmeter ...
1
vote
1answer
94 views
When signup using jmeter it redirects to login page in magento 2?
When I am signup/register using JMeter proxy it redirects to the login page in Magento 2. Previously I am having the issue when login but it gets solved(ref link: Login doesnāt work and it redirects ...