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.

0
votes
0answers
15 views

Single Thread group with multiple Http Requests in JMeter

I have a Single Thread Group with Multiple HTTP requests to be run sequentially in JMeter with multiple users. I want the result to be like below: POST PUT GET DELETE POST PUT GET DELETE POST PUT ...
0
votes
0answers
11 views

Why JMeter shows double samples in summary report?

My configuration is: Number of threads : 50 Ramp-up period : 0 Loop count : 1 After running in GUI or Non-GUI mode, summary reports for few https requests samples are 50 and for few https requests ...
0
votes
1answer
23 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
19 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
26 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
34 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
13 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
25 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
27 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
29 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
24 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
18 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
24 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
46 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
58 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
65 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
30 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
15 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
33 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
36 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
45 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
51 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
18 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
25 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
77 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
68 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
46 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
23 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
28 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
45 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
1answer
51 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
39 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
138 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
47 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: ...
0
votes
2answers
63 views

JMeter SMTP Sampler: Getting Email address is not verified error when sending email

I am new to JMeter. Currently I am trying to send large number of email addresses from my server using SMTP Sampler. My SMTP Sampler is attached in SS. When I execute my test, it fails and displays "...
0
votes
2answers
26 views

Not able to record the Script using Jmeter getting below mentioned error message

Not able to record the script using Jmeter ,getting below mentioned error message.
1
vote
1answer
63 views

How to write regular expression for given text [closed]

I have below text content: trusted/75XqScyKRbuRYEATFl2cWg==:IUMN4RxUoWGSFvJMTJ69TkaA/t Where I've to extract only 75XqScyKRbuRYEATFl2cWg==:IUMN4RxUoWGSFvJMTJ69TkaA text. Someone please help me to ...
-4
votes
2answers
97 views

How script this request token with jmeter? [closed]

I am new with the tool jmeter, Can you help me script this request please? Thank you in advance for your assistance curl -S -i -k -H "Accept: application/json" -H "Content-Type: application/json"...
4
votes
3answers
113 views

How do you test, auto-logout after 60 minutes?

Our system implements that the user with out activity for 60 minutes should be logged-out of the system. How do I test this? Do i need to test it manually? Wait for 60 mins? Is there a tool that I ...
2
votes
2answers
64 views

Test the performance of a grid when loading 600,000 records using JMeter

We have an application where we load data from the database to a grid view so users can view the records. Usually 100,000 to 600,000 records will be loaded in this grid, with 600,000 as the maximum. ...
0
votes
2answers
196 views

Connection Time and response Time In JMeter

How can I set the connection timeout or the Response Timeout in JMeter through the properties (JMeter/User/System) files? I can do it by adding an HTTP Request Defaults but I need to do it through the ...
0
votes
4answers
84 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 7 ajax calls to render data on ...
0
votes
1answer
46 views

Why are api requests not getting throttled when simulated via JMeter?

I have a get api that gives data pertaining to a store based on the storeid passed in the api endpoint. The implementation is such that if more than 50 hits in a second, the api is throttled and a ...
0
votes
1answer
64 views

how to do performance test for API calls in jmeter [closed]

i have API calls i need to do Pt test for those. how can i do that. Can some one help me on this please.
1
vote
1answer
67 views

Error Rate of Jmeter Execution Report

I execute jmeter script via Blazemeter and I got 2% error. Is it a acceptable rate? In detail report I observed 1353 request are failed. I just run the script for one user. In that case non of the ...
0
votes
2answers
92 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 ...
0
votes
2answers
90 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 ...
-3
votes
1answer
31 views

<a href=“/statement.php?month=07&amp;year=2018”> need to Create two variables and pass into next reqst using JSR223 post processor [duplicate]

Create two variables assign month as one variable and year as another variable and pass into next request using JSR223 post processor am getting issue while doing this,can anyone please suggest me
-1
votes
2answers
67 views

For the provided string <a href=“/statement.php?month=07&amp;year=2018”> how to Create a two variables and pass into next reqst [closed]

Assign month as one varaible and year as one variable pass into next requst For the above thing needed using bean shell post processor and dummy sampler
-1
votes
1answer
32 views

I need to capture month and year for the string, <a href=“/statement.php?month=07&amp;year=2018”> , [duplicate]

For this task i have to capture not only month and year but also the entire string starting from i.e < a href using dummy sampler and regular expression extractor can u pls suggest me