All Questions
Tagged with beanshell performance-testing
53 questions
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 ...
0
votes
1
answer
222
views
JMeter response times and the response times I get on my server are very different
I wrote a script with JSR223 Sampler. It sends certain requests to my server. I also log response times on my server. But there are serious differences between the response times I get in the log and ...
0
votes
1
answer
70
views
Remove json key from response in jmeter and feed processed response as request to next sampler
I have a sampler 1 which generates response like
{ ....... updatedAt: dateAndtime, createdAt: datetime}
Now this response i have to process by removing updatedAt , createdAt key, values and then feed ...
0
votes
1
answer
107
views
In Jmeter how to create a json array files with respective to their location
In Jmeter need help to create a json file with array/list of values with respective to their location(nested loop and group by location).
I have a scenario to create a JSON file using a csv. I used ...
0
votes
1
answer
133
views
How to measure response size data for individual sampler during load test
How to measure size of response data of multiple http samplers in JMeter. I need to find the individual size of all http sampler during the load, not for overall.
I am using Beanshell sampler but it ...
0
votes
1
answer
350
views
Want to fetch first three character from the String
I have use case in JMeter JSR223 where I want to fetch First three characters from a String
Example given Below
def randomPrefix = org.apache.commons.lang3.RandomStringUtils.randomAlphabetic(6)
vars....
0
votes
1
answer
5k
views
Is python a good choice to go with JMeter performance testing? [closed]
I know a little bit of python and I think its easier to understand than java. So I want to continue with python even while using JMeter. Is python a good choice to go with JMeter? I know that ...
0
votes
1
answer
280
views
Converting Postman Json body request to Jmeter body request
var moment = require("moment");
var time = moment().valueOf();
pm.environment.set('time', time);
var eventArray = [];_
for(var i = 1; i <= 50; i++)
{
var t = time + (i * 1000);
eventArray....
0
votes
1
answer
1k
views
How to extract an array using json extractor and parse it to remove dupes in Jmeter
JSON response is returned in the following format, I need to extract values from the first index of the array for example 925,88 using groovy or perhaps another language, and then store them into a ...
0
votes
1
answer
610
views
JMeter Beanshell - save file as pdf
Currently I am saving variable values in ".txt" file using beanshell post-processor, I want to save variable value into a pdf file , is there any way I can achieve it?
To save variable ...
0
votes
1
answer
660
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 ...
0
votes
1
answer
483
views
Need resutls upto two decimal i.e seconds and miliseconds in jmeter
I want to add my summary report results in the email body. So I have added the bean shell post-processor against my request and add the below functions in it.
*<BeanShellPostProcessor guiclass=&...
0
votes
1
answer
745
views
Jmeter-Start a specific request after error and the subsequent requests
I have a scenario which has 10 transactions and say 50 requests. I have to handle a situation if any request gets fail in any of the transaction controllers, it should go back to say Request-3 and ...
1
vote
1
answer
432
views
How to overwrite a column in CSV with JMETER before passing the editted csv as file upload to another API?
I have extracted a value from JSON response of an API with jmeter let's call it ${newID}.
Now I want to paste this newID in all the values of a column ID2 (image attached for reference). Then I need ...
0
votes
1
answer
159
views
250 users hitting around 60k overall requests in jmeter
I have 250 users ,and around 60000 sample counts should be hit including all the requests. Whichever request is supposed to get huge sample count,I have put those request within loop count,But the ...