Forum Discussion
rrsqrd
11 years agoNew Contributor
Hi,
Thanks for the suggestion but the soapUI page on adding headers doesn't have what I'm looking for.
It shows how I can manually add a 'custom' header field to a request which I have done.
But I can't set the custom header with a fixed value and then run further tests.
The value being retrieved from the loginRequest response header is similar to a sessionID in that it will
be used in the request header of subsequent testCase requests.
The page also shows how to use property expansion to retrieve the value to be used for the custom header from a property.
It does not show how to use the property to 'set' the value of the custom header field dynamically through a script
in a subsequent testCase request. That is why I am asking about method(s) to set a header field.
thanks
Thanks for the suggestion but the soapUI page on adding headers doesn't have what I'm looking for.
It shows how I can manually add a 'custom' header field to a request which I have done.
But I can't set the custom header with a fixed value and then run further tests.
The value being retrieved from the loginRequest response header is similar to a sessionID in that it will
be used in the request header of subsequent testCase requests.
The page also shows how to use property expansion to retrieve the value to be used for the custom header from a property.
It does not show how to use the property to 'set' the value of the custom header field dynamically through a script
in a subsequent testCase request. That is why I am asking about method(s) to set a header field.
thanks
Related Content
- 4 years agojodydowling
Recent Discussions
SFTP
Solved5 days agotowardsQuality