Forum Discussion
SmartBear_Suppo
Alumni
12 years agoHi,
You can set the header since you have the value, you can save it on testSuite level and try this code,
Thanks,
Jeshtha
You can set the header since you have the value, you can save it on testSuite level and try this code,
import com.eviware.soapui.support.types.StringToStringMap
def request = context.testCase.testSteps["Test Request"].testRequest
def headers = request.getRequestHeaders()
headers["TestHeader"] = //add your property value here
request.setRequestHeaders(new StringToStringMap(headers))
Thanks,
Jeshtha