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
1answer
95 views

JMeter to Taurus - how to handle external property files and pass/fail criteria?

I've got a lot of JMeter tests setup - multiple test plans, thread groups, requests, asserts etc. We're using it for our functional API testing, as well as performance testing. I am now investigating ...
1
vote
1answer
75 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
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 ...
1
vote
1answer
103 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 ...
1
vote
1answer
3k 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 ...
1
vote
2answers
862 views

Jmeter vs Selenium websocket testing differences

I am researching the differences between Selenium and JMeter and I stumbled across the following statement about Selenium: Even though WebSocket might be encapsulated into a web session and ...
1
vote
1answer
275 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
1answer
565 views

How can I login with 100 different users in the web application simultaneously and then each user performs different functions in JMeter?

I dont anything about JMeter, but i wanted to ask if this thing is possible in JMeter. 100 users with different username/password login in concurrently in the web application. Each user stays logged ...
1
vote
1answer
5k views

JMeter - how to stimulate parallel requests

I have the following setup: I want to execute 100 requests, 10 times. And as I am using parallel controller I assume that I am executing 300 requests at the same second. Can I assume that my threads ...
1
vote
1answer
3k views

How to extract multiple named values from a JSON object with jMeter

I want to extract all the serviceItemId's, this object I got it from an external system and I have to verify the contents are correct or not. The used JSON Object: [ [ { "...
1
vote
1answer
3k views

JMETER: Getting timestamp error in log file when giving CSV filename in Summary Report

When I am giving a CSV filename path in Summary Report, I get an error to see log file. I see log file and it shows: 2019-01-30 14:23:38,146 WARN o.a.j.s.CSVSaveService: Unknown column name 2019-01-...
1
vote
1answer
523 views

JMeter TestLogicalAction START_NEXT_ITERATION_OF_CURRENT_LOOP - what it means?

https://jmeter.apache.org/api/org/apache/jmeter/threads/JMeterContext.TestLogicalAction.html The docs does not say what is result of START_NEXT_ITERATION_OF_CURRENT_LOOP and I could not find out via ...
1
vote
2answers
1k views

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

Recently I am 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 ...
1
vote
1answer
2k views

How to increase the date range to 3 days from now using JMeter HTTP request?

In the example below, I would like to set the end date to a date which is 3 or 5 days from the start date, for now my request is sending: startDate=2019-01-03T09:38:00.452Z&endDate=2019-01-03T09:...
1
vote
1answer
1k views

How to load test Apache Kafka using JMeter?

Kafka is a distributed, partitioned, replicated commit log service. It provides the functionality of a messaging system. I need to load test KAFKA using JMeter effectively as we have recently replaced ...
1
vote
2answers
101 views

API testing using Jmeter

I am trying to do some API testing in Jmeter. I was trying to follow this https://octoperf.com/blog/2018/04/23/jmeter-rest-api-testing/ . But I need to get token from cookie. Can anyone suggest me a ...
1
vote
1answer
804 views

How can i simulate a load for downloading a file for 500 users?

We are doing a performance for a downloading a file from the web for 500 users. I have written a selenium script for the downloading file from the web using JMeter. The problem is will be able to ...
1
vote
4answers
309 views

Load testing using Jmeter

I am new to JMeter and I have to do load testing for my website. I want to achieve this for 500 users on concurrent sessions. On my website, once the user logs in there are 7 Ajax calls to render data ...
1
vote
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 ...
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
2answers
125 views

What is the best way to write TDD test cases? Can I achieve TDD through JMeter?

I have been asked to write test cases in the TDD style. I have no experience about writing TDD test cases. I have read about TDD and in essence it talks about defining test cases prior to code and ...
1
vote
1answer
530 views

How to run a HTTP request again, in between of other multiple requests

I am using the concept of the simple controller. 1. I have created an SC "X" in which, using multiple HTTP requests. 2. Created another SC "Y" in which, using multiple HTTP requests. After running ...
1
vote
2answers
247 views

How to Conduct a performance test for more than 100K users [closed]

Currently we want to conduct a performance test for more than 100k users. I am comparing some tools like Jmeter/Gatling/Tsung/nGrinder, which one will be suitable for us?
1
vote
1answer
3k views

How to Run Entire Test Plan continuously for multiple Times in JMeter(Not thread group ) [duplicate]

I created Test plan in JMeter with 2 Thread group. one Thread group consisting of 100(user) Number of thread and other consisting of 10(user) Number of thread. So i want run this entire Test plan ...
1
vote
1answer
2k views

How to store all and multiple response data using setProperty Function in jmeter

Here is the scenario : 20 users with one thread group and 6 driver with other thread group here interlink the thread group with beanshell Assertion with setproperty method so from 20 user is ...
1
vote
2answers
3k views

How to create multiple new users in a site by using JMeter

I followed the instructions from this Stack Overflow page: Record create user scenario using JMeter. Parametrize add user request (username, details) with CSV data set config element. Add CSV data ...
1
vote
4answers
2k views

Standard deviation - What does the values actually mean?

I understand that a higher standard deviation means that there is a variation in the response time, and vice versa for a low standard deviation. But what is the context of the actual value? Is it in ...
1
vote
2answers
13k views

How to handle the dynamic URL path and process the request in JMeter

I am trying to handle the dynamic path of an HTTP request using JMeter. But I am not able to do so. I have tried post processor in a previous HTTP request to get the next HTTP request dynamic path but ...
1
vote
1answer
2k views

