Stack Exchange Network

Stack Exchange network consists of 174 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]

The Apache JMeter desktop application is open source software, a 100% pure Java application designed to load test functional behavior and measure performance. It was originally designed for testing Web Applications but has since expanded to other test functions.

1
vote
2answers
49 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
21 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
31 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
32 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
24 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
16 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
41 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
53 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
49 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
37 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
38 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 dispalyed in command prompt.Can anyone pls suggest for this issue how can i see logs in log viewer panel ...
0
votes
1answer
39 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
18 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
23 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
29 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
35 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
33 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
85 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
57 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
25 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
28 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
39 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
18 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
34 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
50 views

How to validate XML response assertion in jmeter

<DevCap ID="EFI_InterpretingParams" Name="InterpretingParams"> <DevCap MaxOccurs="1" MinOccurs="0" Name="ObjectResolution"> <XYPairState ...
0
votes
1answer
42 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
26 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
20 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
32 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
74 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
327 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
77 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
32 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? ...
0
votes
1answer
23 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
137 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
91 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
241 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
123 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
54 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
27 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
211 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
185 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
77 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
65 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
87 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) ...
1
vote
1answer
62 views

Regular Expression

Writing regular expression for below code <select name="fromPort" class="form-inline"> <option value="Paris">Paris</option> <option value="Philadelphia">...
0
votes
2answers
101 views

How to run samplers sequentially in JMeter while running samplers by throughput?

I have ~10 scripts in my Test Plan which are dependent. (e.g. the 2nd request couldn't be passed if the 1st request is not passed - it is restriction of functionality) My goal is to run JMeter ...
1
vote
1answer
41 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 ...
3
votes
6answers
226 views

How to simulate multiple login and request on mobile app?

Just wanted to ask if there is a possibility to simulate multiple logins and request(e.g.100 users) on a mobile app? Is it possible using on JMeter? If Yes, How? Are there any other specific tools ...
0
votes
2answers
64 views

Setting the Benchmark for performance Test

I have a task to set a performance benchmark using stat given by google analytics. Google Analytics stats: My Research:- What I did was Since daily user count is 122154 I set benchmark as follows: ...