All Questions
Tagged with automated-testing jmeter
109 questions
0
votes
1
answer
659
views
JMeter- multiple user login and extract the user id and password without using csv file
I am new to jmeter. so I need to know what is the alternative for csv data set config because if I use csv data it okay for couple of user but every time i need to change or add the data in file. it ...
0
votes
1
answer
564
views
How can I disable sub sample request under a parent request which is unnecessary in jmeter?
I am trying to disable a sub-sample request embedded in jmeter parent request that follows a redirect of the main request.
0
votes
1
answer
86
views
What is the best way to explain the findings in Jmeter to a customer?
Yes, I know a simple question at first glance, but on the second it leaves you perplexed.
Details:
One of our customers got a complete setup from us, and that was Jmeter and an integration into a ...
0
votes
1
answer
56
views
Is it possible to run automatic performance regression tests based on load and performance monitoring?
Baseline:
In our team, we want to emulate certain high loads in production over and over again as a kind of load and performance regression, so to speak. Within one test stage.
We use Datadog for ...
0
votes
1
answer
559
views
Keep getting 403 error code when executing POST request via Jmeter
keep getting error code 403 when executing POST request to Upload file. The system is using oauth2 authorization. i'm able to execute login, navigate to page but keep failing and getting 403 when ...
0
votes
1
answer
1k
views
i want to run my selenium python script with appachi jmeter .how we integrate selenium python script in apache jmeter
import time
from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
from selenium.webdriver.support.select import Select
driver = webdriver.Chrome(...
1
vote
1
answer
1k
views
JMeter 403 Error - CSRF Token
I am load testing a CSRF protected website and have successfully extracted the csrf token and authorized the login, however when loading a pages with many different graphs, all the graphs seem to fail....
2
votes
1
answer
221
views
JMeter - How can I check mail count in gmail box thread by thread
I'd like to connect gmail server before user thread group, and I wanna open inbox and check mail count in every user interaction.
Connect gmail ones
Check registration emails many times (100, 1000)
...
1
vote
1
answer
757
views
JMeter - save response to file listener but also ignore result
In JMeter, I am using a post processor running prev.setIgnore() within the setup thread group to ignore those requests.
Some of these requests are JDBC requests to select data out of the database and ...
0
votes
2
answers
799
views
Taurus - JMeter properties set via command line are not being picked up
I've got a JMeter test setup with the environment details (protocol, hostname and port number) set as properties. This is so I can repeat the same test on multiple environments through a pipeline.
...
0
votes
1
answer
664
views
Taurus & JMeter - ignore setup/teardown requests in reports
I'm using Taurus to execute JMeter test files. In my JMeter files, I need to do a small amount of setup and teardown (for authentication purposes and data seeding). They aren't directly related to the ...
1
vote
1
answer
787
views
HTTP Header Manager in test fragment is not working
I was testing some REST endpoint with JMeter. Each request requires access_token for calling any of this API. My access tokens are in a CSV file, for removing duplication I've used a test fragment ...
0
votes
2
answers
981
views
How to get variable in Flexible File Writer in JMeter
I was testing service with JMeter. I need to write the phone number into a CSV file and the phone number is a variable as you can see in the Debug Sampler. I was using Flexible File Writer for writing ...
2
votes
1
answer
2k
views
JMeter - csv data set with property as filename
In my setupThread, I firstly run some code to generate a property containing a file path. I then want to use this file path as the filename parameter for a CSV data set config (still within the ...
1
vote
1
answer
560
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 ...
0
votes
1
answer
115
views
In JMeter, what are some good methods to handle external dependencies?
As the title says, what are some ideas for dealing with non-API request related dependencies in a JMeter test?
I have a series of tests that work with zipped-up data. The first step in the test is to ...
0
votes
1
answer
578
views
Automation testing for video chat web application upto 20 users?
I have a video conference web app for multiple users to login and chat . I want to automate below scenario by using selenium and Jmeter
Scenario -
test this application for max of 20 users login into ...
1
vote
2
answers
11k
views
JMeter - FileToString with relative file path to test plan?
I've got a JMeter POST request that has body data like below:
${__FileToString(/${json_request}.txt,,)}
The json_request variable comes in from a CSV data set config, allowing me to iterate through ...
0
votes
3
answers
861
views
Can we use a counter variable inside to form another variable so I can access it's value?
I have a Regex Extractor that retrieves following values,
With this, i'm trying to retrieve all such values, orderId_1_g1=SGSM10820, orderId_2_g1=SGSM10821, orderId_3_g1=SGSM10822, and pass them in a ...
0
votes
2
answers
765
views
Can't able to print the failure Message in Jmeter if API request getting fail
I tried the multiple API hits on the server through Jmeter and save the result data in the file but some how I cant print the failure Message in the file, any body helps me how to print the failure ...
1
vote
1
answer
869
views
How to do load app socket testing?
We are handling the calling functionality through a socket connection in mobile Application, so anyone helps that know how to test the load on the socket connection? Jmeter is helpful for testing the ...
1
vote
3
answers
555
views
Network connect lost in JMeter it goes more then 500 request
When I am using the Jmeter I created multiple threads(More than 500) when I started for the more than 500 requests on the server in 10 Seconds, then I can't get any response and API goes fail and my ...
0
votes
1
answer
2k
views
Can i check at a time multiple api in jMeter? [duplicate]
I have started the JMeter in the mobile Application can I test the Multiple API at a time in Jmeter if yes then how can I check the output?
0
votes
2
answers
105
views
Is it possible to do Functional Testing w/ JMeter - Invalid input test and required field input test?
I need to know if it's possible to do functional testing (frontend or backend) with JMeter only - w/o 3rd party software. I need to be able to test required fields and bad data input in a form.
-1
votes
1
answer
136
views
Image Url Testing Through Jmeter [closed]
Please let me know how to resolve this issue i.e.
I want to test image urls(10,000 plus) through Jmeter, but jmeter showing 404 error also incase of correct image.
an example :
https://g-cdn.alwka....
0
votes
1
answer
34
views
Not able to create login 401 error on login authentication error https://cis-dev1.manageamerica.com/Account/LogOn [closed]
https://cis-dev1.manageamerica.com/Account/LogOn
User :- cis-dev
Password:- UiCD!s5s3ieQ
-1
votes
2
answers
102
views
How can we pass payment Id from response to request using Regular expression extractor in jmeter?
here I am trying to pass payment id from request to response
0
votes
1
answer
2k
views
How to Handle Dynamic path in jmeter
How to handle Dynamic Request URL Path in Jmeter. This request is not recorded in Script, it dynamically appears only in Login page response where in two places.
0
votes
1
answer
3k
views
I want to write Java code in Jmeter to copy current date in a variable and use this variable in next request. Where should I write it?
This is my code:
package dateTime;
import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.time.LocalDate;
import java.time.LocalDateTime;
import java.time.format....
1
vote
0
answers
203
views
Extract and Reuse elements as list in JMeter
[{
elem1: value,
elem2: value
},
{
elem1: value,
elem2: value
}]
I want to be able to extract all elem2 value based on a regex condition on elem1 value from a JSON response.
I ...
1
vote
0
answers
34
views
Last user gets stucked and never ramps down
I am running a script on AWS Machine.
I have 30 users and when i run my script last user is likely to never ramp down.
Also, I have cross checked many possible solutions that were on internet which ...
1
vote
0
answers
992
views
How to run selenium script recorded using Selenium IDE along with jMeter?
Here are the steps I have followed so far....
Recorded steps using Selenium IDE
Then I export it (".side" file) into a java(junit 4) file.
Created a maven project and added the necessary ...
-2
votes
1
answer
37
views
How to Extract PaymentKeys from below response in Jmeter
{"PaymentKeys":["2d34b3b2-ae35-4778-965c-6eb71421f32f",
"82ba494b-7eb9-458a-914c-6542e73e0e22"],"Attributes":
[{"Key":"CardIssuer","Value":"Unknown"},
{"Key":"MaskedCardNumber","Value":null}]}
0
votes
1
answer
119
views
How to extract sessionKey from below response in Jmeter [closed]
How to extract sessionKey from the below response using Jmeter?
<iframe frameborder="0" scrolling="no" src="https://hpc.uat.freedompay.com/api/v1.2/controls?sessionKey=...
2
votes
5
answers
3k
views
how can i apply 3 seconds wait each and every webelement in selenium?
I am trying implicit wait in my code that is not applied for each and every element. I want to want 3 sec for selecting each and every element in my scripts.
0
votes
1
answer
2k
views
Im trying to open jmeter using jmeter.bat command prompt is directly closing its not storing how to resolve this issue?
Can anyone please suggust me to solve this issue?
2
votes
2
answers
251
views
How often should we carry out load testing during development?
Within our team we would like to do load tests in a CI process. For this we want to use either Jmeter or just a comparable tool.
Jmeter offers u.a. the possibility that one can plan and execute a test ...
1
vote
1
answer
887
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
4
answers
3k
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
0
answers
29
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 ?
0
votes
1
answer
285
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 ...
1
vote
2
answers
315
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 ...
2
votes
1
answer
4k
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 ...
7
votes
2
answers
4k
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
1
answer
643
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
2
answers
176
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
2
answers
419
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
vote
1
answer
840
views
How to detect potential bottlenecks of the application from JMeter reports and Network statistics?
How should discover potential bottleneck points which can fatal from performance point of view. If I have JMeter reports and also network stats? Is it possible that I can identify the bottlenecks of ...
0
votes
1
answer
3k
views
How to setup Jmeter as server and send messages to Client over TCP
Am trying to setup Jmeter as server and send messages from Jmeter to a client TCP connection.
But unfortunately, Options in TCP Sampler of Jmeter make it a client.
1
vote
1
answer
331
views
Need help to record a script for native apps testing using Jmeter
When I tried to record a script for native app testing using Jmeter I'm facing the next issue:
when I keeping the proxy same as Jmeter's and IP address of my PC in android device, before changing the ...