Forum Discussion
SmartBear_Suppo
10 years agoSmartBear Alumni (Retired)
Hi,
To add a header value to other testCase create a project level property and add it in header for other testCase request,
http://www.soapui.org/Scripting-Propert ... properties
You can get the value of the header using groovy script and then add it in a project property so it can be shared between testcases.
// Add project property
testRunner.testCase.testSuite.project.setPropertyValue( "headerval", val)
Add it in header,
Check the screenshot
Thanks,
Jeshtha
To add a header value to other testCase create a project level property and add it in header for other testCase request,
http://www.soapui.org/Scripting-Propert ... properties
You can get the value of the header using groovy script and then add it in a project property so it can be shared between testcases.
// Add project property
testRunner.testCase.testSuite.project.setPropertyValue( "headerval", val)
Add it in header,
Check the screenshot
Thanks,
Jeshtha
Related Content
- 10 months agolodecesa
- 4 years agojodydowling
- 2 years agojjam
- 2 years agotorus