开发者

Add request header field to JMeter WebService(SOAP) Request

开发者 https://www.devze.com 2022-12-16 10:05 出处:网络
It seems like the WebService(SOAP) Request of JMeter does not include headers in the request defined in a HTTP Header Manager.

It seems like the WebService(SOAP) Request of JMeter does not include headers in the request defined in a HTTP Header Manager.

I want to send Accept-Encoding: gzip, deflate with every SOAP request of my JMeter test - is ther开发者_如何转开发e a way to achieve that?


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

After that I found out that the incoming compressed response was not decompressed so I filed a bug at 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.

0

精彩评论

暂无评论...
验证码 换一张
取 消