2011-12-13 103 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 –