Forum Discussion

FelixNawroth's avatar
FelixNawroth
New Contributor
15 years ago

Setting project-wide custom http headers

Hi,

I'm currently testing webservices that require a number of custom http headers. By now I've found a way to set those headers for all requests inside of one TestSuite (see https://www.eviware.com/forum/viewtopic.php?f=5&t=3746#p22158), but this doesn't cover those requests automatically created after importing a new WSDL into the project.
Since I use those requests to test and fine-tune the SOAP content before copying them into the TestSuite, I would have to manually add the needed headers to each request

Is there a way to preconfigure those requests with http headers, perhaps by changing a template or by using another groovy script?

Regards,
Felix