All Questions
16 questions
0
votes
2
answers
65
views
Jmeter: how to extract json object of array from repsosne using beanshell post process
Im new to jmeter and wanted to extract the array data from json object
i have a Json as below
{
"error": false,
"data": {
"seq": [
"71128dfa",
"cbfda925&...
0
votes
1
answer
155
views
Getting null data on storing GET request array object response in jmeter
I am getting null data while storing GET request response, Response that I am getting is in the form of array object sample response as follows
I have used JSON Extractor to extract the data
Name of ...
0
votes
1
answer
250
views
JMeter: Updating JSON array using Groovy
I want to fetch a Non-Zero Account Number from Accounts array from below JSON. I am able to Fetch the Accounts in a variable.
{
"glossary": {
"title": "example ...
2
votes
2
answers
2k
views
groovy/jmeter - how to convert array results
I have this header in a csv file:
TEST_ID;TEST_DESC;RQ_FIELD1;RQ_FIELD2;RQ_FIELD3;FIELD4;FIELD5;FIELD6;FIELD7;FIELD8
and I'm using this declaration to read its values from csv in a Jmeter Groovy:...
0
votes
1
answer
3k
views
JMeter read file to array
I am trying to read these items from .csv file to array separating variables by comma or dot.
I would like to get:
http://www.example.com/GH001.GH002.KL003.KL010.json
Any ideas?
I tried using Bean ...
0
votes
2
answers
4k
views
JMeter read from csv file to array
Is there any possibility to read files from .csv into array of variables?
Instead of getting:
https://loadtest.com/mo/75245.json
https://loadtest.com/mo/190554MHG.json
https://loadtest.com/mo/...
-2
votes
1
answer
33
views
Regex to extract data in cell and pass to subsequent request where it is needed in Jmeter
I am using this regex to extract data in cell and pass to subsequent request where it is needed in JMeter.
Using Reg-ex to extract the data in cell:
"cell":\["","(.*?)","(.*?)","(.*?)","(.*?)","(.*?)"...
3
votes
2
answers
554
views
How to randomise rows of data that have spaces between text in JMETER
I am fairly new to jmeter and have been looking at creating a test plan which includes posting personal information (Dummy Data) to a website. I have a CSV File that contains around 20,000 records ...
1
vote
1
answer
492
views
Jmeter extract a value using BeanShell PostProcessor
I want to extract b from the following response and use it as a parameter for a new request, can you help me?
Response:
[[
{"a": { "x": "123", "y": "456", "z": "789" }, "p": ["111"], "q": "222"},
"b"...
0
votes
1
answer
3k
views
How to split comma separated string into 3 variables in Beanshell Preprocessor?
I have the following values in user defined variables, like
10001,1.2.840.13456.2.40.4.8323328.55551296.600114,D:\\Share\\DataSetCreation\\UPLOAD\\P7\\S1 (separated by comma)
In the BeanShell ...
0
votes
1
answer
4k
views
jmeter jsonpath expression for length for the array
I have a jmeter test which should exit when the response array is null. To test this, I'm accessing array and checking length in the beanshell assertion.
I have tried
jsonpath Expression:$.x.length
...
0
votes
1
answer
2k
views
How to send a variable length list or array of parameters with a HTTP POST request in JMeter?
I'm making JMeter load tests for an ASP.NET web application, and the tests should post some data to the server. Specifically, they should post grades for all the pupils in a class. However, the tests ...
0
votes
1
answer
2k
views
How to send a gzip file as byte array in HTTP request in JMeter
I have a post request where I have to send a gzip file as byte array.
I have tried the following:
Created a BeanShell preprocessor to convert the file to byte array with the following function(got ...
1
vote
2
answers
11k
views
Jmeter: How to create an array in bean shell post processor and make it available in other thread groups?
Does anyone knows how to create an array in bean shell post processor and make it available in other thread groups?
I've been searching for a while and i'm not managing to solve this.
Thanks
0
votes
2
answers
6k
views
What's an elegant solution in beanshell for loops and arrays
I'm working with beanshell to parse SWIFT data and need to extract values by referencing these SWIFT tags. Right now, I statically get these values as such:
String getACRU = swiftMessage.getTagData("...