loadrunner录制了论坛的登录脚本,大概过2个小时左右,登录不上了
本帖最后由 bojbo 于 2012-12-4 17:13 编辑loadrunner录制了论坛的登录脚本,大概过2个小时左右后,重新回放脚本就登录失败了,在run_time viewer中给的提示是Authracation has expiried,就登录不上论坛了,登录的脚本如下: web_submit_data("login.php_2",
"Action=http://login.qyer.com/login.php?action=signinajax&_1354593306716",
"Method=POST",
"RecContentType=text/html",
"Referer=http://login.qyer.com/login.php",
"Snapshot=t2.inf",
"Mode=HTML",
ITEMDATA,
"Name=account", "Value=chenlong", ENDITEM,
"Name=password", "Value=asdf123", ENDITEM,
"Name=remember", "Value=true", ENDITEM,
//"Name=refer", "Value=http://www.qyer.com/", ENDITEM,
LAST);
web_url("uc.php",
"URL=http://login.qyer.com/api/uc.php?time=1354679192&code=0846taKnnC4K2Tk%2FA9WWNMeMmIqqr852ifzOBsKs60KcwikJm2dHtjdyTPxKflN0rIYtysSYPPKE0lUkjcfP8gXLbfnoczzLDk0Sc7l0ZMtOMdkVg%2FilF83y41wR3Z2f8sDT1lNE007RJLxl67%2FekNlHe49LEaDjQ4kuySsWTBRHJykXBmZuKoPJKI%2Bg1MdDiW5dAQ",
"Resource=0",
"RecContentType=text/html",
"Referer=http://login.qyer.com/login.php",
"Mode=HTML",
LAST);
web_url("uc.php_6",
"URL=http://bbs.qyer.com/api/uc.php?time=1354679192&code=ff68SHcz0%2BuYm9P2BzRxAicF3HS22xZOhcMhfX7CKS%2BzeptrzivFVqDsjZm2pnl1VWJLgQAFxhFnuQTIQiKZaRZ%2FsYIB1G88b2s4M%2BhSdHBw29o95iPgkTuhTnWVBRCXfUrpoJm3fP8GaSwQPAjrqPY00hGjn69ZXziai%2BZna19BwGNfPIb4zrGC3LqYR9jxM2TExg&_=1354593308103",
"Resource=0",
"RecContentType=text/html",
"Referer=http://login.qyer.com/login.php",
"Mode=HTML",
LAST);
请各位大佬帮帮忙,看看到底咋回事,具体错误日志见附件 你是否对脚本做了关联? 我对web_url("uc.php",
"URL=http://login.qyer.com/api/uc.php?time=1354679192&code=0846taKnnC4K2Tk%2FA9WWNMeMmIqqr852ifzOBsKs60KcwikJm2dHtjdyTPxKflN0rIYtysSYPPKE0lUkjcfP8gXLbfnoczzLDk0Sc7l0ZMtOMdkVg%2FilF83y41wR3Z2f8sDT1lNE007RJLxl67%2FekNlHe49LEaDjQ4kuySsWTBRHJykXBmZuKoPJKI%2Bg1MdDiW5dAQ",
的uc.php?后边的这段代码进行了关联,但是还是会出现authorition has expiried提示,还是登录不成功,会不会是phpsession过期导致的? 你是否对脚本做了关联?
colume 发表于 2012-12-5 20:51 http://bbs.51testing.com/images/common/back.gif
我对web_url("uc.php",
"URL=http://login.qyer.com/api/uc.php?time=1354679192&code=0846taKnnC4K2Tk%2FA9WWNMeMmIqqr852ifzOBsKs60KcwikJm2dHtjdyTPxKflN0rIYtysSYPPKE0lUkjcfP8gXLbfnoczzLDk0Sc7l0ZMtOMdkVg%2FilF83y41wR3Z2f8sDT1lNE007RJLxl67%2FekNlHe49LEaDjQ4kuySsWTBRHJykXBmZuKoPJKI%2Bg1MdDiW5dAQ",
的uc.php?后边的这段代码进行了关联,但是还是会出现authorition has expiried提示,还是登录不成功,会不会是phpsession过期导致的? time=1354679192 需不需要做timestamp的关联啊 需要关联
页:
[1]