Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
87 views

Programmatically composing a BeanShell script from multiple Java class files

I am working on a project that must generate Java code for use with a BeanShell interpreter. The past convention involved creating a regular Java class and manually copying and pasting the applicable ...
Ritmo2k's user avatar
  • 1,021
0 votes
1 answer
59 views

parsing Jmeter variable to OS process sampler

I am having trouble parsing Jmeter varibles to OS Process Samplers. I currently have a beanshell sampler that get the sampleresult of the previous sampler like so: String uploadResults=""; ...
Long Nguyen's user avatar
0 votes
2 answers
42 views

load test in jmeter is generating duplicate consecutive IDs using multiple threads

Scenario I am creating some records in a system using three requests of its API. In the first request I need to send and Id which for testing and tracking purposes I am using a consecutive number ...
Ricker Silva's user avatar
  • 1,157
0 votes
1 answer
22 views

is there any way to fetch name of renamed file in jmeter? It passes current Epoch I guess when I fetch the name

I Rename & Move 20 files from one folder to another folder via Jmeter OS Process Sampler. i.e. TestFile.docx to TestFile-${__time(,postfix)}.docx TestFile_2008202416202205.docx I use TestFile-${...
Peter's user avatar
  • 859
0 votes
1 answer
33 views

Not able to run beanshell file for pgp encryption with jmeter for all the request "

I have created benshell code below to enctrypt the json request in jmeter after running give below error message Error message : Response code:500 Response message:org.apache.jorphan.util....
Sanket Dhamale's user avatar
-1 votes
1 answer
57 views

extracting json data and store into a csv file

i am performing some test cases on a PETSTORE API and the API link is https://petstore.swagger.io now i want extract the some of json data. to do that i have used json extractor postprocessor and ...
Rakesh's user avatar
  • 27
0 votes
0 answers
15 views

Extract failed user and respective data using Bean shell Scripting - JMeter

I would like to write a BeanShell script to extract the failed data i.e. Login, Search from JMeter script to a file so that I can directly pass the failed data to the concerned team for data ...
Divi's user avatar
  • 1
0 votes
0 answers
54 views

TestNG. dependsOnGroups is not worked for different classes

14.05.2024 I have added group to tests and a dependency on this group in other tests from other classes. And it all worked both locally and in jenkins. But yesterday it stopped working and I get an ...
Vitaly Shipitsyn's user avatar
1 vote
1 answer
26 views

How to increase a variable value by 5% and pass it in another request

How to increase a variable value by 5% in beanshell and pass it in another request. Lets say I am fetching a value using JSON extractor and saving it in a variable. I need to add 2% in this value and ...
KeshavKumar's user avatar
0 votes
1 answer
77 views

I want to pass a path in my groovy in jmeter

${__BeanShell(import org.apache.jmeter.services.FileServer; new File(FileServer.getFileServer().getBaseDir()).getParent();)} I have saved this in user defined variable I need a path with / or // ${...
Arvind Pareek's user avatar
0 votes
1 answer
53 views

i have extracted some values using regex in beanshell postprocessor now i have to pick a random value and store it into a varaible?

import java.util.Random; import java.util.regex.Pattern; import java.util.regex.Matcher; String responseData = prev.getResponseDataAsString(); // log.info("the response data is : " + ...
Rakesh's user avatar
  • 27
0 votes
1 answer
38 views

Jmeter - Conditional execution

I have a Jmeter script in which one of the sampler response contains json values as following: 4 JSON result sets containing values of contractid, amount, status, type The contract ids and their ...
Farhan Meer's user avatar
0 votes
1 answer
46 views

JMeter BeanShell PreProcessor

I would like to generate a random letter and assign it to a variable, then append it to the request. However, my current script is not functioning as expected. Could you assist me in identifying what ...
Mag's user avatar
  • 229
0 votes
1 answer
44 views

How to use specific line rows from csv file for different no of threads in thread groups. How to create & store data in csv from bean shell processor

I have the below requirement :- I have the User CSV file in which the Username & password is defined with which I have create all the users from the CSV file. Now I have couple of thread groups ...
harshit gupta's user avatar
0 votes
1 answer
159 views

Does anyone know how to do uploaded Image convert to base64 encoding in JMeter and send through HTTP body?

I'm working on IM (Image Managment) system performance ATM and I'm facing dificulties to send image metadata (base64) to end point. Here we do not upload direct file to the server, We will send image ...
Fluke's user avatar
  • 13

15 30 50 per page
1
2 3 4 5
65