Forum Discussion
Thank you rupert_anderson for pointing the script.
QATest, it is little confusing when you say "multiple headers to test case level". Because, headers are applicable only to the test steps that uses http transport protocol.
Did you try the script pointed by Rupert earlier?
If you have different requirement, please elaborate the question.
I am assuming that you have multiple test steps (soap / rest / http request ) and you want those headers to all steps of that test case?
Then you can add the script into Setup Script of the test case with minor modification of the earlier pointed script.
Here is the modified script, you can change the headers as needed.
https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/AddHeadersToMultipleSteps.groovy
Related Content
- 5 years ago
- 2 months ago
Recent Discussions
- 15 years ago