KAwad
11 years agoNew Contributor
Parameterizing a Request in REST API Test using SoapUI Pro
Hi,
We are trying to parameterizing one value in the request body for a REST API we testing using SoapUI.
This is a create member API, so every time i am hitting it, i need to enter a unique email address, in order to create a load test to create 10k users eventually.
The request body i am using is like this:
{"personEmail":"tester1@mycompany.com",
"name":"Tester","password":"password1",
"agreeTermsConditions":true,"agreeHipaaPolicy":true,
"username":"tester1",
"timeZoneKey":"EST",
"confirmPassword":"password1"}
The personalEmail fields is the primary key for the member record, and this needs to be parameterized somehow to be tester1 then tester2 and so on..
Thanks in advance.
We are trying to parameterizing one value in the request body for a REST API we testing using SoapUI.
This is a create member API, so every time i am hitting it, i need to enter a unique email address, in order to create a load test to create 10k users eventually.
The request body i am using is like this:
{"personEmail":"tester1@mycompany.com",
"name":"Tester","password":"password1",
"agreeTermsConditions":true,"agreeHipaaPolicy":true,
"username":"tester1",
"timeZoneKey":"EST",
"confirmPassword":"password1"}
The personalEmail fields is the primary key for the member record, and this needs to be parameterized somehow to be tester1 then tester2 and so on..
Thanks in advance.