loadRunner函数之lr_set_debug_message

  lr_set_debug_message:选择性开启扩展日志

 

vuser_init:

vuser_init()
{
    return 0;
}
View Code

 

Action:

Action()
{
    ExtendedLog(1);    // 开启扩展日志

    web_url("WebTours", 
        "URL=http://127.0.0.1:1080/WebTours/", 
        "Resource=0", 
        "RecContentType=text/html", 
        "Referer=", 
        "Snapshot=t1.inf", 
        "Mode=HTML", 
        LAST);

    ExtendedLog(0);    // 关闭扩展日志

    return 0;
}
View Code

 

vuser_end:

vuser_end()
{
    return 0;
}
View Code

 

globals.h:

#ifndef _GLOBALS_H
#define _GLOBALS_H

//--------------------------------------------------------------------
// Include Files
#include "lrun.h"
#include "web_api.h"
#include "lrw_custom_body.h"

//--------------------------------------------------------------------
// Global Variables

/*
    开启或关闭扩展日志
    Switch:1-打开    0-关闭
    LR_MSG_CLASS_EXTENDED_LOG:扩展日志
    LR_MSG_CLASS_PARAMETERS:参数替换
    LR_MSG_CLASS_RESULT_DATA:服务器返回数据
    LR_MSG_CLASS_FULL_TRACE:高级跟踪
*/

void ExtendedLog(int Switch) {
    lr_set_debug_message(LR_MSG_CLASS_EXTENDED_LOG,Switch);
    lr_set_debug_message(LR_MSG_CLASS_PARAMETERS,Switch);
    lr_set_debug_message(LR_MSG_CLASS_RESULT_DATA,Switch);
    lr_set_debug_message(LR_MSG_CLASS_FULL_TRACE,Switch);
}
#endif // _GLOBALS_H
View Code

 

回放日志:

