2016-04-07 17 views
0

我今天第一次安裝了JMeter。我正在嘗試做一個簡單的SOAP request。當我運行一個方法的錯誤:如何將wsdl驗證添加到Jmeter中

"An error occured when verifying security for the message"

顯示在結果樹中。

有道理。在肥皂UI(我通常使用)我得給在請求屬性以下憑據:

Username: <username> 
Password: <password> 
Domain: empty 
Authentication type: No authorization 
WSS-Password Type: "PasswordText" 

SOAPUI這個工程。當我執行這個方法讓我的結果

所以我JMeter嘗試添加「HTTP授權管理器」有:

Base URL: Same url as i use in the test request 
Username: <username> 
Password: <password> 
domain: empty 
realm: emty 
Mechanism: tried both options 

當我再次運行沒有變化。它看起來不像JMeter甚至看起來是HTTP Authorisation manager中的值。我試圖將它添加到線程組的根目錄中,並試圖使其成爲請求的子項

任何人都可以請幫助我嗎?

+0

注意。我也使用「登錄配置元素」進行了嘗試。不用找了。在結果:( –

+0

沒有人可以幫助我嗎?我在網上找到了任何地方。JMeter似乎沒有社區和NO支持 –

回答

0

我建議切換到HTTP Request取樣器而不是SOAP/XML-RPC Request作爲HTTP請求尊重HTTP授權管理器。

您可以使用HTTP Header Manager以設置Content-TypeSOAPAction標題。

有關負載測試受保護的Web服務的更多詳細信息,請參閱Take the Pain out of Load Testing Secure Web Services

另外請注意,您可以使用SoapUI本身進行一些負載測試(但您的報告有限且沒有集羣功能)。有關更多信息,請參見Using SoapUI for load testing

相關問題