zz_qjs 发表于 2011-9-5 09:45:55

为什么在Recording Log无法找到关联值,然后进行手工关联呢

我想将脚本中的几个地方进行手工关联,按照论坛上高人的指点:先录制两份脚本,然后在Recording Log中找到不同的值,进行关联。

我先找到两份脚本中的不同值,如下:
Name=sysWfBusinessForm.fdWorkItemParameter", "Value=<workitem-param workitemId=\"13227a077c196b668b55e51433190d82\" op
"Name=sysWfBusinessForm.fdHandleWorkItemId", "Value=13227a077c196b668b55e51433190d82", ,
"Name=sysWfBusinessForm.fdModelId", "Value=13227a076834ce738ff6704493f95c69",

但是为什么我在Recording Log中根本就找不到这些不同值呢?且Recording Log显示内容和高人指点的完全不同,Recording Log部分内容如下:
------------------------------------------------------------------------------------------
Load Network Traffic Analyzers:
   Analyzer Module: WPLUS (value=)
   Analyzer Module: WebBase (value=GetHttpProtocolAnalyzer:api_http_filter.dll)
   + Network Analyzer: api_http_filter.dll @ GetHttpProtocolAnalyzer Loaded!
   + Interception Auditors: WinInetWplusInterceptionAudit:api_http_filter.dll
   Analyzer Module: QTWeb (value=)
   Analyzer Module: local_server (value=)
------------------------------------------------------------------------------------------
Address lookup for zzyt-pc099062 = 10.1.99.62
Address lookup for zzyt-pc099062 = 10.1.99.62
Request Connection: Remote Server @ 127.0.0.1:5152 (Service=) Failed attempt #1. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 127.0.0.1:5152 (Service=) Failed attempt #2. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 127.0.0.1:5152 (Service=) Failed attempt #3. Unable to connect to remote server: rc = -1 , le = 0)
Request Connection: Remote Server @ 127.0.0.1:5152   (Service=)NOT PROXIED! (REASON: Unable to connect to remote server: rc = -1 , le = 0)
Address lookup for zzyt-pc099062 = 10.1.99.62
Request Connection: Remote Server @ 10.8.2.114:80   (Service=)(Sid=1)PROXIED!
"GET /ekp/moduleindex.jsp?nav=/km/smissive/tree.jsp&main=%2Fkm%2Fsmissive%2Fkm_smissive_main%2FkmSmissiveMain.do%3Fmethod%3Dlist%26status%3D30%26s_path%3D!%7Bmessage(km-smissive%3Asmissive.tree.myJob.alldoc)%7D"   
   (Sid:1) Client -> Server : 500 bytes (Service=HTTP)
   (Sid:1) Server -> Client : 705 bytes(Service=HTTP)
"GET /server/login?genTicket=false&service=http://eipdev.yutong.com/ekp/moduleindex.jsp%3Fnav=/km/smissive/tree.jsp%26main=%252Fkm%252Fsmissive%252Fkm_smissive_main%252FkmSmissiveMain.do%253Fmethod%253Dlist%2526status%253D30%2526s_path%253D!%257Bmessage(km-smissive%253Asmissive.tree.myJob.alldoc)%257D"   
   (Sid:1) Client -> Server : 642 bytes (Service=HTTP)
   (Sid:1) Server -> Client : 1460 bytes(Service=HTTP)
   (Sid:1) Server -> Client : 3235 bytes(Service=HTTP)
"GET /server/js/common_rosters.js"   
   (Sid:1) Client -> Server : 705 bytes (Service=HTTP)
   (Sid:1) Server -> Client : 1460 bytes(Service=HTTP)
   (Sid:1) Server -> Client : 5637 bytes(Service=HTTP)
"GET /server/images/login_submit.jpg"   
   (Sid:1) Client -> Server : 708 bytes (Service=HTTP)
Address lookup for zzyt-pc099062 = 10.1.99.62
   (Sid:1) Server -> Client : 1460 bytes(Service=HTTP)
   (Sid:1) Server -> Client : 8760 bytes(Service=HTTP)
Request Connection: Remote Server @ 10.8.2.114:80   (Service=)(Sid=2)PROXIED!
   (Sid:1) Server -> Client : 3917 bytes(Service=HTTP)
"GET /server/images/login_bg.jpg"   
   (Sid:2) Client -> Server : 704 bytes (Service=HTTP)
   (Sid:2) Server -> Client : 1460 bytes(Service=HTTP)
   (Sid:2) Server -> Client : 8760 bytes(Service=HTTP)
   (Sid:2) Server -> Client : 8760 bytes(Service=HTTP)
   (Sid:2) Server -> Client : 10220 bytes(Service=HTTP)
   (Sid:2) Server -> Client : 8760 bytes(Service=HTTP)
   (Sid:2) Server -> Client : 8760 bytes(Service=HTTP)
   (Sid:2) Server -> Client : 8760 bytes(Service=HTTP)
   (Sid:2) Server -> Client : 9685 bytes(Service=HTTP)
