ssin48
8 years agoOccasional Contributor
how to add query parameter values into a REST resource path through Groovy
how to add query parameter values into a REST resource path through Groovy
1. Is the below code correct to follow?
import com.eviware.soapui.support.types.StringToStringMap
def headers = new StringToStringMap()
headers.put("include", "value")
testRunner.testCase.getTestStepByName("REST Request").getHttpRequest().setRequestHeaders(headers)
2. Will this apend my resource path to include Query paramtere and is shown as below: