Below are explanations of some fields in the log that are common to all events. These fields do not have to be specified in the IDL.
The API Event
number is an identifier used internally by LoadRunner.
The Id
is the Protocol ID of the protocol that recorded the event.
The Proc
is the Windows System process ID of the process being recorded.
Start
and End
times of recorded events are the tick counts retrieved during recording. The tick count is the time elapsed in milliseconds since the system was started.
The Duration
is the difference between the start and end times. The start, end and duration values are used by the LoadRunner infrastructure create the lr_think_time calls. They do not affect the order of events.
The Operation Name
is the event name as defined in the event IDL. It is commonly the function name of the API call that will be generated from the event.
Argument# n
is defined in the event IDL.
Return Value
is the value returned by the source function during recording.
The following are examples of typical recorded event records:
Api Event (0) : Id=WPLUS Proc=068c:07b4 Start=9682453 End=9682484 Duration=31 msec
Operation Name : wplus_gethostbyname
Argument# 1 IN : [name] = "myHOst"
Argument# 2 IN : [ipaddress] = 199.99.99.1 (016363c7)
Return Value : (void)
Api Event (4) : Id=HTTP Proc=068c:80001001 Start=9690328 End=9690828 Duration=500 msec
Operation Name : wplus_http_wsock_request_ex
Argument# 1 IN : [session_id] = 1
Argument# 2 IN : [http_id] = 1
Argument# 3 IN : [ipaddress] = 209.73.168.74 (4aa849d1)
Argument# 4 IN : [portnum] = 80
Argument# 5 IN : [urladdress] = ""
Argument# 6 IN : [hdr_buffer] = ->Array[0:1387]{ "GET /?.intl=us HTTP/1.1\r\n"
"Accept: */*\r\n"
"Accept-Language: he,en-us;q=0.5\r\n"
"Accept-Encoding: gzip, deflate\r\n"
"User-Agent: Mozilla/4.0 (...)\r\n"
"Host: myhost\r\n"
"Connection: Keep-Alive\r\n"
"Cookie: B=2v712ml24mclb&b=3&s=ku; ...}
Argument# 6 OUT : [hdr_buffer] = ->Array[0:494]{ "HTTP/1.1 302 Found\r\n"
"Date: Sun, 18 Nov 2007 14:01:18 GMT\r\n"
"P3P: policyref=""http://mysite/abs.xml", ...
Location: http://mysite/login?.rand=b5vsl3ervsn7g\r\n"
"Cache-Control: private\r\n"
"Pragma: no-cache\r\n"
"Expires: Thu, 05 Jan 1995 22:00:00 GMT\r\n"
"Connection: close\r\n"
"Transfer-Encoding: chunked\r\n"
"Content-Type: text/html\r\n"
"\r\n"
"" }
Argument# 7 IN : [hdr_buflen] = ->1387
Argument# 7 OUT : [hdr_buflen] = ->494
Argument# 8 IN : [body_buffer] = ->Array[0:0]{ NULL }
Argument# 8 OUT : [body_buffer] = ->Array[0:0]{ NULL }
Argument# 9 IN : [body_buflen] = ->0
Argument# 9 OUT : [body_buflen] = ->0
Argument# 10 IN : [body_filename] = ->Array[0:0]{ NULL }
Argument# 10 OUT : [body_filename] = ->Array[0:49]{ "C:\\kukuriku\\noname3\\data\\http.db\\resp_001_001.dat" }
Argument# 11 IN : [body_filelen] = ->0
Argument# 11 OUT : [body_filelen] = ->49
Argument# 12 IN : [flags] = ->0
Argument# 12 OUT : [flags] = ->0
Argument# 13 IN : [sourceipaddress] = 16.59.38.183 (b7263b10)
Argument# 14 IN : [sourceportnum] = 9933
Return Value : (void)