Add request header field to JMeter WebService (SOAP) request

The WebService (SOAP) JMeter request does not seem to contain headers in the request defined in the HTTP Header Manager .

I want to send Accept-Encoding: gzip, deflate with every SOAP request of my JMeter test - is there a way to achieve this?

+4
source share
1 answer

The workaround for me was to use a SOAP / XML-RPC Request Sampler instead of a WebService (SOAP) request. This sends the configured request headers to the server.

After that, I found out that the incoming compressed response was not unpacked, so I filed an error in https://issues.apache.org/bugzilla/show_bug.cgi?id=48542 and created a patch. The bug is fixed in the trunk and should be included in the current nightly build.

+3
source

All Articles