How to Handle dynamic QUERY Style key-value parameters in my request url?
I got stuck with my soapui project and need your help to have a look, details as below:
Request URL 01: http://www.test.com/path?a=1&p_age=18
Request URL 02: http://www.test.com/path?a=1&p_age=18&p_gender=male
Request URL 03: http://www.test.com/path?a=1&p_age=18&p_gender=male&p_height=180
As you can see, there's dynamic QUERY Style key-value parameters in my request url, and the key is custom defined, it always changed, looks TEMPLATE style parameter didn't any help, is there any good solution for this scenario? Look forward for your response, thanks a lot
Solved! Go to Solution.
By the way, it is possible to achieve the above using a groovy script.
A sample is available, please check below link.
You many need to alter the script to adopt your changes.