"GET /server/images/login_1.png"   
   (Sid:1) Client -> Server : 347 bytes (Service=HTTP)
   (Sid:1) Server -> Client : 1460 bytes(Service=HTTP)
   (Sid:1) Server -> Client : 8760 bytes(Service=HTTP)
   (Sid:1) Server -> Client : 16384 bytes(Service=HTTP)
   (Sid:1) Server -> Client : 16384 bytes(Service=HTTP)
   (Sid:1) Server -> Client : 16384 bytes(Service=HTTP)
   (Sid:1) Server -> Client : 13086 bytes(Service=HTTP)
   (Sid:2) Connection Terminated (by Server)
   (Sid:1) Connection Terminated (by Server)
Address lookup for zzyt-pc099062 = 10.1.99.62
Request Connection: Remote Server @ 10.8.2.114:80   (Service=)(Sid=3)PROXIED!
"POST /server/login?genTicket=false&service=http://eipdev.yutong.com/ekp/moduleindex.jsp%3Fnav=/km/smissive/tree.jsp%26main=%252Fkm%252Fsmissive%252Fkm_smissive_main%252FkmSmissiveMain.do%253Fmethod%253Dlist%2526status%253D30%2526s_path%253D!%257Bmessage(km-smissive%253Asmissive.tree.myJob.alldoc)%257D"   
   (Sid:3) Client -> Server : 1677 bytes (Service=HTTP)
   (Sid:3) Server -> Client : 1037 bytes(Service=HTTP)
"GET /ekp/moduleindex.jsp?nav=/km/smissive/tree.jsp&main=%2Fkm%2Fsmissive%2Fkm_smissive_main%2FkmSmissiveMain.do%3Fmethod%3Dlist%26status%3D30%26s_path%3D!%7Bmessage(km-smissive%3Asmissive.tree.myJob.alldoc)%7D"   
   (Sid:3) Client -> Server : 1506 bytes (Service=HTTP)
   (Sid:3) Server -> Client : 1460 bytes(Service=HTTP)
   (Sid:3) Server -> Client : 4203 bytes(Service=HTTP)
Address lookup for zzyt-pc099062 = 10.1.99.62
Request Connection: Remote Server @ 10.8.2.114:80   (Service=)(Sid=4)PROXIED!
"GET /ekp/resource/js/common.js"   
   (Sid:4) Client -> Server : 949 bytes (Service=HTTP)
   (Sid:4) Server -> Client : 1460 bytes(Service=HTTP)
   (Sid:4) Server -> Client : 8760 bytes(Service=HTTP)


Recording Log内容和高人指点的大相径庭呢,是不是我录制脚本的时候哪个地方选择错了呢?

yong_sun 发表于 2011-9-5 14:53:39

扩展日志那几个选项都勾上了么?不然没有记录的

yong_sun 发表于 2011-9-5 15:00:38

查询 这个receiving response之后的数据就是来自于服务器的响应,后边即是需要关联的;你这日志里根本没相关记录

zz_qjs 发表于 2011-9-5 15:33:43

本帖最后由 zz_qjs 于 2011-9-5 15:35 编辑

1.如果勾选扩展日志那几项,改变的是回放日志的内容,Recording Log内容没有啥变换呢,
2.我的疑惑也是为什么Recording Log没有相关数据呢

yong_sun 发表于 2011-9-5 16:52:44

服务器连接失败,没有交换信息

msnshow 发表于 2011-9-5 23:26:10

没有就没有,这与LR无关了

msnshow 发表于 2011-9-5 23:26:58

没有就没有,这与LR无关了

zz_qjs 发表于 2011-9-6 08:21:38

如果没有,但为什么我两次相同的操作,比较脚本却产生了不同了value值呢?

patrick_1984 发表于 2011-9-6 11:19:29

录制选项里有个选项是用来save record log的。选上然后进行录制脚本。之后就可以看到record log 了。

jj_ljw 发表于 2011-9-6 12:22:06

直接手动关联,和录制日志没太多联系啊

oho 发表于 2011-9-6 16:44:22

本帖最后由 oho 于 2011-9-6 16:59 编辑

是在generation log里面查找不同的数据是否来自服务器,就是头是response的。

li373935562 发表于 2011-9-14 13:31:48

在Generation Log中寻找你要关联的值。

wangyiman2010 发表于 2011-9-14 16:41:27

回复 3# yong_sun


    上面有人告诉你勾选上扩展日志,选第一项,在回放日志中会有蓝色字体把参数和关联的地方显示出来的。
如果仍然没有的话,查看是不是你关联的时候关联的什么地方不正确。

小椰子 发表于 2015-11-22 10:49:06

我也没有。你找到了吗?
页: [1]
查看完整版本: 为什么在Recording Log无法找到关联值,然后进行手工关联呢