Jmeter Dashboard report - how to change 'KO' to 'FAILED' in Pie chart of Summary Report

Requirement is to change the 'KO'to 'FAILED' appearing in Request Summary PIE CHART of Jmeter Dashboard report. I made the changes as described in the following link. Was able to change 'KO' in ...
1
vote
1answer
2k views

How can I use jwt libraries in JMeter to decrypt an encrypted token, which is received from API response in Jmeter 3.0?

How can I use jwt libraries in JMeter to decrypt an encrypted token which is received from API response in Jmeter 3.0 script?
1
vote
2answers
967 views

JMeter - Pass http response values to jdbc request without using xpath extractor?

I'm using JMeter and I need to get the value of <productid> from an Http API response (productid = 001)[see Http API response screenshot] and pass it to a jdbc request [see JDBC request ...
1
vote
2answers
12k views

Getting error 403 in jmeter

i have record script in badboy and generate .jmx file. In jmeter open that file and run then display error
1
vote
1answer
4k views

How to get API response XML values in to variables in Jmeter tool for matching purpose with DB?

How to get API response XML values in to variables in Jmeter tool? see bold color values. my plan is to assign those variables in to response assertion > 'pattern to test' for match with DB values(...
1
vote
1answer
1k views

How can I Use JDBC Request/Debug Sampler results match with HTTP Response in JMeter?

How do I use JDBC Request/Debug Sampler results match with HTTP Response in JMeter using response assertions? Can you provide me with an example?
1
vote
1answer
4k views

Multiple response assertions and Xpath assertions not working

Multiple response assertions and Xpath assertions not working see below.could you please explain it with example?
1
vote
1answer
17k views

Cannot load JDBC driver class 'com.mysql.jdbc.Driver' in Jmeter [closed]

When you running below Jmeter test plan then "Cannot load JDBC driver class 'com.mysql.jdbc.Driver' response message given. Can any one have any solution for this? Response code: null 0 Response ...
1
vote
1answer
2k views

Using Jmeter How to Match values in Json response with JDBC response?

How to Match values in JSON response with JDBC response? just want to check that correct values passing in JSON response and need to verify that those values are matched with JDBC response (fetching ...
1
vote
1answer
102 views

How can I have a specific number of items on checkout in JMeter?

I am currently trying to edit a jmeter test (for eCommerce) so i would have 10% of X number of users have a specific number of 5 products in the cart ( nothing more, nothing less). If using a While ...
1
vote
2answers
10k views

How to remove square brackets [] after extracting response using json path extractor?

I have used Json Path Extractor to extract value of Cid. The value is 1034. When I pass this variable to next HTTP request it goes like [1034]. My question is, how to remove these [] square ...
1
vote
2answers
703 views

Apache JMeter Basic Queries

I'm new to JMeter and am confused by several things: Average response time calculation: I was testing a website’s home page to calculate the average response time, i.e. how much time the page takes ...
1
vote
3answers
5k views

Few requests in Jmeter does not get response from server, getting “Socket.timeout” exception

I am running a test plan with 8,000 concurrent users in a Distributed Environment(20 Slaves and One Master) on Jmeter. A few (approx 20-30) requests are not getting any response for a long time (...
1
vote
2answers
1k views

Unable to start the test in JMeter with 1000 users . (I see thread count in negative)

Using a controller, I am trying to connect two remote machines to start the test. With low load (example: 50 users) I was able to run all the 5 scripts. My goal is to run with 1000 users. When I do ...
1
vote
1answer
4k views

Unable to record Android native app requests in jmeter

I have followed the steps given in article http://www.testingdiaries.com/mobile-performance-testing-record-script-jmeter/ I set manual proxy in phone and started the recorder but none of my requests ...
1
vote
3answers
3k views

How to run simultaneous threads with Jmeter?

How 100 user hit a site at a time? I created a test plan for an eCommerce site to process checkout Here: Thread group = 1 ramp up = 0 Loop count= 100 But what I get is, 2nd thread is started ...
1
vote
2answers
6k views

Setting up RAMP UP TIME and delay between requests in JMETER

If I set the number of threads to 50 and ramp up time to 750 - does it mean that 15 users will come on site every second? If yes then how can I set a delay between users? Because for requests I am ...
1
vote
1answer
61 views

Load generating on server using Jmeter

I have a requirement to do load test on an API (which is having response as a json .No UI and etc). What is the best component to use to test with 100 users or more .Which thread group is best to use ...
1
vote
1answer
1k views

Sending in consecutive sets of users in jmeter

My question is similar to this one: Trying to simulate users logging in but staying idle However, there weren't really any suggestions on how to implement on jmeter. More specifically, this is the ...
1
vote
2answers
3k views

Multiple instances of the browsers- Jmeter

I have created a Thread Group which has Firefox Driver Config , a Web driver Sampler and a View Results Tree Listener. I have also added CSV Data set Config and passing username and Passwords through ...
1
vote
1answer
1k views

How to test performance and load for Silverlight application in Jmeter

Can anyone provide a step by step process explaining how to test performance and load in Jmeter for a Silverlight application?
1
vote
2answers
6k views

Problems with reading from CSV in while condition in JMeter

With different users I need to log to the same page and with every user I need to send same requests which contain some numbers that I have stored in CSV file (001, 002, 003) in every column one ...

1
4 5
6
7 8
17