google搜索 51Testing站内搜索                    软件测试门户 | 软件测试培 训 | 文章资料精选 | 软件测试论坛 | 软件测试博客 | 测试招聘求职 
打印

[求助] 回放中代理服务器超时报错的处理

回放中代理服务器超时报错的处理


Error -26608: HTTP Status-Code=504 (Proxy Timeout ( 杩炴帴瓒呮椂銆?)) for "http://

1、链接目标是客户的服务器,我们通过EDSL访问客户服务器。也就是说不需要设置代理也能访问。

2、无论是否设置公司内部的代理服务器都会报同样的错误。使用时添加了对应IP不使用代理的例外设置。

3、脚本仅仅是一个登录、注销。

4、使用的是IE6.0浏览器。

有点无助了,谢谢高手帮忙。

[ 本帖最后由 hahu2001 于 2008-7-1 14:50 编辑 ]

TOP

555,无人知晓啊。。。。

TOP

也遇到过相同的问题,关注中。

TOP

补充


1、用的是EDSL专线,之前写错了。
2、使用这个专线需要为机器配置静态路由
3、录制好的脚本在controller中并发时竟然显示的是PASS,这个PASS是真的PASS吗?那为啥回放就不行呢?

[ 本帖最后由 hahu2001 于 2008-7-1 15:02 编辑 ]

TOP

楼主录制脚本的时候确认一下你的IE是否设置代理访问,如果不设置代理可以正常访问客户的服务器,那录制的时候就直接录制.以下是解决该问题需要考虑的一些地方
Try to access the URL or the application being tested from a browser on the same machine.
Rerun the failing scenario, and, concurrently, try to access the URL or the application being tested from a browser on another machine. If the response time is excessive, the server or the server application probably cannot sustain such loads. You should analyze the server for bottlenecks, and try to optimize server performance.
Run the scenario on the Controller, and use the Analysis results to locate bottlenecks on the server, DNS, and/or network and try to optimize server performance.
If you are using a proxy server, try running the scenario without it

TOP

既然需要为机器配置静态路由,那就配置好正确的路由再录制一次脚本试试.controller中显示的PASS表示脚本在场景中的运行是成功的.

TOP

1、录制前,路由已配置好。
2、我去试验下不设置代理的情况下录制的脚本是否会有不同。

TOP

这东西无法解决了吗,唉。

TOP

 
当前时区 GMT+8, 现在时间是 2008-10-14 11:35Copyright(C)上海博为峰软件技术有限公司 2001-2007 电话:021-64471599-8017
当您在访问网站、论坛及博客过程中遇到问题时可发送email:webmaster@51testing.com或发送论坛短信至管理员风在吹