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.

115 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
0
votes
0answers
11 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 ...
0
votes
0answers
17 views

Performance test for Oracle Secure Global Desktop Using JMeter and HP Loadrunner?

I am trying to make a performance testing for Oracle Secure Global Desktop (Trantela) using JMeter and HP Loadrunner but not able to record any action, Any Help?
0
votes
0answers
10 views

JMeter string (url) update2

I have a scenario: 1. I am hitting a page /news-item-list which has 10 news items (urls). 2. I am using regular expression extractor for fetching 1 random url between these 10 urls present on /...
0
votes
1answer
16 views

Having trouble getting WCF-based traffic to show up in JMeter recorder

I'm running into an issue with getting the traffic from a WCF-based Windows desktop client to show up in the JMeter recorder - and I'm hoping someone out there might be able to point me in the right ...
0
votes
0answers
19 views

I cannot open HTTPS web-page even I install certificate on Mozilla

I try to configure Jmeter on Ubuntu and I cannot open HTTPS web-page even I install certificate on Mozilla, HSTS statement appears on web page. LOGS in jmeter 2019/07/10 15:07:12 INFO - jmeter....
0
votes
0answers
17 views

How to compare jmeter graphs of multiple test cycles efficiently?

I created an automated jmeter test which gives me these nice reports: The test is executed every day. If I want to compare two cycles, then I need to open two charts and compare them, but I would ...
0
votes
1answer
14 views

Sample application for access log sampler

I am trying to learn about access log sampler and how to use it. I am looking for sample application which can generate access logs on tomcat server. Can anyone help me with such an application
0
votes
2answers
28 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 ...
0
votes
1answer
23 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?

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....
0
votes
1answer
33 views

Performance testing using jmeter scripts

When I have my settings of the script as below Concurrency : 1 hold-for: 0s ramp-up: 1s throughput: 10 iterations: 100 What does it mean
0
votes
0answers
20 views

Not able to record the mobile application with JMeter

I am trying to record the mobile application with the JMeter but it is throwing network issue mobile. I have configured below settings: changed mobile proxy (same proxy used in mobile and JMeter) ...
0
votes
0answers
22 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 ...
0
votes
0answers
22 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 ...
0
votes
1answer
53 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
20 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
15 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
0answers
16 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
161 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
20 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
18 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
109 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
86 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 ...
0
votes
0answers
67 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 ...
0
votes
1answer
380 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
58 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
27 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 ...
0
votes
0answers
19 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
0answers
38 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
60 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 ...
0
votes
0answers
31 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
36 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 ...
0
votes
0answers
118 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 ...
0
votes
2answers
58 views

JMeter setNumThreads does not work if number of thread is set as ${varname}

I was given some already done test plan. I added (simple) groovy script that changes number of threads (users) for thread groups by using standard setNumThreads method. https://jmeter.apache.org/api/...
0
votes
2answers
93 views

How to make sure HTTP Request completed then proceed to next request using JMeter

Recently I am new to JMeter, I have 9 HTTP requests and I want to make sure all the threads must run accordingly in order to complete the whole task in my project. Moreover, I do not think that adding ...
0
votes
2answers
208 views

In JMeter logs are not displayed in Log viewer

Whenever I ran the test logs are not displayed in log viewer panel in application, logs are displayed in command prompt. Can anyone pls suggest for this issue? How can I see logs in log viewer ...
0
votes
1answer
75 views

Communication failure in JDBC Database?

Got error message as response "message as communication failure" i have added mysql connector in lib folder. can you please suggest me solution for this.
0
votes
1answer
319 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
32 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
1answer
26 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
67 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
47 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="...
0
votes
1answer
886 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?
0
votes
1answer
915 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
49 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
2answers
265 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 ...
0
votes
1answer
655 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.
0
votes
1answer
178 views

How do I view the blazemeter sense report when I run the jmx script via the terminal or Jenkins?

Recently added the blazemeter sense uploader plugin for reporting purposes and it is really nice. Post running the script, you get a sense.jtl file and a url to view the reports on the browser with ...
0
votes
1answer
176 views

Jmeter Test Fragment not working with blazemeter

I refactored my test plans and created test Fragment(eg. login) in external jmx file so I can use in different test plans. I used IncludeController in my test plan and refer this external Login ...