Forum Discussion
rupert_anderson
9 years agoValued Contributor
Hi,
Do you mean for a given TestCase, you want to add a set of headers to each request TestStep within it automatically?
If so, I noticed nmrao wrote a nice script to automatically add headers at a TestStep level:
https://github.com/nmrao/soapUIGroovyScripts/blob/master/groovy/SetHttpHeaders.groovy
This could be adapted to iterate over all TestSteps in a TestCase - Rao do you already have a script like this?
You can also add request filters to automatically add headers when requests are despatched, but this is generally a more complex process. Can explain more about this if necessary.
Regards,
Rupert
Related Content
- 5 years ago
- 2 months ago
Recent Discussions
- 2 days ago