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
1answer
40 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 ...
0
votes
0answers
25 views

Avoid duplicates from regular expression extractor in jmeter

I have regular expression extractor getting data with duplicates and but i want to pass those data in to the request with foreach loop , ex: name_matchNr only matching value but it has 16 including ...
1
vote
0answers
65 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. ...
-2
votes
1answer
31 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
1answer
32 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=...
0
votes
1answer
80 views

jmeter v5.1.1 - cannot generate html report

I have a result file of Concurrency Thread Group test of 500 users. The file has aproximetly 58K rows and 16Mb 1) I tried generating a report through "Tool > Generate html report" but get time-out ...
0
votes
0answers
21 views

Failed to generate reports using apache jmeter

I'm getting below error while generating performance test reports using Apache-JMeter. Please guide me to fix this issue. Error :"Error in NonGUIDriver java.lang.IllegalArgumentException: Results ...
0
votes
0answers
18 views

response assertion in Jmeter- Multiple failing values to be displayed in the result

using jmeter- 3.2 I am trying to give patterns to test: Valid value Invalid value1 Valid value Invalid value2 now i want the assertion to be failing for the both the Invalid values. The result is ...
0
votes
1answer
34 views

How to do better performance testing using JMeter for mobile application

I am new to JMeter, Can anyone help me to do better performance testing of mobile application and graph with different ranging. e.g : Thread = 10 Ramp-Up=0 Loop Count =1 The outcome is Throughput ...
0
votes
0answers
28 views

How to add ‘TCPClient classname’ in jmeter

In TCP sampler in jMeter, while simulating with multiple users, what we need to fill in ‘TCPClient classname’? Which class name, I can use? From where this class I will get or how can I create?
0
votes
0answers
273 views

Error while opening JMeter Plugin Manager (jmeter-plugins-manager-1.3)

I have added the plugin manager jar(jmeter-plugins-manager-1.3) in lib/ext folder of Jmeter. I am not using any proxy settings. I am opening jmeter using run as adminstrator. I keep getting below ...
0
votes
0answers
23 views

Jmeter does not write result to csv in some listeners

I am using jmeter 5.1.1 and have recorded a script and then removed port 8888 from HTTP Request Defaults. If I used the port and run, then View Results Tree shows 100% error...connection error. But ...
0
votes
0answers
20 views

JMETER JDBCRequest call a storedprocedure with xml input

In JMETER JDBCRequest how can I call a storedprocedure with xml input variable, The SP's input variable is defined as bellow: IN PI_XML_DOC XML
0
votes
1answer
160 views

JMeter - Filter in JSON Extractor by JMeter Variable

I'm trying to use the JSON Extractor in JMeter 5.1 to get at a value (an id) in a ReactJS app so that I can use this value in the URL of an api call to a DELETE. My JSON payload looks something like ...
0
votes
0answers
101 views

Selenium firefox driver can not install firefox extension

When runnig jmeter on the Linux OS from GUI mode it fails. The part of log file is below org.openqa.selenium.WebDriverException: Failed to connect to binary FirefoxBinary(/usr/bin/firefox) on port ...
-1
votes
2answers
116 views

How to generate number of threads(Users) randomly in Jmeter?

I have tried to generate random thread in this way but it is not working.
0
votes
0answers
90 views

Beanshell valid code (setTestLogicalAction), in groovy error “groovy.lang.MissingMethodException:”

As I understand, JMeter recommends to use groovy, it's faster and more flexible, etc. I'm trying to add code to groovy JSR223, changing deprecated ctx.setRestartNextLoop(true); to ...
1
vote
2answers
42 views

is there any possibility to check the button sizes and images are loading or not in selenium?

how can I check frontend button sizes, logos, and images are loading or not?
2
votes
5answers
104 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
1answer
547 views

JMeter - Extract value from JSON response and update variable

My goal is to create a Google Drive CRUD with JMeter. I was able to upload files with proper OAuth configuration. However, I am struggling in extracting the response data to be used in further HTTP ...
0
votes
2answers
88 views

I faced an issue while opening Jmeter 5.1v log

While opening JMeter 5.1v in log I came across an issue i.e WARN o.j.r.Plugin: Unable to load class: com.atlantbh.jmeter.plugins.oauth.OAuthSampler java.lang.NoClassDefFoundError: org/apache/...
0
votes
0answers
34 views

How to use a trace file in JMeter (from SSMS)?

I am trying to load test a MS SQL Server database using some typical user interactions. The front end uses a bespoke desktop application and doesn't lend itself to traffic capture, hence decided to ...
1
vote
1answer
37 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 ...
0
votes
0answers
21 views

JMeter 5 vs 2 xml output by simple data writer - in 'tn' host name and port added - how to turn off?

