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.

148 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
1answer
451 views

Unable to launch Citrix application through JMeter

I am trying to test a standalone application on the Citrix platform using JMeter. I have installed the Citrix receiver as well as the JMeter ICA plugin for the same. But I am not able to launch the ...
4
votes
2answers
712 views

How to use Jmeter Xpath extractor for multiple run in dynamic API elements

XPath extractor response assertion passed first run but in second run it is getting failed because <name>pc</name> is not coming in API. How to skip this element if it is not coming in ...
3
votes
1answer
354 views

HTTP request having an Edit action is giving an unauthorized error in JMeter Script

I recorded my scripts using JMeter proxy recorder. The JMeter scripts ran perfectly after I configured the Header Manager and the Authorization Manager. All the HTTP requests were responded perfectly. ...
3
votes
1answer
2k views

Stops JMeter test after desired sample count

The requirement is to stop the JMeter test after desired sample count is achieved. I have tried following approach...but the threads are not stopping as expected. Please let me know how to solve the ...
3
votes
3answers
1k views

How do I parse more than one parameters from the response in Jmeter?

Currently, I am using JSON Path Extractor as my POST PROCESSOR to parse parameters from response body. Suppose say I have to parse two parameters from response 'AuthenticationToken' as well as 'userId'...
2
votes
1answer
158 views

How to Handle the odd and even number of user in Two Thread Group in jMeter

I am using JMeter to load test an Uber-like application. I have set it up so that in the first thread group the user logs in makes one request for a ride. In the second thread group "Drive Login" the ...
2
votes
1answer
459 views

How to test a WCF service with JMeter when the WCF method accepts parameter as an Stream Object

There is a WCF service. The method i have to access has 1 parameter as input whoes type is Stream. I don't know how to provide stream object from JMeter to the WCF service. Currently i have written ...
2
votes
2answers
2k views

How to customize JMeter Dashboard Report generated in Jmeter v3.1?

the requirement is to display the timezone for test execution in PST and change the error label KO to something like Failure. Can anyone please let me know how to achieve the same when creating Jmeter ...
2
votes
1answer
285 views

Load Testing a ADF 12c application using JMETER

Has anyone been successful with load testing an application in oracle ADF 12c using JMETER? We are able to record just fine but when it comes to playback we get all sorts of errors. We have also ...
2
votes
0answers
599 views

HP ALM and JMeter integration

Has anyone tried to Integrate HP ALM with JMeter? Very new to HP ALM so not sure on how to integrate it with JMeter. On high level following functionality should work trigger test with HP ALM ...
2
votes
0answers
261 views

JMeter - Using Variables in XML scripts with $ references where the values are selected by ODBC connection to a database

In JMeter : I have to set up a DataBase with an ODBC that I'm hoping to use to streamline XML content in Jmeter scripts. When my data changes, I would just change it in the database instead of in each ...
2
votes
0answers
439 views

How to monitor JBoss active threads of a web application via JMeter

I have a requirement to monitor JBoss active threads (of application under test) while I am performing load test through JMeter. After going through different articles, I came across 2 JMeter which ...
2
votes
0answers
62 views

JMeter BeanShell get EC2 instance ids

I am new to Jmeter and java so forgive my question if it seems elementary. I'm trying to dynamically pull the EC isntance id and IP for a specifica named AWS Ec2 instance in Jmeter. Using either a ...
2
votes
0answers
96 views

Loadosophia Virtual Users not correct?

I am running a load test from JMeter and uploads the results to Loadosophia using the Loadosophia.org Uploader plugin. I use stepping thread groups to achieve a ramp-up period of about 35 seconds ...
1
vote
0answers
32 views

JMeter - 403 forbidden response

I have URL: http://******-********-management.*********.net.s3-website-**-northeast-1.amazonaws.com/session/signin. I have created HTTP request sampler and my test plan looks like: Before sign-in ...
1
vote
1answer
49 views

Having issues with Jmeter Login Test keep on failing

I am trying to learn the Jmeter and performing simple login test for a test website. but I am keep on getting following error, '---------------------------------------------------------------------- ...
1
vote
1answer
26 views

Regarding reading Jmeter output in Java

I have executed jmeter script through java, however I am not able to get output in java. Could you please help me in that. Regards Pankaj
1
vote
1answer
25 views

How to check latency with JMS PUB/SUB in Jmeter?

Created 2 samplers: JMS publisher and JMS Subscriber JMS Publisher send msgs on one queue and JMS subscriber listens msgs on another topic. How can I link these msgs to show latency?? AUT is ...
1
vote
1answer
245 views

How can I create a Test scenario in JMeter where multiple users login and logout concurrently for a certain ramp up time?

I am a complete newbie in JMeter or load testing in general. The JMeter Test scenario i want to create:- 50 different users(having different login credentials) login into a web application - do ...
1
vote
0answers
70 views

JMeter starting next thread loop using setTestLogicalAction(TestLogicalAction.START_NEXT_ITERATION_OF_THREAD)

In JMeter5.1 I am using a beanShell pre-processor to achieve following If previous request fails wait for 5 sec Start next thread loop But it is not restarting the next loop. Searched everywhere on ...
1
vote
2answers
139 views

How to extract a number from response body in jmeter?

