Questions tagged [jmeter]

Apache JMeter is an open source Java application, designed to load-test functional behavior and measure performance. Originally designed for testing Web Applications, it has since expanded to other test functions as well.

jmeter
Filter by
Sorted by
Tagged with
0 votes
1 answer
1k views

Testing the Java methods through the JMeter

My problem - we have a utility jar containing the java methods that expects a payload from other groups and invokes rest endpoints then finally some data gets persisted in database. I want to test the ...
lonelyLearner's user avatar
13 votes
5 answers
14k views

Error while generating report in apache-jmeter-5.4.1.tgz

sh jmeter.sh -n -t filePath.jmx -l outFilePath.jtl -e -o folderPath Error generating the report: org.apache.jmeter.report.dashboard.GenerationException: Error while processing samples: Consumer failed ...
Camilo Echavarria Martinez Ota's user avatar
0 votes
1 answer
34 views

Calculate the mid and quarter position in post processer

From the response header I am fetching this the total number of records, and I want to fetch the mid position and quarter position using the total records,
user avatar
0 votes
1 answer
230 views

What is the difference between Scalability test and the other performance tests?

Are there any clear ideas that define the Scalability test? I have designed Load, Stress, Spike and Soak tests using JMeter Ultimate Thread Group but, i have not any idea about Scalability test ...
Beklevir's user avatar
0 votes
1 answer
835 views

Jmeter how do I generate multiple HTTP request body in one session?

Here is my use case: I had a JSR223 post processor in place to store "account ID" that qualifies the condition into an array. And then I'll need to construct http request body using the ...
Zhang's user avatar
  • 61
0 votes
1 answer
189 views

How can I flush the jtl file to disk?

Logging results to a jtl file and at the end of the test plan I would like to save the jtl file to a database with a "put" statement via jdbc. However when I do that it looks like the jtl ...
Mats Johansson's user avatar
0 votes
1 answer
86 views

jmeter 5.4.1 selecting dynamic #id from custom attribute?

I'm attempting to extract the hyperlink id <a id=""> which changes upon request/refresh. all values of the elements attributes change upon request including parents; with the exception ...
Plague3D's user avatar
0 votes
1 answer
317 views

Update the data source while test execution in Jmeter and then reuse it in the same run

I have the scenario in the JMeter. That scenario uses CSV file with numbers to make the specific POST request. For example Post /items/new { "id": "number from CSV" } ...
Michael Derevyanko's user avatar
0 votes
1 answer
767 views

How can the performance testing (and reporting) of Async messages over different IBM MQ queues be handled in Jmeter?

I need to test the performance of messages which are sent on one "inbound" MQ1 and then later (after some processing) received on another outbound MQ2. I need to somehow generate a report ...
JustNatural's user avatar
0 votes
1 answer
129 views

How to extract value in JSON by using Regular Expression

I am new to regular expression and not able to find the solution of my problem. I have one JSON which my service is returning in response "{\"Version\":14,\"Collections\":[{\&...
Prateek's user avatar
  • 67
0 votes
1 answer
578 views

JMeter test from Java Code - Generate Console/File Reports matching GUI Reports

I run the jmx file from Java code and would like to get console/file reports. public static void main(String[] args) throws Exception { StandardJMeterEngine jmeter = new StandardJMeterEngine(); ...
Serhii Kachan's user avatar
1 vote
2 answers
388 views

Validate the JDBC request with a user defined variable

I am new to JMeter, In my test I am creating a JDBC Connection to oracle DB and running a query which fetching me the count of records, which I want to validate must be equal to the SAMPLE-NUMBER (...
user avatar
0 votes
1 answer
440 views

JSON.stringify() function in JSR223post processor to capture the response in jmeter. but it is trimming the decimal points from the response

i am using JSON.stringify() function in JSR223post processor to capture the response in jmeter. but it is trimming the decimal points from the response. suppose Quanity: 120.000 will be there in ...
Manasa M.S's user avatar
1 vote
2 answers
2k views

Jmeter Groovy Script to read and utilize header values

I was using jmeter to load test services I need to use one of the response headers parameter value as input of next request. For this I am using JSR223 Sampler and write Grrovy Script to read ...
user1920's user avatar
0 votes
1 answer
402 views

Can JMeter test popup windows?

My application uses the popup windows. These popup windows contain normal HTML code. The first browser window contains the general application information. If the user adds the client id in the first ...
George's user avatar
  • 87
0 votes
2 answers
768 views

JMeter: How to send multiple unique json body?

I have written a REST API and now my requirement is to load test it for 1k calls or something. Problem is the request json has an unique attribute - Cnumber which needs to be changed for every request....
cSharp's user avatar
  • 45
-1 votes
1 answer
566 views

Unable to Extract value from JSON response which has the data in "\"

Please help me to get out the problem which I am facing. I have a JSON response like this: "{"Version":10,"Collections":[{"Id":"*******","Name":&...
Prateek's user avatar
  • 67
0 votes
1 answer
211 views

Fetch a key value from the JMS request header in JMeter

Have the following as the request header in my JSM request, study_ID MSGtest Initial Context Factory com.tibco.tibjms.naming.TibjmsInitialContextFactory client_ID MSGtest TransactionID 39594bf1-...
user avatar
0 votes
1 answer
879 views

How do I import jwt.io Java library to JMeter

I am trying to import the jjwt Java library into JMeter but I get the following error; ERROR o.a.j.p.j.s.JSR223Sampler: Problem in JSR223 script JSR223 Sampler, message: javax.script.ScriptException: ...
w4dd325's user avatar
  • 587
0 votes
2 answers
395 views

Jmeter cannot find keytool application and no keystore was provided. Tried alll

Im working with Jmeter, trying to running it as a proxy, but when I start recording, I got this alert. I tried setting user.properties, but i can’t find a solution. Please, so grateful if you help me!
Silvina's user avatar
1 vote
1 answer
660 views

How to see Perfmon graphs in HTML Dashboard results in JMeter?

in JMeter Html reports, the Perfmon metrics are not included. how to add the CPU, Memory, Network and Disk graphs to those Apache JMeter Dashboard?
Beklevir's user avatar
0 votes
2 answers
178 views

Get the random file name

With a folder contained around 10 files (like 1.csv, 2.csv....10.csv) And I am uploading them to my http request using a beanshell preprocessor using the following script, File folder = new File("...
user avatar
0 votes
1 answer
555 views

How to iterate through result set and print to console of a JDBC request triggered from beanshell sampler

Sending the following JDBC request from JMeter, using a beanshell sampler. And now I want to fetch the result as the response body fetched in JMeter showing empty but triggering the query successfully....
user avatar
0 votes
2 answers
51 views

Benshell Sampler to update Oracle Request throwing error

I am trying to run a loop to create records in oracle data base through a bean shell sampler and it is throwing error, Response code:500 Response message:org.apache.jorphan.util.JMeterException: Error ...
user avatar
0 votes
1 answer
462 views

How to make my next sampler in Jmeter wait till my file gets downloaded?

I have a scenario where I have two samplers inside a thread group.In one sampler I perform a POST request which triggers file download process.The process will continue till all the details of the ...
Mani Maran's user avatar
-2 votes
1 answer
1k views

Which is better ? JMeter script recorder or Blazemeter chrome plugin

I found many articles that script can be recorded with jmeter script recorder using firefox proxy. But there are many article which says use Blazemeter chrome plugin. Which is better and why?
Sharma AK's user avatar
0 votes
1 answer
714 views

"Invalid SQL type: sqlKind = UNINITIALIZED" While running query from JMeter

The following query I am trying to execute it from JMeter, DECLARE j number(4) BEGIN FOR j in 11 .. 12 LOOP INSERT INTO FWA_STAGE_TU (ID,EXT_ID,BATCH_NO,OPERATION,...
user avatar
0 votes
1 answer
413 views

Async calls in jmeter

how to implement a wait async call in a while controller in jmeter. any pointers would be appreciated. I am sending post requests in concurrency thread group. If I put a while controller with the ...
sman's user avatar
  • 85
0 votes
2 answers
143 views

Jmeter VIEWSTATE Count changes dynamically

I am facing a Unique challenging situation. I am working on developing a J meter script for ASP .net application. When i do the recording it creates 127 view states and provided a count as well. But ...
Shanthan Garlapati's user avatar
0 votes
1 answer
111 views

Jmeter Async process with while controller

In order to verify whether my concurrency request is persisted asynchronously in the datastore. I have the below test plan which makes requests to the database as part of the preprocessor in the while ...
sman's user avatar
  • 85
0 votes
1 answer
3k views

How to run post request for multiple user in k6 performance test?

We run Get http request with multiple user(vus) and multiple iteration(iterations) for particular duration. It is straightforward like below. import http from 'k6/http'; import { sleep } from 'k6'; ...
Samselvaprabu's user avatar
0 votes
1 answer
259 views

How to execute a stored procedure in a multiple step using JDBC sampler

I have the following query which I need to execute step by step (mentioned in the sample below), is it giving me ORA-00922: missing or invalid option, but same thing working on my Oracle SQL developer ...
user avatar
4 votes
1 answer
540 views

HTTP Raw request default is throwing Response message:java.net.SocketTimeoutException: Timeout exceeded while reading from socket

I sent a HTTP Raw request default with a host and port which I'm certain that I could connect using my windows 10 device.(Tested with Test-NetConnection and sent data via Ubuntu App, echo "DEMO ...
Sameera De Silva's user avatar
0 votes
1 answer
483 views

How to pass multiple values in a for each controller

This is how the test plan looks : Thread group Bean shell sampler For each Controller Graphql request In the previous thread I extracted 2 attributes which are id and price. Now this ...
Shankar PK's user avatar
1 vote
1 answer
474 views

Send variable from one jdbc request to another jdbc request in JMeter

In my test plan I have 3 JDBC connection request, from second request's response I want pass the variable to 3rd request, I tried with escape character and vars.get, 2nd Request for fetching group-...
user avatar
0 votes
1 answer
257 views

How to use elements stored in a list in a for each controller

This is how the test plan looks : Thread group For Each Controller GraphQL HTTP Request Bean Shell Pre Processor From the previous thread I extracted an attributes' value from ...
Shankar PK's user avatar
0 votes
1 answer
86 views

why soak test is ended before the time i set in jmeter?

i set up a 16-hour soak test in jmeter. use a csv file for different users for 10000 users. use ultimate thread group with these settings: one row start threads count: 20 initial delay: 0 start up ...
Beklevir's user avatar
0 votes
1 answer
350 views

Jmeter post processor and while controller

I have a post -processor with the below code. import test.MFG MFG mfgRepo = new MFG(); log.info("device {}","${deviceID}"); long crashTime= ${p1}; String deviceId1="${deviceID}...
sman's user avatar
  • 85
0 votes
1 answer
116 views

Validate the response from JDBC request using beanshell or JSR223

For my JDBC request, the following result I am receiving from Oracle DB and want to validate the response should not give more than 1 records and EVENT_LOG_ID=48144960 AUDIT_CONTEXT_KEY, ...
user avatar
0 votes
1 answer
1k views

How to create a JMETER setenv.bat file with Environment variables

I want to create a JMeter setenv.bat that contains environmental variables such as set JMETER_HOME=xx I want to just type 'jmeter' anywhere on the Terminal CL in any directory to start jmeter, could ...
Taz 3497's user avatar
0 votes
1 answer
559 views

Is it possible to append data specific columns of existing csv using JMETER?

I have an existing csv file with some data stored. I need to append data in specific columns of csv using jmeter. Example : I need to append data in column C and E of this existing csv file. Is it ...
Bhavya Dutta's user avatar
0 votes
1 answer
730 views

How to compare excel data with JSON response by iterating through each row in excel in JMeter

I want compare excel data with JSON response by iterating through each row in excel in JMeter Consider below data is available in excel Last_Name| ID | First_Name Lawson | 7 | Michael ...
Harsha's user avatar
  • 1
0 votes
1 answer
190 views

How to include crypto package which is in-built into nodejs, in JMeter tests

We are using JMeter to execute load tests and our APIs expect an encrypted value which we have generated using crypto lib of nodejs.
shanky garg's user avatar
0 votes
1 answer
198 views

How to send multiple number of message to queue using jms

Have a requirement while sending message to queue (tibco ems), it should be any random number between 1000-3000, how to achieve this in JMeter? Will updating the number of samples to aggregate to ${...
user avatar
0 votes
1 answer
106 views

Load Test - Jmeter PreProcessor

I have a preprocessor that creates random uuid and random string as below import java.util.UUID; import org.apache.commons.lang3.RandomStringUtils; String testId1=UUID.randomUUID().toString(); String ...
sman's user avatar
  • 85
0 votes
1 answer
54 views

How to handle redirection when login Jmeter

I am doing performance testing. I have a URL abc.com it redirects to http://github.com for login. Because abc.com is registered in Github. What will be the approach to login into the application with ...
Dharmesh Mishra's user avatar
0 votes
1 answer
35 views

Best way to go about testing 1000 case creations in a day - Jmeter

I would like to know the best way to go about creating 1000 "cases" on a platform in a day using Jmeter and testing the throughput. Currently I am thinking of using Ultimate thread group for ...
Webbo's user avatar
  • 73
1 vote
1 answer
89 views

RMI plugin for Apache Jmeter

Is there any way to download the RMI plugin for JMeter. I can only get the source code from git but not actually the plugin. I need to test Java webswing application using RMI plugin.
JMeter_User's user avatar
1 vote
1 answer
739 views

JMeter - call __stringToFile function from Groovy/Beanshell

For example function __machineName can be called from groovy: def machineName = new org.apache.jmeter.functions.MachineName().compute() Can anyone advise how can I call function __stringToFile in a ...
just_a_tester's user avatar
0 votes
1 answer
547 views

How much maximum thread capacity of jmeter command line mode?

I have to test load testing for 32000 users, duration 15 minutes. And I have run it on command line mode. Threads--300, ramp up--100, loop 1. But after showing some data, it is freeze. So I can't get ...
dilrubadad's user avatar

1
71 72
73
74 75
393