jzyling
13 years agoOccasional Contributor
Varying parameter in load test
Hi,
I created a REST HTTP Request for a POST Method, using JSON data in the body. I am trying to do the load test by sending POST requests to multiple locations with different deviceId in order to check the total consuming time.
The path used for POST is "..../device/{device_ID}"
POST Body:
{
"accountId":2500000000,
"deviceId":${device_ID},
"key":"Program",
"value":"on"
}
For example, device_ID is set from 1001 to 2000. May I ask how to do this load test by using SOAPUI? I couldn't find the way to set varied deviceId.
Thanks a lot in advance!
I created a REST HTTP Request for a POST Method, using JSON data in the body. I am trying to do the load test by sending POST requests to multiple locations with different deviceId in order to check the total consuming time.
The path used for POST is "..../device/{device_ID}"
POST Body:
{
"accountId":2500000000,
"deviceId":${device_ID},
"key":"Program",
"value":"on"
}
For example, device_ID is set from 1001 to 2000. May I ask how to do this load test by using SOAPUI? I couldn't find the way to set varied deviceId.
Thanks a lot in advance!