I am calling 2 different endpoints in my jmeter test. The first endpoint should provide me with a single number (for instance 568959) in its response body and then I must pass it to my second ...
1
vote
0answers
82 views

JMeter Selenium Browser not opening up new tab

I am executing my Jmeter test with Selenium and once I click on an Analysis link, it ideally opens up in a new tab on the same browser window. However, If I am click on the link using Jmeter Selenium, ...
1
vote
1answer
136 views

I am getting NET::ERR_CERT_AUTHORITY_INVALID when try to record script from JMeter

I setup the same proxy setting in my browser setting as in the JMeter. I tried to record some other website with same settings and they recorded successfully. Following is the screenshot of the ...
1
vote
0answers
25 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
1answer
121 views

How to run selenium script recorded using Selenium IDE along with jMeter?

Here are the steps I have followed so far.... 1) Recorded steps using Selenium IDE 2) Then I export it (".side" file) into a java(junit 4) file. 3) Created a maven project and added the ...
1
vote
0answers
98 views

Unable to run For Each Controller in jmeter

I have list of names in my application which I extracted using regular expression extractor. Now i need to add ForEach Controller to run through the list of names but I am unable to get it working. ...
1
vote
1answer
40 views

JMeter - Multi User login to a site, each user picks up one number randomly and send HTTP request

I have requirement given below. 100 different users (Defined in CSV file) - Login to a site sequentially. Simultaneously logged in users start to a pick a Number from a CSV file (Totallu 10,000 ...
1
vote
0answers
87 views

Getting error in Response header Location field

We are doing web application scripting using JMeter. In the flow after submitting the application URL is redirecting and we are getting one auth token in the location field of response header which ...
1
vote
0answers
68 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
200 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
0answers
25 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
37 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 ...
1
vote
1answer
856 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 ...
1
vote
1answer
148 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
309 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 ...
1
vote
1answer
207 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 ...
1
vote
0answers
52 views

Clientside Performance Tests for Hybrid App

I am using JMeter for testing the server side performance of our Mobile App. What tool can I use to test the client side performance of the app? I know there is a plug in for JMeter but as far as I ...
1
vote
2answers
394 views

Compare web content with the CSV File

I want to compare my data in CSV with the web content. The data in CSV file comprises of multiple rows and column. How can I verify that the data inputted on the web is correct comparing it with the ...
1
vote
1answer
459 views

How to use __iterationNum() custom function in JMeter to assign csv file to Http Request

Here I'm assigning CSV file on the basis of loop count so that done by using __iterationNum() JMeter custom function (custom JMeter Function plugin added to JMeter) But this stuff is not working for ...
1
vote
0answers
842 views

Iteration through multiple while controller using Jmeter

I have an API service, which accepts JSON input and gives multiple JSON in a single response. In first CSV, I have endpoint which I will access by HTTP request, and the input JSON which I will post ...
1
vote
0answers
71 views

How to Download public key infrastructure files for JMeter tests?

How to Download public key infrastructure files for JMeter tests? Ref Link
1
vote
0answers
1k views

JMeter REST API script not working over Https

I have a JMeter script, that actually have a "HTTP Sampler" for hitting a REST API. This Rest service is running on HTTPS that is currently using "Self-Signed Certificate", but when I run my script ...
1
vote
1answer
703 views

How to get number of requests sent and actually received by server in JMeter

I'm using Jmeter in remote env.(1manager server, 3-5 querying servers, 1 target server). I have fixed EPS/QPS and threads(gradually increasing up to a certain value). I want to know if there is any ...
1
vote
0answers
175 views

Jmeter - What is the functioning of “Per User” checkbox under Throughput Controller?

I need to divide the load on my application with some percentages i.e. Login Module - 60%, Accounts - 10%, Other Modules - 30%. After few research i find a option under Throughput Controller section ...
1
vote
0answers
530 views

JMeter cannot connect to local IP

I am trying to run JMeter with distibuted mode, on one VM and my local machine. I am able to execute the tests through the command line with the VM but it fails when attempting to use my local host of ...
1
vote
1answer
453 views

Record script using JMeter proxy from command line

I have one requirement: I need to execute a command in command prompt that should trigger “Start” button of “HTTP(S) Test Script Recorder”. Even if I don't press “Start” button, the HTTP response ...
1
vote
0answers
942 views

Generate personalised Report with Ant for jmeter script

I have a testing jmeter script that runs a single request for a REST service I had run ant run generate-report the report is successfully generated but it seems quite no descriptive I need the ...
1
vote
0answers
774 views

How to prevent Jmeter from stopping internet?

I am doing some benchmark testing. During this, I have to increase numbers of users, keeping ramp-up time 1 and loop count 1. First I started with 100 users it passed, then I put 500 users it failed, ...
1
vote
2answers
980 views

Use of Access Log sampler in JMeter

I tried to use "access log sampler" for two websites. for first one I get the logs but for 2nd logs were not generated. 1st one having SSH/SSL certificated 2nd site having expired SSL. May I know ...
0
votes
0answers
3 views

JMeter - How to rampup a specific number of users and to control their iteration per second

I've a requirement for a performance test which says: To ramp-up in 30 minutes, hold the iterations for 60 minutes and then to ramp-down in 30 minutes. The Iteration includes 6 transactions The ...