我試圖聯繫可以通過JMeter(3.0)web服務擊中一個WebService,我得到以下錯誤:獲取SOAP錯誤使用JMeter的
<?xml version="1.0" encoding="UTF-8"?>
<s:Envelope xmlns:s="http://www.w3.org/2003/05/soap-envelope">
<s:Body>
<s:Fault>
<s:Code>
<s:Value>s:Sender</s:Value>
<s:Subcode>
<s:Value xmlns:a="http://schemas.microsoft.com/ws/2005/05/addressing/none">a:ActionNotSupported</s:Value>
</s:Subcode>
</s:Code>
<s:Reason>
<s:Text xml:lang="es-AR">The message with Action '' cannot be processed at the receiver, due to a ContractFilter mismatch at the EndpointDispatcher. This may be because of either a contract mismatch (mismatched Actions between sender and receiver) or a binding/security mismatch between the sender and the receiver. Check that sender and receiver have the same contract and the same binding (including security requirements, e.g. Message, Transport, None).</s:Text>
</s:Reason>
</s:Fault>
</s:Body>
</s:Envelope>
我還沒有遇到網絡聯繫的任何問題來自SoapUI的服務,所以我想知道什麼會導致這個問題。
你可以看到屏幕截圖在這裏:
在樹中的HTTP請求,HTTP請求數據的第一部分,HTTP報頭管理器設置:https://i.stack.imgur.com/6HxIK.jpg
這裏是SoapUI上的結果(工作正常):
SoapUI發送請求的方式可能與Jmeter的方式不同,這就是爲什麼它可以工作嗎?
請幫忙。謝謝!
你能展示你的測試計劃嗎? –