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

[求助] 急,请教大家三个LR的问题

急,请教大家三个LR的问题


我在用LR 进行测试时,出现下列问题:
1.Action.c(2152): Continuing after Error -26542: Incomplete "Transfer-Encoding: chunked" body for URL="http://10.0.2.91:8080/sb/member/logout.action?requestedLocale=zh_TW" (internal information: _eState=2, _liChunkBodyRemainingLen=5428)       
2.Action.c(11): Continuing after Error -26374: The above "not found" error(s) may be explained by header and body byte counts being 0 and 0, respectively.       
3. Action.c(484): Continuing after Error -26366: "Text=Welcome to Samvo" not found for web_reg_find
该怎么做了,谢谢sdlkfj9
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

从下面这句话看,是不是你的检查点失败了。

Text=Welcome to Samvo" not found for web_reg_find

能不能把脚本发出来,大家帮你看看。
欢迎访问Ricky的专业个人测试博客
http://www.rickyzhu.com
专注于测试自动化,性能测试以及测试工具的研究

TOP

脚本比较长,我会分段发,请大家耐心的看呀
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

#include "web_api.h"


Action()
{
        web_reg_find("Text=Welcome to Samvo",
                LAST);
        web_url("member",
                "URL=http://10.0.2.91:8080/sb/member",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=",
                "Snapshot=t1.inf",
                "Mode=HTTP",
                LAST);
        web_concurrent_start(NULL);
        web_url("style_print.css",
                "URL=http://10.0.2.91:8080/sb/member/style/style_print.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t2.inf",
                LAST);
        web_url("home.css",
                "URL=http://10.0.2.91:8080/sb/member/style/home.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t3.inf",
                LAST);
        web_url("script.js",
                "URL=http://10.0.2.91:8080/sb/script/script.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t4.inf",
                LAST);
        web_url("util_form.js",
                "URL=http://10.0.2.91:8080/sb/script/util_form.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t5.inf",
                LAST);
        web_url("sign.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/sign.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t6.inf",
                LAST);
        web_url("news43.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news43.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t7.inf",
                LAST);
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

web_url("flashad.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/flashad.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t8.inf",
                LAST);
        web_url("notice_tr.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/notice_tr.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t9.inf",
                LAST);
        web_url("notice_bl.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/notice_bl.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t10.inf",
                LAST);
        web_url("notice_tl.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/notice_tl.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t11.inf",
                LAST);
        web_url("news11.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news11.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t13.inf",
                LAST);
        web_url("notice_br.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/notice_br.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t14.inf",
                LAST);
        web_url("news12.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news12.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t17.inf",
                LAST);
        web_url("news13.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news13.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t20.inf",
                LAST);
        web_url("news21.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news21.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t21.inf",
                LAST);
        web_url("news23.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news23.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t22.inf",
                LAST);
        web_url("news31.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news31.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t23.inf",
                LAST);
        web_url("news32.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news32.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t25.inf",
                LAST);
        web_url("news33.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news33.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t28.inf",
                LAST);
        web_url("news41.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news41.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t29.inf",
                LAST);
        web_url("news42.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news42.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t30.inf",
                LAST);
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

web_url("hot.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/hot.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t31.inf",
                LAST);
        web_url("hot1.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/hot1.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t32.inf",
                LAST);
        web_url("hot2.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/hot2.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t33.inf",
                LAST);
        web_url("hot3.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/hot3.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t34.inf",
                LAST);
        web_url("hot4.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/hot4.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t35.inf",
                LAST);
        web_url("contactus.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/contactus.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t36.inf",
                LAST);
        web_url("signup.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/signup.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t37.inf",
                LAST);
        web_url("news22.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/news22.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t38.inf",
                LAST);
        web_concurrent_end(NULL);
        web_url("lc.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/lc.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t12.inf",
                LAST);
        web_concurrent_start(NULL);
        web_url("rc.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/rc.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t15.inf",
                LAST);
        web_url("lc2.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/lc2.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t16.inf",
                LAST);
        web_concurrent_end(NULL);
        web_concurrent_start(NULL);
        web_url("newstitlebg.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/newstitlebg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t18.inf",
                LAST);
        web_url("rc2.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/rc2.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t19.inf",
                LAST);
        web_concurrent_end(NULL);
        web_url("nav_menubg.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/nav_menubg.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t24.inf",
                LAST);
        web_concurrent_start(NULL);
        web_url("nav_submenu.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/nav_submenu.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t26.inf",
                LAST);
        web_url("blogo.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/blogo.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t27.inf",
                LAST);
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

web_concurrent_end(NULL);

        lr_start_transaction("login");

        web_concurrent_start(NULL);
        web_url("nav_submenu.gif_2",
                "URL=http://10.0.2.91:8080/sb/member/images/nav_submenu.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t39.inf",
                LAST);
        web_url("nav_submenu.gif_3",
                "URL=http://10.0.2.91:8080/sb/member/images/nav_submenu.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t40.inf",
                LAST);
        web_url("nav_submenu.gif_4",
                "URL=http://10.0.2.91:8080/sb/member/images/nav_submenu.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t41.inf",
                LAST);
        web_concurrent_end(NULL);
        web_reg_find("Text=Welcome to Samvo",
                LAST);
        web_submit_data("login.action",
                "Action=http://10.0.2.91:8080/sb/member/login.action",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t42.inf",
                "Mode=HTTP",
                ITEMDATA,
                "Name=meCode", "Value={UName03}", ENDITEM,
                "Name=password", "Value=123456", ENDITEM,
                "Name=x", "Value=8", ENDITEM,
                "Name=y", "Value=8", ENDITEM,
                LAST);
        web_concurrent_start(NULL);
        web_url("Intro_03_01.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_01.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t43.inf",
                LAST);
        web_url("style.css",
                "URL=http://10.0.2.91:8080/sb/member/style/style.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t44.inf",
                LAST);
        web_url("Intro_03_04.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_04.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t45.inf",
                LAST);
        web_url("Intro.css",
                "URL=http://10.0.2.91:8080/sb/member/style/Intro.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t46.inf",
                LAST);
        web_url("Intro_dot_07.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_dot_07.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t47.inf",
                LAST);
        web_url("trans.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/trans.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t48.inf",
                LAST);
        web_url("Intro_03_07.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_07.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t49.inf",
                LAST);
        web_url("Intro_03_02.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_02.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t50.inf",
                LAST);
        web_url("Intro_03_03.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_03.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t52.inf",
                LAST);
        web_url("Intro_03_10.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_10.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t53.inf",
                LAST);
        web_url("Intro_03_06.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_06.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t55.inf",
                LAST);
        web_url("Intro_03_08.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_08.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t56.inf",
                LAST);
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

web_concurrent_end(NULL);

        lr_start_transaction("login");

        web_concurrent_start(NULL);
        web_url("nav_submenu.gif_2",
                "URL=http://10.0.2.91:8080/sb/member/images/nav_submenu.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t39.inf",
                LAST);
        web_url("nav_submenu.gif_3",
                "URL=http://10.0.2.91:8080/sb/member/images/nav_submenu.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t40.inf",
                LAST);
        web_url("nav_submenu.gif_4",
                "URL=http://10.0.2.91:8080/sb/member/images/nav_submenu.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t41.inf",
                LAST);
        web_concurrent_end(NULL);
        web_reg_find("Text=Welcome to Samvo",
                LAST);
        web_submit_data("login.action",
                "Action=http://10.0.2.91:8080/sb/member/login.action",
                "Method=POST",
                "RecContentType=text/html",
                "Referer=http://10.0.2.91:8080/sb/member/home.action?requestedLocale=zh_tw",
                "Snapshot=t42.inf",
                "Mode=HTTP",
                ITEMDATA,
                "Name=meCode", "Value={UName03}", ENDITEM,
                "Name=password", "Value=123456", ENDITEM,
                "Name=x", "Value=8", ENDITEM,
                "Name=y", "Value=8", ENDITEM,
                LAST);
        web_concurrent_start(NULL);
        web_url("Intro_03_01.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_01.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t43.inf",
                LAST);
        web_url("style.css",
                "URL=http://10.0.2.91:8080/sb/member/style/style.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t44.inf",
                LAST);
        web_url("Intro_03_04.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_04.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t45.inf",
                LAST);
        web_url("Intro.css",
                "URL=http://10.0.2.91:8080/sb/member/style/Intro.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t46.inf",
                LAST);
        web_url("Intro_dot_07.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_dot_07.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t47.inf",
                LAST);
        web_url("trans.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/trans.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t48.inf",
                LAST);
        web_url("Intro_03_07.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_07.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t49.inf",
                LAST);
        web_url("Intro_03_02.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_02.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t50.inf",
                LAST);
        web_url("Intro_03_03.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_03.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t52.inf",
                LAST);
        web_url("Intro_03_10.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_10.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t53.inf",
                LAST);
        web_url("Intro_03_06.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_06.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t55.inf",
                LAST);
        web_url("Intro_03_08.gif",
                "URL=http://10.0.2.91:8080/sb/member/images/Intro_03_08.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/login.action",
                "Snapshot=t56.inf",
                LAST);
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

web_concurrent_end(NULL);
        web_url("getMeNoticeXml.action_2",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t77.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_3",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t78.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_4",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t79.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_5",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t80.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_6",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t81.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_7",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t82.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_8",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t83.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_9",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t84.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_10",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t85.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_11",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t86.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_12",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t87.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_13",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t88.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_14",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t89.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_15",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t90.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_16",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t91.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_17",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t92.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_18",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t93.inf",
                "Mode=HTTP",
                LAST);


        lr_end_transaction("login", LR_AUTO);
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

lr_think_time(10);

        web_url("getMeNoticeXml.action_19",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t94.inf",
                "Mode=HTTP",
                LAST);


        lr_think_time(5);

        lr_start_transaction("beg");
       

        web_url("getMeNoticeXml.action_76",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t151.inf",
                "Mode=HTTP",
                LAST);
        web_reg_find("Text=Welcome to Samvo",
                LAST);
        web_url("listHdSoccerEventMarketAh.action",
                "URL=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t158.inf",
                "Mode=HTTP",
                LAST);
        web_concurrent_start(NULL);
        web_url("style_print.css_4",
                "URL=http://10.0.2.91:8080/sb/member/style/style_print.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t159.inf",
                LAST);
        web_url("style.css_4",
                "URL=http://10.0.2.91:8080/sb/member/style/style.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t160.inf",
                LAST);
        web_url("script.js_4",
                "URL=http://10.0.2.91:8080/sb/script/script.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t161.inf",
                LAST);
        web_url("script.js_5",
                "URL=http://10.0.2.91:8080/sb/member/script/script.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t162.inf",
                LAST);
        web_reg_find("Text=Welcome to Samvo",
                LAST);
        // [WCSPARAM WCSParam_Diff1 14 20070412170952] Parameter {WCSParam_Diff1} created by Correlation Studio
        web_reg_save_param("WCSParam_Diff1",
                "LB=Last timestamp: ",
                "RB=<",
                "Ord=1",
                "RelFrameId=1",
                "Search=Body",
                LAST);
        web_url("refreshHdSoccerEventMarketAh.action",
                "URL=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t164.inf",
                "Mode=HTTP",
                LAST);
        web_concurrent_end(NULL);
        web_url("lc.gif_2",
                "URL=http://10.0.2.91:8080/sb/member/images/lc.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t163.inf",
                LAST);
        web_url("rc.gif_2",
                "URL=http://10.0.2.91:8080/sb/member/images/rc.gif",
                "Resource=1",
                "RecContentType=image/gif",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t165.inf",
                LAST);
        web_url("getMeNoticeXml.action_83",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t166.inf",
                "Mode=HTTP",
                LAST);
        web_url("getMeNoticeXml.action_84",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t167.inf",
                "Mode=HTTP",
                LAST);
        web_url("style.css_5",
                "URL=http://10.0.2.91:8080/sb/member/style/style.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action",
                "Snapshot=t168.inf",
                LAST);
        web_url("script.js_6",
                "URL=http://10.0.2.91:8080/sb/script/script.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action",
                "Snapshot=t169.inf",
                LAST);
        web_url("style_print.css_5",
                "URL=http://10.0.2.91:8080/sb/member/style/style_print.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action",
                "Snapshot=t170.inf",
                LAST);
        web_url("getMeNoticeXml.action_85",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t171.inf",
                "Mode=HTTP",
                LAST);
        web_reg_find("Text=Welcome to Samvo",
                LAST);
        web_url("refreshHdSoccerEventMarketAh.action_2",
                "URL=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action?lastTimestamp={WCSParam_Diff1}",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t178.inf",
                "Mode=HTTP",
                LAST);
        web_concurrent_start(NULL);
        web_url("style_print.css_6",
                "URL=http://10.0.2.91:8080/sb/member/style/style_print.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action?lastTimestamp={WCSParam_Diff1}",
                "Snapshot=t179.inf",
                LAST);
        web_url("style.css_6",
                "URL=http://10.0.2.91:8080/sb/member/style/style.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action?lastTimestamp={WCSParam_Diff1}",
                "Snapshot=t180.inf",
                LAST);
        web_url("script.js_7",
                "URL=http://10.0.2.91:8080/sb/script/script.js",
                "Resource=1",
                "RecContentType=text/javascript",
                "Referer=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action?lastTimestamp={WCSParam_Diff1}",
                "Snapshot=t181.inf",
                LAST);
刚学LoadRunner, WinRunner不久,请大家多多指教

TOP

web_concurrent_end(NULL);
        web_url("getMeNoticeXml.action_92",
                "URL=http://10.0.2.91:8080/sb/member/getMeNoticeXml.action",
                "Resource=0",
                "RecContentType=text/xml",
                "Referer=http://10.0.2.91:8080/sb/member/menu.action",
                "Snapshot=t182.inf",
                "Mode=HTTP",
                LAST);
        web_reg_find("Text=Welcome to Samvo",
                LAST);
        web_url("refreshHdSoccerEventMarketAh.action_3",
                "URL=http://10.0.2.91:8080/sb/member/refreshHdSoccerEventMarketAh.action?lastTimestamp={WCSParam_Diff1}",
                "Resource=0",
                "RecContentType=text/html",
                "Referer=http://10.0.2.91:8080/sb/member/listHdSoccerEventMarketAh.action",
                "Snapshot=t189.inf",
                "Mode=HTTP",
                LAST);
        web_concurrent_start(NULL);
        web_url("style_print.css_7",
                "URL=http://10.0.2.91:8080/sb/member/style/style_print.css",
                "Resource=1",
                "RecContentType=text/css",
                "Referer=http://10.0.2.91:8080/sb/member/refreshHd