The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
2answers
128 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
47 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
57 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
1k 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
258 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
1k 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
431 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
564 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
68 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
704 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.
1
vote
2answers
2k 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
213 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
295 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
776 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
224 views

Regular Expression

Writing regular expression for below code <select name="fromPort" class="form-inline"> <option value="Paris">Paris</option> <option value="Philadelphia">...
1
vote
1answer
690 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
211 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
561 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
189 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
187 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
331 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
106 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
529 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"...
6
votes
4answers
216 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
141 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
552 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
185 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
157 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
183 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
448 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
373 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
1k 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
33 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
96 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
34 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
1
vote
1answer
199 views

Difference between JMeter - HTML Dashboard Report(Response Times Over Time) and Response Times Over Time Listener

I have observed difference between JMeter - HTML Dashboard Report(Response Times Over Time) and Response Times Over Time Listener. I am using JMeter version 3.3 HTML Dashboard Report shows Peak value ...
0
votes
1answer
201 views

Why is JMeter losing a value?

I am using JMeter to load test a Moodle server. However my Regular Expression Extractor seems to lose the session key value. Here is the Regular Expression Extractor I am using: However, after ...
1
vote
1answer
43 views

Jmeter issue - How to record Auto login of application via jmeter

I'm pretty new to jMeter but knows the basics pretty well. I got a task to perform a loading test which goes like that: User navigate to HomePage of responsive application. User perform login via ...
1
vote
2answers
38 views

Using JMeter to test server on another continent - bad idea?

Newby question: If I use JMeter from the UK to do load testing to a webserver on the other side of the planet - Australia - will I get meaningful results, or is the latency going to mess it up? How ...
-1
votes
2answers
1k views

I need to capture all the dynamic values between the two slash symbol(i.e t-e-s-t-q-a) and replace the (-) symbol with empty space (i.e. t e s t q a) [closed]

need to capture dynamic values and replace with empty spaces replace the (-) symbol with empty space (i.e. t e s t q a). Reference image
0
votes
2answers
2k views

how to pass extracted values with single variable in jmter using regular expression

]3 i want values if i put ${testqa 1}and${ testsampleqa1 } and so on how to do that can u pls help me forthis issue
5
votes
2answers
913 views

How can I generate dashboard from two csv files in Jmeter

I am trying to generate a single dashboard from two CSV files. These two CSV files are generated from two different runs. This is what I tried so far. Merge the contents of two CSV files and prepare ...
1
vote
2answers
6k 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
95 views

Jmeter passes me to application with wrong credentials

i recorded script with valid credentials. Now i am trying to login the application with wrong credentials to test if application is responding correctly. Unfortunately it passes me with nonsense ...
1
vote
2answers
4k views

Getting 400 response error for my jmeter request

I am running Jmeter, request as beow. I Am getting Response code: 400 I may be due to the format of the parameters which send for the request. I have recoded requested via blazermeter. It ...
0
votes
1answer
155 views

JMeter Summary Report questions

1) Can I say there is a defect when the error % is 70%? 2) How do I know if is a defect in API response. 3) What is throughput? 4) How do I explain the summary report to the developer?
1
vote
2answers
72 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 ...
0
votes
1answer
821 views

No files displaying (.log and .jtl files) in jenkins Workspace post running a JMeter jmx script via jenkins?

Running a JMeter script via Jenkins with Performance plugin via Windows batch command as: cd C:/apache-jmeter-4.0/apache-jmeter-4.0/bin jmeter -n -t C:/Users/Administrator/Desktop/JMeter/Suite.jmx -l ...
1
vote
3answers
159 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

JMeter executing samplers in sequential order wherein each subsequent request depends on the response of the preceding one?

I have a JMeter script wherein the thread group has eight samplers and each sampler depends on the response of the preceding one. When I run this jmx script with 'Number of Threads' as one, it works ...