[英]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 . 看起来JMeter的WebService(SOAP)请求不包含HTTP头管理器中定义的请求中的头 。
I want to send Accept-Encoding: gzip, deflate with every SOAP request of my JMeter test - is there a way to achieve that? 我想发送Accept-Encoding:gzip,对我的JMeter测试的每个SOAP请求进行deflate - 有没有办法实现这一点?
The workaround for me was to use the SOAP/XML-RPC Request Sampler instead of the the WebService(SOAP) Request . 我的解决方法是使用SOAP / XML-RPC请求采样器而不是WebService(SOAP)请求 。 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. 之后我发现传入的压缩响应没有解压缩,所以我在https://issues.apache.org/bugzilla/show_bug.cgi?id=48542上提交了一个错误并创建了一个补丁。 The bug is fixed in the trunk and should be included in the current nightly build. 该错误已在主干中修复,并应包含在当前的每晚构建中。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.