loadRunner函数之lr_set_debug_message
lr_set_debug_message:选择性开启扩展日志
vuser_init:
vuser_init()
{
return ;
}
Action:
Action()
{
ExtendedLog(); // 开启扩展日志 web_url("WebTours",
"URL=http://127.0.0.1:1080/WebTours/",
"Resource=0",
"RecContentType=text/html",
"Referer=",
"Snapshot=t1.inf",
"Mode=HTML",
LAST); ExtendedLog(); // 关闭扩展日志 return ;
}
vuser_end:
vuser_end()
{
return ;
}
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
回放日志:
Virtual User Script started at : -- ::
Starting action vuser_init.
Web Turbo Replay of LoadRunner 11.0. for Windows ; build (Aug ::) [MsgId: MMSG-]
Run Mode: HTML [MsgId: MMSG-]
Run-Time Settings file: "C:\Users\pengfayuan\AppData\Local\Temp\noname1\\default.cfg" [MsgId: MMSG-]
Ending action vuser_init.
Running Vuser...
Starting iteration .
Starting action Action.
Action.c(): web_url("WebTours") started [MsgId: MMSG-]
Action.c(): t=443ms: Connecting [] to host 127.0.0.1: [MsgId: MMSG-]
Action.c(): t=450ms: Connected socket [] from 127.0.0.1: to 127.0.0.1: in ms [MsgId: MMSG-]
Action.c(): t=453ms: -byte request headers for "http://127.0.0.1:1080/WebTours/" (RelFrameId=, Internal ID=)
Action.c(): GET /WebTours/ HTTP/1.1\r\n
Action.c(): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(): Accept-Encoding: gzip, deflate\r\n
Action.c(): 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(): Connection: Keep-Alive\r\n
Action.c(): Host: 127.0.0.1:\r\n
Action.c(): \r\n
Action.c(): t=640ms: Connecting [] to host 127.0.0.1: [MsgId: MMSG-]
Action.c(): t=643ms: Connected socket [] from 127.0.0.1: to 127.0.0.1: in ms [MsgId: MMSG-]
Action.c(): t=649ms: -byte request headers for "http://127.0.0.1:1080/WebTours/header.html" (RelFrameId=1.1, Internal ID=)
Action.c(): GET /WebTours/header.html HTTP/1.1\r\n
Action.c(): Referer: http://127.0.0.1:1080/WebTours/\r\n
Action.c(): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(): Accept-Encoding: gzip, deflate\r\n
Action.c(): 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 &n
Action.c(5): bsp; \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(): Connection: Keep-Alive\r\n
Action.c(): Host: 127.0.0.1:\r\n
Action.c(): \r\n
Action.c(): t=859ms: -byte response headers for "http://127.0.0.1:1080/WebTours/images/hp_logo.png" (RelFrameId=, Internal ID=)
Action.c(): HTTP/1.1 Ok\r\n
Action.c(): Server: Xitami\r\n
Action.c(): Date: Wed, Jun :: GMT\r\n
Action.c(): Content-type: image/png\r\n
Action.c(): Content-length: \r\n
Action.c(): Last-modified: Mon, Feb :: GMT\r\n
Action.c(): \r\n
Action.c(): t=889ms: -byte response body for "http://127.0.0.1:1080/WebTours/images/hp_logo.png" (RelFrameId=, Internal ID=)
Action.c(): t=893ms: Request done "http://127.0.0.1:1080/WebTours/images/hp_logo.png" [MsgId: MMSG-]
Action.c(): t=897ms: Already connected [] to 127.0.0.1: [MsgId: MMSG-]
Action.c(): t=902ms: -byte request headers for "http://127.0.0.1:1080/WebTours/images/webtours.png" (RelFrameId=, Internal ID=)
Action.c(): GET /WebTours/images/webtours.png HTTP/1.1\r\n
Action.c(): Referer: http://127.0.0.1:1080/WebTours/header.html\r\n
Action.c(): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(): Accept-Encoding: gzip, deflate\r\n
Action.c(): 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(): Connection: Keep-Alive\r\n
Action.c(): Host: 127.0.0.1:\r\n
Action.c(): Cookie: MSO=SID&&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&&MSO_ServerLoadProb
Action.c(): &\r\n
Action.c(): \r\n
Action.c(): t=1132ms: -byte response headers for "http://127.0.0.1:1080/WebTours/images/webtours.png" (RelFrameId=, Internal ID=)
Action.c(): HTTP/1.1 Ok\r\n
Action.c(): Server: Xitami\r\n
Action.c(): Date: Wed, Jun :: GMT\r\n
Action.c(): Content-type: image/png\r\n
Action.c(): Content-length: \r\n
Action.c(): Last-modified: Mon, Feb :: GMT\r\n
Action.c(): \r\n
Action.c(): t=1181ms: -byte response body for "http://127.0.0.1:1080/WebTours/images/webtours.png" (RelFrameId=, Internal ID=)
Action.c(): t=1190ms: Request done "http://127.0.0.1:1080/WebTours/images/webtours.png" [MsgId: MMSG-]
Action.c(): t=1194ms: Already connected [] to 127.0.0.1: [MsgId: MMSG-]
Action.c(): t=1201ms: -byte request headers for "http://127.0.0.1:1080/WebTours/home.html" (RelFrameId=1.2., Internal ID=)
Action.c(): GET /WebTours/home.html HTTP/1.1\r\n
Action.c(): Referer: http://127.0.0.1:1080/WebTours/welcome.pl?signOff=true\r\n
Action.c(): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(): Accept-Encoding: gzip, deflate\r\n
Action.c(): 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=&password=&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> </td>\n
Action.c(5): <td> </td>\n
Action.c(5): <tr><td> </td>\n
Action.c(5): <td> </td></tr>\n
Action.c(5): <tr><td> </td>\n
Action.c(5): <td><small> Username</small></td></tr>\n
Action.c(5): <tr><td> </td>\n
Action.c(5): <td><input type=text name=username value='' size=14 maxlength=14></td></tr>\n
Action.c(5): <tr><td> </td>\n
Action.c(5): <td><small> Password</small></td>\n
Action.c(5): <tr><td> </td>\n
Action.c(5): <td><input type=password name=password value='' size=14 maxlength=14></td></tr>\n
Action.c(5): <tr><td> </td>\n
Action.c(5): <td> <tr><td>\n
Action.c(5): <tr><td> </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> </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(): Connection: Keep-Alive\r\n
Action.c(): Host: 127.0.0.1:\r\n
Action.c(): Cookie: MSO=SID&&MSO_JSFormSubmit1&on&MSO_ServerErrorsProb&&MSO_ServerLoadProb
Action.c(): &\r\n
Action.c(): \r\n
Action.c(): t=1707ms: Already connected [] to 127.0.0.1: [MsgId: MMSG-]
Action.c(): t=1711ms: -byte request headers for "http://127.0.0.1:1080/WebTours/JSFormSubmit.js" (RelFrameId=, Internal ID=)
Action.c(): GET /WebTours/JSFormSubmit.js HTTP/1.1\r\n
Action.c(): Referer: http://127.0.0.1:1080/WebTours/nav.pl?in=home\r\n
Action.c(): User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT)\r\n
Action.c(): Accept-Encoding: gzip, deflate\r\n
Action.c(): 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.
loadRunner函数之lr_set_debug_message的更多相关文章
- LoadRunner 函数大全之中文解释
LoadRunner 函数大全之中文解释 // sapgui_table_set_column_selected 模拟用户 // 单击表中的列标题. int sapgui_table_set_colu ...
- LoadRunner函数百科叒叒叒更新了!
首先要沉痛通知每周四固定栏目[学霸君]由于小编外派公干,本周暂停. 那么这周就由云层君来顶替了,当然要要说下自己做的内容啦,DuangDuang! <LoadRunner函数百科>更新通知 ...
- myeclipse调用loadrunner函数开发测试脚本
myeclipse调用loadrunner函数开发测试脚本 一.使用myeclipse开发性能测试脚本 1.使用Eclipse新建一个Java工程,将目录%LoadRunner_Home%\class ...
- LoadRunner函数大全之中文解释
LoadRunner函数大全之中文解释
- 软件测试中LoadRunner函数中的几个陷阱
软件测试 中 LoadRunner 函数中的几个陷阱 1.atof 在 loadrunner 中如果直接用 float f; f=atof("123.00"); lr _outpu ...
- LoadRunner函数的介绍
LoadRunner函数的介绍 LoadRunner函数 一:通用函数 LoadRunner的通用函数以lr为前缀,可以在任何协议中使用.可以如下分类: 信息相关的函数: lr_error_messa ...
- LoadRunner函数
一.基础函数简介 在VU左边导航栏中,有三个LoadRunner框架函数,分别是vuser_init().Action().vuser_end().这三个函数存在于任何Vuser类型的脚本中. vus ...
- LoadRunner函数示例:lr_paramarr_random()
lr_paramarr_random()函数的作用为:从一个参数数组中随机抽取一个值并以字符串形式返回.其使用方式及返回方式如下: char * lr_paramarr_random( const c ...
- loadrunner函数解密之web_reg_save_param
loadrunner工具的使用,最关键的在于3个地方: A:脚本的编写 B:场景设计 C:性能测试结果分析 其 中难度比较大的第一步是:编写脚本,有很多人对于loadrunner里面的各种函数使用的并 ...
随机推荐
- 软件-Jenkins:Jenkins 百科
ylbtech-软件-Jenkins:Jenkins 百科 Jenkins是一个开源软件项目,是基于Java开发的一种持续集成工具,用于监控持续重复的工作,旨在提供一个开放易用的软件平台,使软件的持续 ...
- SqlServer 字段类型详解
bit 整型 bit数据类型是整型,其值只能是0.1或空值.这种数据类型用于存储只有两种可能值的数据,如Yes 或No.True 或False .On 或Off. 注意:很省空间的一种数据类型, ...
- JS对象—字符串总结(创建、属性、方法)
1.创建字符串 1.1 new String(s) String和new一起使用,创建的是一个字符串对象,存放的是字符串s的表示. 1.2 String(s) ...
- shtml与html
前言 在浏览网页的时,忽然发现了一个网址不是以[.html]结尾,而是[.shtml].顿时勾起了我的好奇心,这是什么鬼?于是打开google,开始维基. SHTML 什么是 SHTML 使用SSI( ...
- Tensorflow--Keras官方原文
Keras 是一个用于构建和训练深度学习模型的高阶 API(应用程序接口).它可用于快速设计原型.高级研究和生产,具有以下三个主要优势: 方便用户使用 Keras 具有针对常见用例做出优化的简单而一致 ...
- Android 中三种启用线程的方法
在多线程编程这块,我们经常要使用Handler(处理),Thread(线程)和Runnable这三个类,那么他们之间的关系你是否弄清楚了呢? 首先说明Android的CPU分配的最小单元是线程,Han ...
- tp增删改查
增: 向数据库增加新的数据,这里增是纯粹的增添数据,如果新增的数据包含主键,并且该主键已经在数据库存在,则无法新增数据的. //M("User") 用于高效实例化一个数据模型(M ...
- ArrayBlockingQueue使用
阻塞与非阻塞: 阻塞: 阻塞调用是没有获得资源则挂起进程,被挂起的进程进入休眠状态,调用的函数只有在得到结果之后才返回,进程继续. 对象是否处于阻塞模式和函数是不是阻塞调用有很强的相关性,但并不是一一 ...
- Ubuntu 18.04安装docker 以及Nginx服务设置
1.安装需要的包sudo apt install apt-transport-https ca-certificates software-properties-common curl 2.添加 GP ...
- svg画圆环
之前我已经分享了一篇css画圆环,为啥今天还要分享一篇svg画圆环呢? 原因是:css画圆环在部分ipone手机会有bug,最大张角为90°,所以圆环会有白色的间隙. 好了,开始代码展示: html: ...