zoukankan      html  css  js  c++  java
  • 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:UserspengfayuanAppDataLocalTemp
    oname1\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
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT
    
    Action.c(5):     Content-type: text/html
    
    Action.c(5):     Content-length: 312
    
    Action.c(5):     Last-modified: Tue, 08 May 2007 11:40:23 GMT
    
    Action.c(5):     
    
    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>
    
    Action.c(5):     <HEAD>
    
    Action.c(5):     <title>Web Tours</title>
    
    Action.c(5):     <frameset rows = "65,*" border=1 bordercolor=#E0E7F1>
    
    Action.c(5):     <frame name="header" src=header.html scrolling=no noresize marginheight=2 marginwidth=2>
    
    Action.c(5):     <frame name="body" src=welcome.pl?signOff=true scrolling=auto noresize marginheight=2 marg
    Action.c(5):     inwidth=2>
    
    Action.c(5):     </frameset>
    
    Action.c(5):     </head>
    
    Action.c(5):     </html>
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT
    
    Action.c(5):     Content-type: text/html
    
    Action.c(5):     Content-length: 692
    
    Action.c(5):     Last-modified: Tue, 08 May 2007 11:40:23 GMT
    
    Action.c(5):     
    
    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">
    
    Action.c(5):     <HTML><HEAD></HEAD>
    
    Action.c(5):     <BODY bgcolor=#003366 leftmargin="0" marginheight="0" marginwidth="0" topmargin="0">
    
    Action.c(5):     		&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; 
    
    Action.c(5):     		<table width="100%" border="0" cellspacing="0" cellpadding="0">
    
    Action.c(5):     			<tr>
    
    Action.c(5):     				<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>
    
    Action.c(5):     				<td align="right"></td>
    
    Action.c(5):     				<td></td>
    
    Action.c(5):     			</tr>
    
    Action.c(5):     		</table>
    
    Action.c(5):     	</BODY>
    
    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
    
    Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/header.html
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT
    
    Action.c(5):     Content-type: image/png
    
    Action.c(5):     Content-length: 601
    
    Action.c(5):     Last-modified: Mon, 08 Feb 2010 07:51:43 GMT
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/header.html
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT
    
    Action.c(5):     Cache-control: no-cache
    
    Action.c(5):     Expires: 0
    
    Action.c(5):     Content-length: 630
    
    Action.c(5):     Content-type: text/html; charset=ISO-8859-1
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT
    
    Action.c(5):     Set-cookie: MTUserInfo=; path=/; expires=Tue, 09-Jun-2015 07:04:47 GMT
    
    Action.c(5):     Set-cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoad
    Action.c(5):     Prob&50; path=/
    
    Action.c(5):     
    
    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):     <!-- 
    
    Action.c(5):      A Session ID has been created and loaded into a cookie called MSO.
    
    Action.c(5):      Also, the server options have been loaded into the cookie called
    
    Action.c(5):      MSO as well.  The server options can be set via the Admin page.
    
    Action.c(5):      --->
    
    Action.c(5):     
    
    Action.c(5):     <html>
    
    Action.c(5):     <title>Web Tours</title>
    
    Action.c(5):        <!-- Frame Set -->
    
    Action.c(5):        <frameset cols="160,*" border=1 frameborder=1>
    
    Action.c(5):           <!-- Navigation Frame -->
    
    Action.c(5):           <frame src=nav.pl?in=home name=navbar marginheight=2 marginwidth=2 
    
    Action.c(5):                 noresize scrolling=auto>
    
    Action.c(5):           <!-- Home Frame -->
    
    Action.c(5):           <frame src=/WebTours/home.html name=info marginheight=2 marginwidth=2 
    
    Action.c(5):                 noresize scrolling=auto>
    
    Action.c(5):        </frameset>
    
    Action.c(5):     
    
    Action.c(5):     </body>
    
    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
    
    Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     Cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb
    Action.c(5):     &50
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT
    
    Action.c(5):     Content-type: image/png
    
    Action.c(5):     Content-length: 818
    
    Action.c(5):     Last-modified: Mon, 08 Feb 2010 07:51:43 GMT
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     Cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb
    Action.c(5):     &50
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT
    
    Action.c(5):     Content-type: text/html
    
    Action.c(5):     Content-length: 1322
    
    Action.c(5):     Last-modified: Tue, 08 May 2007 11:40:23 GMT
    
    Action.c(5):     
    
    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>
    
    Action.c(5):     <HEAD>
    
    Action.c(5):     	<title>Web Tours</title>
    
    Action.c(5):     </head>
    
    Action.c(5):     <style>
    
    Action.c(5):     	blockquote {font-family: tahoma; font-size : 10pt}
    
    Action.c(5):     	H1 {font-family: tahoma; font-size : 22pt; color: #003366}
    
    Action.c(5):     	small {font-family: tahoma; font-size : 8pt}
    
    Action.c(5):     	H3{font-family: tahoma; font-size : 10pt; color: black}
    
    Action.c(5):     	A {FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: black; FONT-FAMILY: Tahoma; TEXT-DECORATIO
    Action.c(5):     N: none}
    
    Action.c(5):     	A:hover{ FONT-WEIGHT: bold; FONT-SIZE: 10pt; COLOR: #993333; FONT-FAMILY: Tahoma;TEXT-DE
    Action.c(5):     CORATION: underline}
    
    Action.c(5):     	TD {font-family: tahoma; font-size : 10pt; color: black}
    
    Action.c(5):     </style>
    
    Action.c(5):     <body bgcolor=#e0e7f1>
    
    Action.c(5):     <BR>
    
    Action.c(5):     <BR>
    
    Action.c(5):     <BR>
    
    Action.c(5):     <br >
    
    Action.c(5):     <table border=0>
    
    Action.c(5):     <tr><td></td></tr>
    
    Action.c(5):     <TR><TD></TD></TR>
    
    Action.c(5):     <TR><TD>
    
    Action.c(5):     <blockquote>
    
    Action.c(5):     <H1><b>Web Tours</b></H1>
    
    Action.c(5):     Welcome to the Web Tours site.
    
    Action.c(5):     <br>
    
    Action.c(5):     To make reservations,please enter your account information to the left.
    
    Action.c(5):     <br>
    
    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.
    
    Action.c(5):     <br>
    
    Action.c(5):     To configure the server options, use <A href="admin.pl" target=body ><b>administration</b>
    Action.c(5):     </A> link.
    
    Action.c(5):     <br><br><br><br><br><br>
    
    Action.c(5):     <br><small>
    
    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> 
    
    Action.c(5):     </small>
    
    Action.c(5):     </blockquote></TD>
    
    Action.c(5):     <TD></TD></TR>
    
    Action.c(5):     </table>
    
    Action.c(5):     </body>
    
    Action.c(5):     </html>
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:48 GMT
    
    Action.c(5):     Cache-control: no-cache
    
    Action.c(5):     Expires: 0
    
    Action.c(5):     Content-length: 1532
    
    Action.c(5):     Content-type: text/html; charset=ISO-8859-1
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:47 GMT
    
    Action.c(5):     Expires: Tue, 09 Jun 2015 07:04:47 GMT
    
    Action.c(5):     
    
    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
    
    Action.c(5):     	PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
    
    Action.c(5):     	 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
    
    Action.c(5):     <html xmlns="http://www.w3.org/1999/xhtml" lang="en-US" xml:lang="en-US">
    
    Action.c(5):     <head>
    
    Action.c(5):     <title>Web Tours Navigation Bar</title>
    
    Action.c(5):     <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
    
    Action.c(5):     </head>
    
    Action.c(5):     <body bgcolor="#E0E7F1">
    
    Action.c(5):     <script language=Javascript src=/WebTours/JSFormSubmit.js> <!--- 
    
    Action.c(5):      //Form submit is ON 
    
    Action.c(5):      --> </script>
    
    Action.c(5):     <style>
    
    Action.c(5):     blockquote {font-family: tahoma; font-size : 10pt}
    
    Action.c(5):     H1 {font-family: tahoma; font-size : 22pt; color: #993333}
    
    Action.c(5):     H3 {font-family: tahoma; font-size : 10pt; color: black}
    
    Action.c(5):     small {font-family: tahoma; font-size : 8pt}
    
    Action.c(5):     </style>
    
    Action.c(5):     <form method=post action=error.pl  onSubmit='doJSFormSubmit1(this)' target=body>
    
    Action.c(5):     <input type=hidden name=userSession value=116153.899311462fQHtzzzpVQfiDDDDDfitHpQQHVHf>
    
    Action.c(5):     <table border=0><tr><td>&nbsp;</td>
    
    Action.c(5):     <td>&nbsp;</td>
    
    Action.c(5):     <tr><td>&nbsp;</td>
    
    Action.c(5):     <td>&nbsp;</td></tr>
    
    Action.c(5):     <tr><td>&nbsp;</td>
    
    Action.c(5):     <td><small>&nbsp;Username</small></td></tr>
    
    Action.c(5):     <tr><td>&nbsp;</td>
    
    Action.c(5):     <td><input type=text name=username value='' size=14 maxlength=14></td></tr>
    
    Action.c(5):     <tr><td>&nbsp;</td>
    
    Action.c(5):     <td><small>&nbsp;Password</small></td>
    
    Action.c(5):     <tr><td>&nbsp;</td>
    
    Action.c(5):     <td><input type=password name=password value='' size=14 maxlength=14></td></tr>
    
    Action.c(5):     <tr><td>&nbsp;</td>
    
    Action.c(5):     <td>&nbsp;<tr><td>
    
    Action.c(5):     <tr><td>&nbsp;</td>
    
    Action.c(5):     <td><input type=image name=login value=Login alt=Login border=1 
    
    Action.c(5):     src='/WebTours/images/mer_login.gif'>
    
    Action.c(5):     <tr><td>&nbsp;</td>
    
    Action.c(5):     </table><input type=hidden name=JSFormSubmit value='off'>
    
    Action.c(5):     </form>
    
    Action.c(5):     
    
    Action.c(5):     </body>
    
    Action.c(5):     </html>
    
    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
    
    Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/nav.pl?in=home
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     Cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb
    Action.c(5):     &50
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Referer: http://127.0.0.1:1080/WebTours/nav.pl?in=home
    
    Action.c(5):     User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)
    
    Action.c(5):     Accept-Encoding: gzip, deflate
    
    Action.c(5):     Accept: */*
    
    Action.c(5):     Connection: Keep-Alive
    
    Action.c(5):     Host: 127.0.0.1:1080
    
    Action.c(5):     Cookie: MSO=SID&1433919887&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&50&MSO_ServerLoadProb
    Action.c(5):     &50
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:48 GMT
    
    Action.c(5):     Content-type: image/gif
    
    Action.c(5):     Content-length: 679
    
    Action.c(5):     Last-modified: Mon, 08 Feb 2010 07:51:43 GMT
    
    Action.c(5):     
    
    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
    
    Action.c(5):     Server: Xitami
    
    Action.c(5):     Date: Wed, 10 Jun 2015 07:04:48 GMT
    
    Action.c(5):     Content-type: application/x-javascript
    
    Action.c(5):     Content-length: 291
    
    Action.c(5):     Last-modified: Tue, 26 Oct 2004 08:18:07 GMT
    
    Action.c(5):     
    
    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):     
    
    Action.c(5):     function doJSFormSubmit1(theForm) {
    
    Action.c(5):     
    
    Action.c(5):     	theForm.action = "login.pl";
    
    Action.c(5):     	theForm.JSFormSubmit.value = "on";
    
    Action.c(5):     	theForm.submit();
    
    Action.c(5):     
    
    Action.c(5):     	return false;
    
    Action.c(5):     }
    
    Action.c(5):     
    
    Action.c(5):     
    
    Action.c(5):     function doJSFormSubmit2(theForm) {
    
    Action.c(5):     
    
    Action.c(5):     	theForm.action = "reservations.pl";
    
    Action.c(5):     	theForm.JSFormSubmit.value = "on";
    
    Action.c(5):     	theForm.submit();
    
    Action.c(5):     
    
    Action.c(5):     	return false;
    
    Action.c(5):     }
    
    Action.c(5):     
    
    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
  • 相关阅读:
    用变量构造函数检查变量类型
    HTML5的File API读取文件信息
    jQuery插件中的this指的是什么
    了解babel
    了解.gitignore
    高德地图画正六边形
    编写可维护性的js读书笔记
    百度地图遇到的问题
    实用的两个移动端demo
    git基本操作总结
  • 原文地址:https://www.cnblogs.com/yuan-yuan/p/4566084.html
Copyright © 2011-2022 走看看