|
装了loadrunner8.0,在录制它自带的航班系统mercuryWebTours时遇到一个问题:启动loadrunner/Samples/Web/Start Web Server(Xitam Web Server),然后在VUGen中录制,
录制过程如下:
1.
设置Web(HTTP/HTML)协议如下:
application type:internet application
program to record:microsoft internet explorer
URL address:http://localhost:8080/mercuryWebTours
working directory:c:\program files\mercury interactive\mercury loadrunner
record action:action
选中record the application startup 然后开始录制
可录制的页面一直都只能看到页面的。。。nothing but Blue Sky Airways from now on。。。图片而没有下面的登录框和Welcome的部分,但Recording中的events在增加,测了好几次都时这样,一般events时25,最多的一次是28。我测试了好几次,URL Address的IP分别为:
http://localhost:1080/mercuryWebTours/
http://127.0.0.1:1080/mercuryWebTours/
http://hujun:1080/mercuryWebTours/
hujun为主机名,但是都是同样的问题。
以下时录制过程中recording脚本:
[Network Analyzer ( 7e0: 26c)] ------------------------------------------------------------------------------------------
[Network Analyzer ( 7e0: 26c)] Load Network Traffic Analyzers:
[Network Analyzer ( 7e0: 26c)] Analyzer Module: WPLUS (value=)
[Network Analyzer ( 7e0: 26c)] Analyzer Module: QTWeb (value=GetHttpProtocolAnalyzer:api_http_filter.dll)
[Network Analyzer ( 7e0: 26c)] + Network Analyzer: api_http_filter.dll @ GetHttpProtocolAnalyzer Loaded!
[Network Analyzer ( 7e0: 26c)] ------------------------------------------------------------------------------------------
[Network Analyzer ( 7e0: d38)] Address lookup for hujun = 172.16.1.191
[Network Analyzer ( 7e0: a5c)] Address lookup for hujun = 172.16.1.191
[Network Analyzer ( 7e0: a5c)] Request Connection: Remote Server @ 127.0.0.1:1080 (Service=) (Sid= 1) PROXIED!
[Web Request ( 7e0: d38)] "GET /mercuryWebTours/"
[Network Analyzer ( 7e0: d38)] (Sid: 1) Client -> Server : 218 bytes (Service=HTTP)
[Network Analyzer ( 7e0: d38)] (Sid: 1) Server -> Client : 515 bytes (Service=HTTP)
[Web Request ( 7e0: d38)] "GET /mercuryWebTours/header.html"
[Network Analyzer ( 7e0: d38)] (Sid: 1) Client -> Server : 439 bytes (Service=HTTP)
[Network Analyzer ( 7e0: a5c)] Address lookup for hujun = 172.16.1.191
[Network Analyzer ( 7e0: d38)] (Sid: 1) Server -> Client : 183 bytes (Service=HTTP)
[Network Analyzer ( 7e0: d38)] (Sid: 1) Server -> Client : 228 bytes (Service=HTTP)
[Network Analyzer ( 7e0: a5c)] Request Connection: Remote Server @ 127.0.0.1:1080 (Service=) (Sid= 2) PROXIED!
[Web Request ( 7e0: d38)] "GET /mercuryWebTours/images/banner_animated.gif"
[Network Analyzer ( 7e0: d38)] (Sid: 1) Client -> Server : 304 bytes (Service=HTTP)
[Web Request ( 7e0: d38)] "GET /mercuryWebTours/welcome.pl?signOff=true"
[Network Analyzer ( 7e0: d38)] (Sid: 2) Client -> Server : 451 bytes (Service=HTTP)
[Network Analyzer ( 7e0: d38)] (Sid: 1) Server -> Client : 8945 bytes (Service=HTTP)
[Network Analyzer ( 7e0: d38)] (Sid: 1) Server -> Client : 7762 bytes (Service=HTTP)
[Network Analyzer ( 7e0: d38)] (Sid: 2) Server -> Client : 119 bytes (Service=HTTP)
[Network Analyzer ( 7e0: d38)] (Sid: 1) Connection Terminated (by Client)
[Network Analyzer ( 7e0: d38)] (Sid: 2) Connection Terminated (by Client)
录制的correlation results:
the script has either changed or executed since the last correlation scan.To obtain accurate results you must rescan the script forcorrelation。
|
|