Virtual User Script started at : 2015-06-10 15:04:46
Starting action vuser_init.
Web Turbo Replay of LoadRunner 11.0.0 for Windows 7; build 8859 (Aug 18 2010 20:14:31)      [MsgId: MMSG-27143]
Run Mode: HTML      [MsgId: MMSG-26000]
Run-Time Settings file: "C:\Users\pengfayuan\AppData\Local\Temp\noname1\\default.cfg"      [MsgId: MMSG-27141]
Ending action vuser_init.
Running Vuser...
Starting iteration 1.
Starting action Action.
Action.c(5): web_url("WebTours") started      [MsgId: MMSG-26355]
Action.c(5): t=443ms: Connecting [0] to host 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=450ms: Connected socket [0] from 127.0.0.1:7013 to 127.0.0.1:1080 in 0 ms      [MsgId: MMSG-26000]
Action.c(5): t=453ms: 178-byte request headers for "http://127.0.0.1:1080/WebTours/" (RelFrameId=1, Internal ID=1)
Action.c(5):     GET /WebTours/ HTTP/1.1\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     \r\n
Action.c(5): t=493ms: 164-byte response headers for "http://127.0.0.1:1080/WebTours/" (RelFrameId=1, Internal ID=1)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     Content-type: text/html\r\n
Action.c(5):     Content-length: 312\r\n
Action.c(5):     Last-modified: Tue, 08 May 2007 11:40:23 GMT\r\n
Action.c(5):     \r\n
Action.c(5): t=539ms: 312-byte response body for "http://127.0.0.1:1080/WebTours/" (RelFrameId=1, Internal ID=1)
Action.c(5):     <HTML>\n
Action.c(5):     <HEAD>\n
Action.c(5):     <title>Web Tours</title>\n
Action.c(5):     <frameset rows = "65,*" border=1 bordercolor=#E0E7F1>\n
Action.c(5):     <frame name="header" src=header.html scrolling=no noresize marginheight=2 marginwidth=2>\n
Action.c(5):     <frame name="body" src=welcome.pl?signOff=true scrolling=auto noresize marginheight=2 marg
Action.c(5):     inwidth=2>\n
Action.c(5):     </frameset>\n
Action.c(5):     </head>\n
Action.c(5):     </html>\n
Action.c(5):     \n
Action.c(5): Detected non-resource "http://127.0.0.1:1080/WebTours/header.html" in "http://127.0.0.1:1080/WebTours/"      [MsgId: MMSG-26574]
Action.c(5): Detected non-resource "http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true" in "http://127.0.0.1:1080/WebTours/"      [MsgId: MMSG-26574]
Action.c(5): t=591ms: Request done "http://127.0.0.1:1080/WebTours/"      [MsgId: MMSG-26000]
Action.c(5): t=599ms: Already connected [0] to 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=603ms: 243-byte request headers for "http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true" (RelFrameId=1.2, Internal ID=3)
Action.c(5):     GET /WebTours/welcome.pl?signOff=true HTTP/1.1\r\n
Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     \r\n
Action.c(5): t=640ms: Connecting [1] to host 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=643ms: Connected socket [1] from 127.0.0.1:7014 to 127.0.0.1:1080 in 0 ms      [MsgId: MMSG-26000]
Action.c(5): t=649ms: 231-byte request headers for "http://127.0.0.1:1080/WebTours/header.html" (RelFrameId=1.1, Internal ID=2)
Action.c(5):     GET /WebTours/header.html HTTP/1.1\r\n
Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     \r\n
Action.c(5): t=688ms: 164-byte response headers for "http://127.0.0.1:1080/WebTours/header.html" (RelFrameId=1.1, Internal ID=2)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     Content-type: text/html\r\n
Action.c(5):     Content-length: 692\r\n
Action.c(5):     Last-modified: Tue, 08 May 2007 11:40:23 GMT\r\n
Action.c(5):     \r\n
Action.c(5): t=734ms: 692-byte response body for "http://127.0.0.1:1080/WebTours/header.html" (RelFrameId=1.1, Internal ID=2)
Action.c(5):     <!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML//EN">\n
Action.c(5):     <HTML><HEAD></HEAD>\n
Action.c(5):     <BODY bgcolor=#003366 leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">\n
Action.c(5):     \t\t&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&n
Action.c(5):     bsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; \n
Action.c(5):     \t\t<table width="100%" border="0" cellspacing="0" cellpadding="0">\n
Action.c(5):     \t\t\t<tr>\n
Action.c(5):     \t\t\t\t<td align="left" valign="middle" width="50%"><img src="images/hp_logo.png" alt="" 
Action.c(5):     height="45" width="69" align="absmiddle" border="0"><img src="images/webtours.png" alt="" 
Action.c(5):     height="45" width="130" align="absmiddle" border="0"></td>\n
Action.c(5):     \t\t\t\t<td align="right"></td>\n
Action.c(5):     \t\t\t\t<td></td>\n
Action.c(5):     \t\t\t</tr>\n
Action.c(5):     \t\t</table>\n
Action.c(5):     \t</BODY>\n
Action.c(5): Found resource "http://127.0.0.1:1080/WebTours/images/hp_logo.png" in HTML "http://127.0.0.1:1080/WebTours/header.html"      [MsgId: MMSG-26659]
Action.c(5): Found resource "http://127.0.0.1:1080/WebTours/images/webtours.png" in HTML "http://127.0.0.1:1080/WebTours/header.html"      [MsgId: MMSG-26659]
Action.c(5): t=818ms: Request done "http://127.0.0.1:1080/WebTours/header.html"      [MsgId: MMSG-26000]
Action.c(5): t=822ms: Already connected [1] to 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=826ms: 249-byte request headers for "http://127.0.0.1:1080/WebTours/images/hp_logo.png" (RelFrameId=, Internal ID=4)
Action.c(5):     GET /WebTours/images/hp_logo.png HTTP/1.1\r\n
Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/header.html\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     \r\n
Action.c(5): t=859ms: 164-byte response headers for "http://127.0.0.1:1080/WebTours/images/hp_logo.png" (RelFrameId=, Internal ID=4)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     Content-type: image/png\r\n
Action.c(5):     Content-length: 601\r\n
Action.c(5):     Last-modified: Mon, 08 Feb 2010 07:51:43 GMT\r\n
Action.c(5):     \r\n
Action.c(5): t=889ms: 601-byte response body for "http://127.0.0.1:1080/WebTours/images/hp_logo.png" (RelFrameId=, Internal ID=4)
Action.c(5): t=893ms: Request done "http://127.0.0.1:1080/WebTours/images/hp_logo.png"      [MsgId: MMSG-26000]
Action.c(5): t=897ms: Already connected [1] to 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=902ms: 250-byte request headers for "http://127.0.0.1:1080/WebTours/images/webtours.png" (RelFrameId=, Internal ID=5)
Action.c(5):     GET /WebTours/images/webtours.png HTTP/1.1\r\n
Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/header.html\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     \r\n
Action.c(5): t=939ms: 391-byte response headers for "http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true" (RelFrameId=1.2, Internal ID=3)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     Cache-control: no-cache\r\n
Action.c(5):     Expires: 0\r\n
Action.c(5):     Content-length: 630\r\n
Action.c(5):     Content-type: text/html; charset=ISO-8859-1\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     Set-cookie: MTUserInfo=; path=/; expires=Tue, 09-Jun-2015 07:04:47 GMT\r\n
Action.c(5):     Set-cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoad
Action.c(5):     Prob&50; path=/\r\n
Action.c(5):     \r\n
Action.c(5): t=998ms: 630-byte response body for "http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true" (RelFrameId=1.2, Internal ID=3)
Action.c(5):     <!-- \n
Action.c(5):      A Session ID has been created and loaded into a cookie called MSO.\n
Action.c(5):      Also, the server options have been loaded into the cookie called\n
Action.c(5):      MSO as well.  The server options can be set via the Admin page.\n
Action.c(5):      --->\n
Action.c(5):     \n
Action.c(5):     <html>\n
Action.c(5):     <title>Web Tours</title>\n
Action.c(5):        <!-- Frame Set -->\n
Action.c(5):        <frameset cols="160,*" border=1 frameborder=1>\n
Action.c(5):           <!-- Navigation Frame -->\n
Action.c(5):           <frame src=nav.pl?in=home name=navbar marginheight=2 marginwidth=2 \n
Action.c(5):                 noresize scrolling=auto>\n
Action.c(5):           <!-- Home Frame -->\n
Action.c(5):           <frame src=/WebTours/home.html name=info marginheight=2 marginwidth=2 \n
Action.c(5):                 noresize scrolling=auto>\n
Action.c(5):        </frameset>\n
Action.c(5):     \n
Action.c(5):     </body>\n
Action.c(5):     </html>
Action.c(5): Detected non-resource "http://127.0.0.1:1080/WebTours/nav.pl?in=home" in "http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true"      [MsgId: MMSG-26574]
Action.c(5): Detected non-resource "http://127.0.0.1:1080/WebTours/home.html" in "http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true"      [MsgId: MMSG-26574]
Action.c(5): t=1074ms: Request done "http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true"      [MsgId: MMSG-26000]
Action.c(5): t=1082ms: Already connected [0] to 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=1085ms: 352-byte request headers for "http://127.0.0.1:1080/WebTours/nav.pl?in=home" (RelFrameId=1.2.1, Internal ID=6)
Action.c(5):     GET /WebTours/nav.pl?in=home HTTP/1.1\r\n
Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     Cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb
Action.c(5):     &50\r\n
Action.c(5):     \r\n
Action.c(5): t=1132ms: 164-byte response headers for "http://127.0.0.1:1080/WebTours/images/webtours.png" (RelFrameId=, Internal ID=5)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     Content-type: image/png\r\n
Action.c(5):     Content-length: 818\r\n
Action.c(5):     Last-modified: Mon, 08 Feb 2010 07:51:43 GMT\r\n
Action.c(5):     \r\n
Action.c(5): t=1181ms: 818-byte response body for "http://127.0.0.1:1080/WebTours/images/webtours.png" (RelFrameId=, Internal ID=5)
Action.c(5): t=1190ms: Request done "http://127.0.0.1:1080/WebTours/images/webtours.png"      [MsgId: MMSG-26000]
Action.c(5): t=1194ms: Already connected [1] to 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=1201ms: 347-byte request headers for "http://127.0.0.1:1080/WebTours/home.html" (RelFrameId=1.2.2, Internal ID=7)
Action.c(5):     GET /WebTours/home.html HTTP/1.1\r\n
Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     Cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb
Action.c(5):     &50\r\n
Action.c(5):     \r\n
Action.c(5): t=1270ms: 165-byte response headers for "http://127.0.0.1:1080/WebTours/home.html" (RelFrameId=1.2.2, Internal ID=7)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     Content-type: text/html\r\n
Action.c(5):     Content-length: 1322\r\n
Action.c(5):     Last-modified: Tue, 08 May 2007 11:40:23 GMT\r\n
Action.c(5):     \r\n
Action.c(5): t=1294ms: 1322-byte response body for "http://127.0.0.1:1080/WebTours/home.html" (RelFrameId=1.2.2, Internal ID=7)
Action.c(5):     <HTML>\n
Action.c(5):     <HEAD>\n
Action.c(5):     \t<title>Web Tours</title>\n
Action.c(5):     </head>\n
Action.c(5):     <style>\n
Action.c(5):     \tblockquote {font-family: tahoma; font-size : 10pt}\n
Action.c(5):     \tH1 {font-family: tahoma; font-size : 22pt; color: #003366}\n
Action.c(5):     \tsmall {font-family: tahoma; font-size : 8pt}\n
Action.c(5):     \tH3{font-family: tahoma; font-size : 10pt; color: black}\n
Action.c(5):     \tA {FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; TEXT-DECORATIO
Action.c(5):     N: none}\n
Action.c(5):     \tA:hover{ FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #993333; FONT-FAMILY: Tahoma;TEXT-DE
Action.c(5):     CORATION: underline}\n
Action.c(5):     \tTD {font-family: tahoma; font-size : 10pt; color: black}\n
Action.c(5):     </style>\n
Action.c(5):     <body bgcolor=#e0e7f1>\n
Action.c(5):     <BR>\n
Action.c(5):     <BR>\n
Action.c(5):     <BR>\n
Action.c(5):     <br >\n
Action.c(5):     <table border=0>\n
Action.c(5):     <tr><td></td></tr>\n
Action.c(5):     <TR><TD></TD></TR>\n
Action.c(5):     <TR><TD>\n
Action.c(5):     <blockquote>\n
Action.c(5):     <H1><b>Web Tours</b></H1>\n
Action.c(5):     Welcome to the Web Tours site.\n
Action.c(5):     <br>\n
Action.c(5):     To make reservations,please enter your account information to the left.\n
Action.c(5):     <br>\n
Action.c(5):     If you haven't registered yet, <A href="login.pl?username=&amp;password=&amp;getInfo=true"
Action.c(5):      ><B>sign up now</B></A> to get access to all our resources.\n
Action.c(5):     <br>\n
Action.c(5):     To configure the server options, use <A href="admin.pl" target=body ><b>administration</b>
Action.c(5):     </A> link.\n
Action.c(5):     <br><br><br><br><br><br>\n
Action.c(5):     <br><small>\n
Action.c(5):     This product uses parts of the SMT Kernel, Copyright (c) 1991-99 <A href="http://www.imati
Action.c(5):     x.com" target=new><B><small>iMatix Corporation</small></B></A> \n
Action.c(5):     </small>\n
Action.c(5):     </blockquote></TD>\n
Action.c(5):     <TD></TD></TR>\n
Action.c(5):     </table>\n
Action.c(5):     </body>\n
Action.c(5):     </html>\n
Action.c(5): t=1420ms: Request done "http://127.0.0.1:1080/WebTours/home.html"      [MsgId: MMSG-26000]
Action.c(5): t=1471ms: 253-byte response headers for "http://127.0.0.1:1080/WebTours/nav.pl?in=home" (RelFrameId=1.2.1, Internal ID=6)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:48 GMT\r\n
Action.c(5):     Cache-control: no-cache\r\n
Action.c(5):     Expires: 0\r\n
Action.c(5):     Content-length: 1532\r\n
Action.c(5):     Content-type: text/html; charset=ISO-8859-1\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     Expires: Tue, 09 Jun 2015 07:04:47 GMT\r\n
Action.c(5):     \r\n
Action.c(5): t=1532ms: 1532-byte response body for "http://127.0.0.1:1080/WebTours/nav.pl?in=home" (RelFrameId=1.2.1, Internal ID=6)
Action.c(5):     <!DOCTYPE html\n
Action.c(5):     \tPUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"\n
Action.c(5):     \t "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n
Action.c(5):     <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">\n
Action.c(5):     <head>\n
Action.c(5):     <title>Web Tours Navigation Bar</title>\n
Action.c(5):     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />\n
Action.c(5):     </head>\n
Action.c(5):     <body bgcolor="#E0E7F1">\n
Action.c(5):     <script language=Javascript src=/WebTours/JSFormSubmit.js> <!--- \n
Action.c(5):      //Form submit is ON \n
Action.c(5):      --> </script>\n
Action.c(5):     <style>\n
Action.c(5):     blockquote {font-family: tahoma; font-size : 10pt}\n
Action.c(5):     H1 {font-family: tahoma; font-size : 22pt; color: #993333}\n
Action.c(5):     H3 {font-family: tahoma; font-size : 10pt; color: black}\n
Action.c(5):     small {font-family: tahoma; font-size : 8pt}\n
Action.c(5):     </style>\n
Action.c(5):     <form method=post action=error.pl  onSubmit='doJSFormSubmit1(this)' target=body>\n
Action.c(5):     <input type=hidden name=userSession value=116153.899311462fQHtzzzpVQfiDDDDDfitHpQQHVHf>\n
Action.c(5):     <table border=0><tr><td>&nbsp;</td>\n
Action.c(5):     <td>&nbsp;</td>\n
Action.c(5):     <tr><td>&nbsp;</td>\n
Action.c(5):     <td>&nbsp;</td></tr>\n
Action.c(5):     <tr><td>&nbsp;</td>\n
Action.c(5):     <td><small>&nbsp;Username</small></td></tr>\n
Action.c(5):     <tr><td>&nbsp;</td>\n
Action.c(5):     <td><input type=text name=username value='' size=14 maxlength=14></td></tr>\n
Action.c(5):     <tr><td>&nbsp;</td>\n
Action.c(5):     <td><small>&nbsp;Password</small></td>\n
Action.c(5):     <tr><td>&nbsp;</td>\n
Action.c(5):     <td><input type=password name=password value='' size=14 maxlength=14></td></tr>\n
Action.c(5):     <tr><td>&nbsp;</td>\n
Action.c(5):     <td>&nbsp;<tr><td>\n
Action.c(5):     <tr><td>&nbsp;</td>\n
Action.c(5):     <td><input type=image name=login value=Login alt=Login border=1 \n
Action.c(5):     src='/WebTours/images/mer_login.gif'>\n
Action.c(5):     <tr><td>&nbsp;</td>\n
Action.c(5):     </table><input type=hidden name=JSFormSubmit value='off'>\n
Action.c(5):     </form>\n
Action.c(5):     \n
Action.c(5):     </body>\n
Action.c(5):     </html>\n
Action.c(5): Found resource "http://127.0.0.1:1080/WebTours/JSFormSubmit.js" in HTML "http://127.0.0.1:1080/WebTours/nav.pl?in=home"      [MsgId: MMSG-26659]
Action.c(5): Found resource "http://127.0.0.1:1080/WebTours/images/mer_login.gif" in HTML "http://127.0.0.1:1080/WebTours/nav.pl?in=home"      [MsgId: MMSG-26659]
Action.c(5): t=1658ms: Request done "http://127.0.0.1:1080/WebTours/nav.pl?in=home"      [MsgId: MMSG-26000]
Action.c(5): t=1661ms: Already connected [0] to 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=1665ms: 349-byte request headers for "http://127.0.0.1:1080/WebTours/images/mer_login.gif" (RelFrameId=, Internal ID=9)
Action.c(5):     GET /WebTours/images/mer_login.gif HTTP/1.1\r\n
Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/nav.pl?in=home\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     Cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb
Action.c(5):     &50\r\n
Action.c(5):     \r\n
Action.c(5): t=1707ms: Already connected [1] to 127.0.0.1:1080      [MsgId: MMSG-26000]
Action.c(5): t=1711ms: 344-byte request headers for "http://127.0.0.1:1080/WebTours/JSFormSubmit.js" (RelFrameId=, Internal ID=8)
Action.c(5):     GET /WebTours/JSFormSubmit.js HTTP/1.1\r\n
Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/nav.pl?in=home\r\n
Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(5):     Accept-Encoding: gzip, deflate\r\n
Action.c(5):     Accept: */*\r\n
Action.c(5):     Connection: Keep-Alive\r\n
Action.c(5):     Host: 127.0.0.1:1080\r\n
Action.c(5):     Cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb
Action.c(5):     &50\r\n
Action.c(5):     \r\n
Action.c(5): t=1746ms: 164-byte response headers for "http://127.0.0.1:1080/WebTours/images/mer_login.gif" (RelFrameId=, Internal ID=9)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:48 GMT\r\n
Action.c(5):     Content-type: image/gif\r\n
Action.c(5):     Content-length: 679\r\n
Action.c(5):     Last-modified: Mon, 08 Feb 2010 07:51:43 GMT\r\n
Action.c(5):     \r\n
Action.c(5): t=1774ms: 679-byte response body for "http://127.0.0.1:1080/WebTours/images/mer_login.gif" (RelFrameId=, Internal ID=9)
Action.c(5): t=1778ms: Request done "http://127.0.0.1:1080/WebTours/images/mer_login.gif"      [MsgId: MMSG-26000]
Action.c(5): t=1781ms: 179-byte response headers for "http://127.0.0.1:1080/WebTours/JSFormSubmit.js" (RelFrameId=, Internal ID=8)
Action.c(5):     HTTP/1.1 200 Ok\r\n
Action.c(5):     Server: Xitami\r\n
Action.c(5):     Date: Wed, 10 Jun 2015 07:04:48 GMT\r\n
Action.c(5):     Content-type: application/x-javascript\r\n
Action.c(5):     Content-length: 291\r\n
Action.c(5):     Last-modified: Tue, 26 Oct 2004 08:18:07 GMT\r\n
Action.c(5):     \r\n
Action.c(5): t=1811ms: 291-byte response body for "http://127.0.0.1:1080/WebTours/JSFormSubmit.js" (RelFrameId=, Internal ID=8)
Action.c(5):     \n
Action.c(5):     function doJSFormSubmit1(theForm) {\n
Action.c(5):     \n
Action.c(5):     \ttheForm.action = "login.pl";\n
Action.c(5):     \ttheForm.JSFormSubmit.value = "on";\n
Action.c(5):     \ttheForm.submit();\n
Action.c(5):     \n
Action.c(5):     \treturn false;\n
Action.c(5):     }\n
Action.c(5):     \n
Action.c(5):     \n
Action.c(5):     function doJSFormSubmit2(theForm) {\n
Action.c(5):     \n
Action.c(5):     \ttheForm.action = "reservations.pl";\n
Action.c(5):     \ttheForm.JSFormSubmit.value = "on";\n
Action.c(5):     \ttheForm.submit();\n
Action.c(5):     \n
Action.c(5):     \treturn false;\n
Action.c(5):     }\n
Action.c(5):     \n
Action.c(5): t=1865ms: Request done "http://127.0.0.1:1080/WebTours/JSFormSubmit.js"      [MsgId: MMSG-26000]
Action.c(5): web_url("WebTours") was successful, 6877 body bytes, 1808 header bytes      [MsgId: MMSG-26386]
Ending action Action.
Ending iteration 1.
Ending Vuser...
Starting action vuser_end.
Ending action vuser_end.
Vuser Terminated.
View Code

 

posted @ 2015-06-10 15:06  大盗—如风  阅读(1309)  评论(0编辑  收藏  举报