On moving from 2.13 to 5.1 JMeter noted that xml file that is created on controller (ouput of simple data writer as far as understand, could it be other thing?) started to add host name and port to tn ...
0
votes
1answer
303 views

Got an issue while generating html report in jmeter 5.1.1v

]3[]4 While generating html report getting an issue as jtl' does not contain the field names header, ensure the jmeter.save.saveservice.* properties could u please suggest me, how to fix this?
0
votes
0answers
43 views

How to fix jmeter error “Could not set cipher list”

While running the jmeter script i faced an issue as “ Could not set cipher list: TLS_RSA_WITH_AES_128_CBC_SHA256 TLS_RSA_WITH_AES_256_CBC_SHA256” What can I do to fix this error? Output below. Got ...
0
votes
1answer
93 views

Latency issue while running jmeter scripts in AWS server

Below is the scenario: I'm running jmx script using non-gui mode. 1st iteration results are getting high average response (7 secs) with highest latency(1.5 secs). 2nd, 3rd, & 4th iteration ...
0
votes
1answer
89 views
0
votes
0answers
50 views

About performing concurrent execution in Jmeter

I set thread property in Jmeter thread: 2 Ramp-Up: 20 loop: 20 senario is API: 'dummy_login' => API: 'mypage' and expect that the concurrency is 20 in every 10 seconds. It turned out following ...
2
votes
2answers
46 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
1answer
93 views

How can I login with 100 different users in the web application simultaneously and then each user performs different functions in JMeter?

I dont anything about JMeter, but i wanted to ask if this thing is possible in JMeter. 100 users with different username/password login in concurrently in the web application. Each user stays logged ...
1
vote
1answer
334 views

Re-using the TCP connections with Jmeter like a real browser

I'm running a load test using a JMeter, and my load test is consuming a lot of TCP connections. The machine that creates the load is not experiencing the Ephemeral port exhaustion, but a router trough ...
0
votes
0answers
34 views

JMeter - JSON Assertion of response for a single parameter with list of values

I want to verify JMeter response for a single parameter with a list of values, For eg., Education value should be either MCA, M.Tech or M.S.Engg (Any 1 from the list) if else it should fail. Tried ...
0
votes
1answer
331 views

JMeter - how to stimulate parallel requests

I have the following setup: I want to execute 100 requests, 10 times. And as I am using parallel controller I assume that I am executing 300 requests at the same second. Can I assume that my threads ...
1
vote
1answer
420 views

How to extract multiple named values from a JSON object with jMeter

I want to extract all the serviceItemId's, this object I got it from an external system and I have to verify the contents are correct or not. The used JSON Object: [ [ { "...
1
vote
1answer
187 views

From an Json Object, I am trying to extract the values by using the below code in JSR223 processor

{ "service": "CURBSIDE", "unavailableLines": { "unavailableLine": [ { "unavailableQty": "10.0", "itemLineId": "4", ...
0
votes
1answer
40 views

I am getting 403 response code while uploading file in jmeter

Am working on one application & i created script using dev tools after uploading file using csv data and everything using http request am getting 403 response code can u pls suggest me about this ...
1
vote
0answers
54 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 ...
0
votes
1answer
41 views

How to duplicate part of tags in XML in Jmeter

I have this JSON template { "shipToAddress":{ "country":"SE", "emailAddress":"abc@gmail.com", "zipCode":"${zipcode}" }, "itemLines":{ "itemLine":[...
0
votes
1answer
186 views

Jmeter using newly defined variable in User Defined Variables

I want to define a variable in User Defined Variables and use it in the same config element later. I've tried for just defined smoke variable to add below it another line with value: ${__javaScript(${...
0
votes
1answer
60 views

I am trying to extract a part of Json response, where i am not able to find the correct regex [closed]

{ "shipToAddress":{ "country":"SE", "zipCode":"AB101AA", "emailAddress":"abc@gmail.com" }, "deliveryArrangementsId":"DA100000011", "itemLines":{ "itemLine":[{ "unitWeight":"...
1
vote
0answers
60 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
133 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
3answers
150 views

How does response time react to increasing load?

I'm testing my application locally with JMeter, and I have a doubt about how the response time changes as far as users are increasing. If I test my service with, for example: 100 Threads, 100 Ramp-Up ...
0
votes
0answers
133 views

Not getting proper redirect url(302) in location field of response header in Jmeter

I am working on one web-based application using JMeter tool. In application, after submitting my last request my URL is redirecting to one google link in which I am getting one access token which I ...
1
vote
1answer
38 views

For my POST method i used Threads User multiple but actually when i run jmeter record will added only single time

I have created Thread Group with 5 number of users, but in actual when I run my POST method then record add only single time, but I want to add 5 records in a single run to check performance for POST ...
1
vote
3answers
296 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
23 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
36 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
428 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-...