2011-12-13 105 views
0

我添加了一個HTTP授權管理JMeter的,一個HTTP請求的默認和HTTP代理服務器。 我配置我的HTTP授權管理器控制面板:JMeter- HTTP授權管理器錯誤

Base URL: http://www.gmail.com 
Username: abc 
Password: xxxxxxx 

但我正在逐漸在Internet Explorer中的錯誤,當我打開​​

Error:

There is a problem with this website's security certificate.

The security certificate presented by this website was not issued by a trusted certificate authority. The security certificate presented by this website was issued for a different website's address.

Security certificate problems may indicate an attempt to fool you or intercept any data you send to the server.

誰能告訴我什麼,我丟失或做錯了什麼? 在此先感謝。

回答

0

你想達到什麼目的?你是否試圖通過Jmeter登錄到Gmail來閱讀郵件?

如果是這樣,它不是指向Gmail網址和使用基本身份驗證一樣簡單。您可以通過使用BadBoy來記錄您想要執行的操作,然後將其導出到Jmeter,從而瞭解涉及的內容。

那說,這不是一個好辦法。

我會看使用POP3接口 - 試圖模擬使用JMeter一個瀏覽器如Gmail一個網站,每天都在改變可能是非常困難的。應該可以編寫一個Java POP3客戶端(或者更好的方法是找到一個開源的客戶端),然後從你的Jmeter腳本中調用它。

+0

其實我只想檢查一下HTTP授權管理器是做什麼的? 我已經嘗試了許多方法,但我無法理解它的目的 – asma

+0

哈哈沒關係,它用於使用[基本身份驗證]網站(http://en.wikipedia.org/wiki/Basic_access_authentication)。這就是獲取要求輸入用戶名/密碼的瀏覽器對話框的地方。我真的推薦閱讀[Jmeter文檔](http://jmeter.apache.org/usermanual/index.html) –

+0

這尤其是! http://jmeter.apache.org/usermanual/component_reference.html#HTTP_Authorization_Manager –