Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

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.

0
votes
1answer
59 views

I am trying to extract a part of Json response, where i am not able to find the correct regex [closed]

{ "shipToAddress":{ "country":"SE", "zipCode":"AB101AA", "emailAddress":"abc@gmail.com" }, "deliveryArrangementsId":"DA100000011", "itemLines":{ "itemLine":[{ "unitWeight":"...
1
vote
0answers
58 views

Getting an error in response Header

We are doing API testing. For one API (in the middle) we need one token code which is generating in redirect URL of one web application flow. Since we are doing performance testing so I am adding the ...
1
vote
1answer
66 views

Compare 2 JDBC response in Jmeter

I want to compare 2 JDBC responses: I have Source reponse from 1 JDBC request as below in table format: (Source DB)JDBC Response response1: (Target DB)JDBC Reponse 2: I am saving the response as ...
1
vote
3answers
78 views

How does response time react to increasing load?

I'm testing my application locally with JMeter, and I have a doubt about how the response time changes as far as users are increasing. If I test my service with, for example: 100 Threads, 100 Ramp-Up ...
0
votes
0answers
106 views

Not getting proper redirect url(302) in location field of response header in Jmeter

I am working on one web-based application using JMeter tool. In application, after submitting my last request my URL is redirecting to one google link in which I am getting one access token which I ...
1
vote
1answer
37 views

For my POST method i used Threads User multiple but actually when i run jmeter record will added only single time

I have created Thread Group with 5 number of users, but in actual when I run my POST method then record add only single time, but I want to add 5 records in a single run to check performance for POST ...
1
vote
2answers
160 views

Loading Test - Address already in use

Good morning colleagues. I have jmeter test scenario I must run on my back-end service. If I use 1 or ~50 Threads(users) in one time there is no problem. But when I try to set more than 50 users I ...
1
vote
0answers
23 views

Use variable in Graph Title

I wanna include count of threads in the Graph Title like this : Now, this is just text ${__threadNum}, but I want to set value depend the current Number of Threads. Is that possible ?
1
vote
0answers
36 views

JMeter script from version 2 takes many hours to open in version 5

I want to switch a script from version 2 to version 5 of JMeter. (Strangely) I could not find instructions how to convert scripts via web search. One of my guesses is that scripts does not require ...
0
votes
1answer
264 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
100 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
1answer
78 views

How to Calculate Number of Samples for Concurrent users using either jp@gc-Ultimate Group or Concurrency Thread Group in Jmeter

Running 10 Thread with 10 sec of start up delay and 10 sec hold and 10 sec shutdown time Below is the link jmeter setup for configuration https://i.imgur.com/yweUBdx.png Below is the link - summary ...
0
votes
2answers
53 views

JMeter setNumThreads does not work if number of thread is set as ${varname}

I was given some already done test plan. I added (simple) groovy script that changes number of threads (users) for thread groups by using standard setNumThreads method. https://jmeter.apache.org/api/...
1
vote
1answer
324 views

Encrypted API call via JMeter

I am currently working on testing the REST API and need to send some request in JSON format to a server which I am testing through JMeter.So, how can I send the encrypted request by AES encryption ...
0
votes
2answers
164 views

How do you record a jmeter script/create a jmeter test plan for a ssl mobile app? Internet won't connect after setting manual proxy

I can't record a script in Jmeter or Blazemeter to test a mobile app. After setting up the manual proxy, started the recording script in jmeter, installed the ca certificate on the ipad, my ipad ...
0
votes
2answers
59 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 ...
0
votes
2answers
146 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
1answer
95 views

How to create Jmeter script for a website with auth0 login?

How do I create a Jmeter script for the login feature in a website using auth0 login (Login with gmail account details). The steps are as follows: Open Website Click on "Login with Gmail" Enter Gmail ...
0
votes
1answer
31 views

I got an issue with Jms point to point sampler

I got: Response error message as javax.naming.NameNotFoundException: Q.RPL Can you please suggest solution for this issue with screenshots?
1
vote
1answer
29 views

How to load json data in web application UI

I have one drop down list in my application. Each drop down option is one individual JSON POST request. Even i select any drop down option (json request), data will load but URL won't change. I want ...
1
vote
1answer
88 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:...
0
votes
1answer
71 views

Json Path extractor using Jmeter

Using Json extractor from the below response I would like to extract the only customerProductIdentifier where highLevelProduct is HSI, and in my next Json extractor similarly would like to extract the ...
0
votes
1answer
70 views

Communication failure in JDBC Database?

Got error message as response "message as communication failure" i have added mysql connector in lib folder. can you please suggest me solution for this.
1
vote
1answer
370 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 ...
0
votes
1answer
251 views

How to convert xml file to jmx file in jmeter?

Please refer the XML data below: <?xml version="1.0" encoding="UTF-8"?> <jmeterTestPlan version="1.2" properties="2.8" jmeter="2.13 r1665067"> <hashTree> <TestPlan guiclass=...
0
votes
1answer
37 views

Got run time error in parsing javascript using while controller (got only one request, need 5 requests in view results tree)

i need 5 requests as like in l'st screenshot by using code without error pls suggest I got only one request in view results tree needed 5 requests as mentioned in while controller code in 2 nd ...
0
votes
1answer
32 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
2answers
46 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 ...
0
votes
1answer
26 views

How to fetch links from search results using fileoutputstream in jmeter (url:www.ask.com, search result:Buddha quotes)

How to fetch Buddha quotes links from above provided url using file output stream in jmeter and what would be exact regular expression?
0
votes
1answer
62 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
1answer
101 views

Multiple API requests from CSV file as parameters

Let's say that my domain is api.test.com, path is /v1/products and I have to do 1000 API requests with different products as parameters. Examples: GET api.com/v1/products/product1 GET api.com/v1/...
0
votes
1answer
36 views

Nested Parameterization in JMeter

I wanted to parameterize a set of values within another parameterized value. (Parameterizing values into a title which is also to be parameterized). Can someone please help me how to go about?
0
votes
1answer
42 views

Table row data is not being accessed under table body in Jmeter

I am trying to access the table row data which is under the table body. Following is my HTML: <div class="panel panel-default" id="confirmationNotificationPanel"> <div class="...
1
vote
1answer
54 views

Not able to launch JMeter after a certain time

I lately updated to the JMeter 5.0, and initially, it worked fine. But after some time, say after a day, it does not open when I try launching it. I tried launching it by clicking the jar file of ...
1
vote
0answers
188 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
1answer
882 views

Required MultipartFile parameter 'file' is not present in Jmeter

I am using JMeter to perform file upload test. I have created an HTTP request to upload the file but I am getting 400 Error. Following is the data I am using to perform the test. The file type is ...
1
vote
2answers
111 views

Is there any pros and cons of writing scripts in jmeter without using selenium?

JMeter can be used for load testing etc. Also, it's possible to do functional testing as well. I know selenium scripts can be run in JMeter. Why use selenium if most of the work can be ...
1
vote
1answer
41 views

Evaluation of application performance using JMeter

We have a stand-alone application which has modules(API's) integrated within. Created JMeter tests to valid peak load and stress etc. Can we validate metrics such as availability, CPU Utilization? ...
1
vote
1answer
42 views

Jmeter extract from first sub sample

Is there a way to only parse the first sub sample of a HTTP Request? I have request that gives two sub samples. The first sub sample is 302 that redirects to the second sub sample. In the first sub ...
0
votes
1answer
694 views

Call Python class in JMeter

How can I call python class in JMeter to test the performance of the python code as we do in java by importing jar file and write a script in BeanShell?
1
vote
1answer
183 views

Deviation in JMeter

I am new to Web API development. I have created a small Web API, which returns a JSON output. The Web API is running on another PC in the same network. I have been connected to the API via GET ...
0
votes
1answer
737 views

Html file is not generated in JMeter report in non GUI mode

I run my test plan in non GUI mode and it executed successfully, however it was only the csv report that got generated while the html report wasn't generated in the specified folder. this is my folder ...
0
votes
1answer
279 views

Response message: Unauthorized in Jmeter using a https request

I'm new to JMeter, I am recording a web application with HTTPS test script recorder but when I play it after recording I am getting error 401 on the login screen of the application. Could anyone ...
0
votes
1answer
233 views

Proxy setting for jmeter not working properly

I am trying to set up proxy in firefox so that I can use recoding controller from Jmeter GUI. Below is my network settings in firefox: and also the jmeter GUI: But when I try to load my site in ...
0
votes
1answer
43 views

Run in jmeter HTTP Request

I want to do this: 1- Run 10 query the same time, in one component and after pass for 10 HTTP Request, one by one How can I do this? Thanks
0
votes
1answer
434 views

How can we use Jmeter variable in groovy script

I have extracted an element using Expath extractor and it is returning below: Nov. 2015 However I only need the date that is 11/1/2015.
0
votes
1answer
738 views

How to enforce run Once Only Controller in Jmeter

I'm a newcomer to Jmeter and want to be able to run some setup requests once only, in which some variables are setup, before I then run a set of further requests for as many users as I set in the ...
0
votes
1answer
122 views

How do I get the CSRF Token inside JS variable in JMeter

The response that I'm getting in JMeter vs Browser's Network tab response doesn't match. There's a CSRF token but it's not placed on a hidden input tag it's inside a JS var and is being returned when ...
0
votes
1answer
244 views

How to check if a response has string or integer value in jmeter?

I tried using a regex for numbers only but it didn't work. Blow snapshot shows my configuration. i tried various combinations like contains, matches etc.
0
votes
1answer
345 views

Jmeter env custom function doesn't read environment variable

I was following blazemeter tutorial on how to run Jmeter script from the command line (cmd.exe in Windows10 OS). I'm trying to pass environment variable to the Jmeter ${__env} (according to this page) ...