开发者

Add request header field to JMeter WebService(SOAP) Request

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