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

有关wr延时的问题

有关wr延时的问题


本人刚开始学习wr,请大家指点!
用wr录制的脚本回放速度太快了,服务器承受不了,但是要使每句后面都加上wait也太费事了,我想肯定应该有办法吧。
最好能像loadrunne的thinktime那样,记录录制过程中的延时。

TOP

大伙说话呀,帮忙呀!!!!!
很急的!!

TOP

可能大家都忙着呢,

TOP

大家百忙之中也帮我一把吧:(

TOP

没有自动加的,最多在自定义工具栏做一个wait(1);函数,点一下输一个

TOP

我尝试自定义的工具栏,想选择set as default,可是这个按钮总是灰的???怎么保存呢?谢谢!
附件: 您所在的用户组无法下载或查看附件

TOP

这个请大家再指点一下吧:s

TOP

setting----customize user toolbar左边的paste tsl

TOP

thank you~!

TOP

thank you~!

TOP

这个问题很有价值,可惜我还不懂.
我查了很多资料都没有说明.
兄弟,可以分享一下吗?

TOP

你看不出是怎么回事吗?
就是在自定义栏上加个按钮!
留心看上面怎么做!
WR7.0

TOP

不错,又学了一招


TOP

To 李zi(第一问):
看看这样:
General Options->Run下,点Advanced…按钮,把Delay between execution of CS statements的时间改一下,比如1000ms,这个好像就是每条TSL执行的时间间隔(WR7.0是这样的)

TOP

下面这段话可能对您解决问题有帮助:
During the test run, the Oracle Add-in waits for each statement to complete before continuing. If an operation is not completed within the default timeout, an error message "AUT is not responding. Try to increase the timeout control variable." is displayed. This may occur when slow server response is encountered.
Workaround: Increase the timeout from the default 20 seconds, using the following statement:
set_aut_var("timeout_for_object_state", <timeout in milliseconds>);
For example, to increase the timeout to one minute, use the following statement: set_aut_var("timeout_for_object_state", 60000);

TOP

在8.2里面,可以在设置中,选择


按照你的录制速度回放测试

TOP

引用:
原帖由 生如火花 于 2004-11-12 13:55 发表
setting----customize user toolbar左边的paste tsl
大虾,能详细说下么?谢谢拉~~
我是新手~

TOP

General Options 里的 RUN 可以设置吧 不知楼主是不是这个意思`
目前爱情很失败,努力让事业更成功!

TOP

都是高手啊!!

TOP

可以用WAIT()函数设置.
括号里就是你想要等待的时间

TOP

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