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="data:images/hp_logo.png" alt=""
Action.c(5):     height="45" width="69" align="absmiddle" border="0"><img src="data: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

转载于:https://www.cnblogs.com/yuan-yuan/p/4566084.html

loadRunner函数之lr_set_debug_message相关推荐

  1. LoadRunner函数大全

    转:http://blog.csdn.net/windone0109/article/details/4353916 1 LoadRunner 函数大全之中文解释 // button_press 函数 ...

  2. loadrunner之 学习二:loadrunner函数

    学习二:loadrunner函数 一.基础函数 在VU左边导航栏中,有三个LR框架函数,分别是vuser_init(),Action(),vuser_end().这三个函数存在与任何Vuser类型的脚 ...

  3. LoadRunner函数中文翻译

    LoadRunner函数中文翻译系列之一--Action web_url 语法: Int Web_url(const char *name, const char * url, <Lists o ...

  4. LoadRunner函数

    一.基础函数简介 在VU左边导航栏中,有三个LoadRunner框架函数,分别是vuser_init().Action().vuser_end().这三个函数存在于任何Vuser类型的脚本中. vus ...

  5. 【LoadRunner技术讲座8】LoadRunner函数中的几个陷阱

    无意中看到此文,写的不错,分享,原文如下: 1.atof 在LoadRunner中如果直接用: float f; f=atof("123.00"); lr_output_messa ...

  6. loadrunner 函数说明

    // button_press 函数激活指定的推按钮. int button_press ( LPCSTR button ); // button_set 函数将按钮状态设置为 ON 或 OFF. i ...

  7. LoadRunner函数学习--lr_convert_string_encoding

    lr_convert_string_encoding: 对中文进行UTF-8转码 int lr_convert_string_encoding ( const char *sourceString, ...

  8. LoadRunner函数详解之web_url

    定义:加载指定的Web页面(GET请求) 函数形式:web_url( const char *StepName, const char *url, , [EXTRARES, ,] LAST ); 示例 ...

  9. LoadRunner 常用函数大全+1

    1 LoadRunner 函数大全之中文解释 // button_press 函数激活指定的推按钮. int button_press ( LPCSTR button ); // button_set ...

最新文章

  1. 杭州程序员吐槽:月薪1.3万,结婚需要给女方彩礼35-40万,直呼结不起!网友回复:娶老婆还是娶祖宗?...
  2. 自旋电子学与量子计算机,基于“分子自旋电子学”的新技术,将给量子计算机带来新希望!...
  3. cad高程如何提取到cass软件_建筑CAD软件中如何设置墙厚标注? - 数码区
  4. SAP UI5 walkthrough 3 - sapUiBody
  5. idea 2个配置 实时编译 autowire注解错
  6. react中嵌入网页_在网站中添加 React
  7. 腾讯云对象存储 python_GitHub - fushall1104/cos-python3-sdk: 腾讯云对象存储服务(cos)Python3.5版本SDK...
  8. mysql 导入 xc2 xa0_Python 字符串处理特殊空格xc2xa0tn Non-breaking space
  9. GLPI+OCS、SmartIT、LANDesk比较
  10. Android常用Adapter用例
  11. 求解简单的四则运算表达式
  12. paip.python错误解决12
  13. 微信小程序常用api
  14. PAT-厘米换算英尺英寸(简单编程题)
  15. 菜花这样做,就着它吃光三碗饭
  16. ARM(1)——什么ARM
  17. 洛谷 P2357 守墓人
  18. ##微信小程序页面跳转##
  19. TMB简介(肿瘤突变负荷 tumor mutation burden, 简称TMB)
  20. Java调用ffmpeg进行视频.H264抽帧,并保存为图片

热门文章

  1. T^T找数字(搜索+二进制枚举)
  2. python︱批量操作文件(os)、图片操作技巧(下载网络图片、skimage.io)
  3. Iterables和迭代器
  4. WPF 元素相对另外一个元素的 相对位置
  5. mysql的配置文件适用5.6与5.7
  6. 【风马一族_C】进制转化
  7. Ckeditor 的加载顺序
  8. Android自定义布局的背景在多分辨率的情况下设置fill_parent时背景不能够横向全屏的问题解决...
  9. 数据库的基本命令操作
  10. 让域控制器强制向DNS服务器注册SRV记录