标题: 浏览器端使用的javascript或者applet来,实时刷新数据,lr该如何录制这个脚本呢? [打印本页] 作者: beckhans 时间: 2006-4-27 10:26 标题: 浏览器端使用的javascript或者applet来,实时刷新数据,lr该如何录制这个脚本呢? 浏览器端使用的javascript或者applet来,实时刷新数据,
lr会捕获到几个url ,
那么这个性能该怎么测试,脚本如何录制? http://www.pushlets.com/pushlet/ ... pushlet-status.html(谁帮录制一下脚本)作者: beckhans 时间: 2006-4-27 11:24
有人知道????作者: beckhans 时间: 2006-4-27 17:20
有人知道吗作者: beckhans 时间: 2006-4-28 10:20
哇赛 人都去哪儿了作者: beckhans 时间: 2006-5-8 09:01
帮忙啊作者: yuxingxin 时间: 2006-5-9 17:36
你的应用完全可以用loadrunner进行测试,要多练习。
不要遇到困难就喊help.作者: 笑游天涯侠 时间: 2006-5-10 09:44
你的实时刷新数据的通信好像不是走的http协议,用winsock协议试试。另外除了p_id需要关联外,还有p_time等需要关联。作者: 笑游天涯侠 时间: 2006-5-10 18:08
我跟你查了些资料:
(一)
Usually when you have Java script (which gets interpreted by the browser) it's to check forms for server submission or perform some other client side activity within the browser, since LR only captures API call out of the browser, LR is oblivious to what the browser is interpreting and executing client side.
So as a work around get the code from DEV and convert it to C for use in the script, it's not that bad and works like a charm, now your script (which is emulating your client) is performing the same operations that occur in the browser.
(二)
lot of client side scripts i.e javascripts are in you application. Loadrunner will not record those client scripts..(as they are Non-gui api calls). INSTEAD, QTP (mercury interactive)and use the same scripts for Performance testing in the controller.