|
3#
楼主 |
发表于 2007-9-17 18:22:38
|
只看该作者
原帖由 haiquan180 于 2007-9-17 16:01 发表
你看看关联是不是能搞定?
我做了两个关联:
- web_reg_save_param("flowExecutionKey","LB=","RB=", LAST);
- web_link("新增投保单",
- "Text=新增投保单",
- "Snapshot=t3.inf",
- EXTRARES,
- "Url=images/top-bg.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- "Url=images/webback.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- "Url=images/banner.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- "Url=images/left-bg.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- "Url=images/foot.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- "Url=images/user-server.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- "Url=images/meu-title.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- "Url=images/meu-help.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- "Url=images/button_small.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}", ENDITEM,
- LAST);
- web_submit_data("selectProduct.do",
- "Action=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}",
- "Method=POST",
- "RecContentType=text/html",
- "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey={flowExecutionKey}",
- "Snapshot=t4.inf",
- "Mode=HTML",
- ITEMDATA,
- "Name=s1", "Value=0644", ENDITEM,
- "Name=_flowExecutionKey", "Value=${flowExecutionKey}", ENDITEM,
- "Name=insuranceProductId", "Value=0644", ENDITEM,
- "Name=applyPolicyOpType", "Value=1", ENDITEM,
- "Name=_eventId", "Value=display", ENDITEM,
- EXTRARES,
- "Url=images/webback.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/top-bg.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/banner.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/left-bg.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/up_line.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/right-up-jiao.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/title-bg.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/left-up-jiao.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/right-line.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/left-line.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/right-down-jiao.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/down-line.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/left-down-jiao.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/user-server.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/foot.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/meu-title.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/meu-help.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- "Url=images/button_small.gif", "Referer=http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=_cE5943383-AE01-8B87-F621-61B48D64CF6B_k95C9A4BE-4D66-D57F-2181-0C7062548E76", ENDITEM,
- LAST);
复制代码
但是loadRunner报错:
Error -26631: HTTP Status-Code=400 (Bad Request) for "http://10.8.0.3:18080/agentApplying/selectProduct.do?_flowExecutionKey=HTTP/1.1 200 OKServer: Apache-Coyote/1.1X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5ETag: W/"114-1174119376000"Last-Modified: Sat, 17 Mar 2007 08:16:16 GMTContent-Type: image/gifContent-Length: 114Date: Mon, 17 Sep 2007 09:58:41 GMTGIF89a? [MsgId: MERR-26631]
是不是这个关联不能出现在两个过程里面? |
|