Can you explain the random function and how to create Random values from csv file ....like when we need different values for sign up - userid and password. Can you please create a video on this
Jmeter Random function has the format - ${__Random(minValue,MaxVal)}. The random function returns a random number that lies between the given min and max values. To create Random numbers from CSV file, add multiple random numbers in CSV file and call them in JMeter script using CSV dataset config
Hi, I'm using having http request under which i have one jdbc preprocessor. This preprocessor would run a query and will fetch a field which can either be a integer or a null value. Under jdbc preprocessor I have variable name as abc. Now i want to pass value of this ${abc} variable to http request json field say "pqr" : ${abc} . So when ${abc} holds intger value it works fine but if it has null value it returns ${abc} instead of null . How to make this work, would you please assist. As my requirement is also to pass null
Hi, in this case add the HTTP sampler under if controller as explained below: Add If controller and provide the condition ${abc} ==null. Inside this If Controller, add HTTP sampler and provide json field as "pqr" : null Add one more if controller and provide the condition ${abc} !=null. Inside this If Controller, add HTTP sampler and provide json field as "pqr" : ${abc}
It increments value by 2 as like 2,4, 6, 8... not as 1,2,3,4. I am using the same as is ${__counter(,)} function. What could be the possible cause that it increment by 2 in place of 1? Support please.
You can use __groovy() function in JMeter to get the UTC time zone. ${__groovy(new Date().format("yyyy-MM-dd'T'hh:mm:ss"\, TimeZone.getTimeZone('UTC')),)}
I need a help! How can I extract JSON value from the encrypted value (eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.==) This is in Base64 encrypted format. After Decode. is there any function or Javascript library?
How should I declare global variable which can be used between multiple thread groups? Thanks.
Good explanation
Thank you!
How to use functions in the text file.I am using a csv to read test data and want to update some values in the text file using the functiins
Can you explain the random function and how to create Random values from csv file ....like when we need different values for sign up - userid and password. Can you please create a video on this
Jmeter Random function has the format - ${__Random(minValue,MaxVal)}. The random function returns a random number that lies between the given min and max values.
To create Random numbers from CSV file, add multiple random numbers in CSV file and call them in JMeter script using CSV dataset config
Hi. How to send content-Length in jmeter headers. its dynamically changing the value for each request
Hi, I'm using having http request under which i have one jdbc preprocessor. This preprocessor would run a query and will fetch a field which can either be a integer or a null value. Under jdbc preprocessor I have variable name as abc. Now i want to pass value of this ${abc} variable to http request json field say "pqr" : ${abc} . So when ${abc} holds intger value it works fine but if it has null value it returns ${abc} instead of null . How to make this work, would you please assist. As my requirement is also to pass null
Hi, in this case add the HTTP sampler under if controller as explained below:
Add If controller and provide the condition ${abc} ==null. Inside this If Controller, add HTTP sampler and provide json field as "pqr" : null
Add one more if controller and provide the condition ${abc} !=null. Inside this If Controller, add HTTP sampler and provide json field as "pqr" : ${abc}
@@qualityassurancelab7764 thanks so much for your response. I will definitely check this.
It increments value by 2 as like 2,4, 6, 8... not as 1,2,3,4. I am using the same as is ${__counter(,)} function. What could be the possible cause that it increment by 2 in place of 1? Support please.
Can you tell me how to use utc date and time zone in jmeter
You can use __groovy() function in JMeter to get the UTC time zone.
${__groovy(new Date().format("yyyy-MM-dd'T'hh:mm:ss"\, TimeZone.getTimeZone('UTC')),)}
Thanks for the reply ..can you please help me how to get this format 2020-04-18T02:00:00Z
I need a help!
How can I extract JSON value from the encrypted value (eyJhbGciOiJSUzI1NiIsInR5cCI6IkpXVCJ9.==) This is in Base64 encrypted format.
After Decode.
is there any function or Javascript library?
How can we pass the form parameters Jmeter...I have viewed all your videos.. did not find
How to pass value from one thread to another ? ( how to set global variable ) ?