51Testing软件测试论坛
标题:
loadrunner批量审核操作回放脚本后未进行审核
[打印本页]
作者:
vvlonglong
时间:
2018-8-22 15:25
标题:
loadrunner批量审核操作回放脚本后未进行审核
尝试做关联无效,不知道还有哪种方法解决,求助
web_submit_data
(
"BatchApproval"
,
"Action=http://172.16.226.130:3030/Bps/BatchApproval?rdm=0.04696747934205164"
,
"Method=POST"
,
"RecContentType=text/html"
,
"Referer=http://172.16.226.130:3030/Bps/WorkItemGrid?processDefName=SalesProjectManage"
,
"Snapshot=t40.inf"
,
"Mode=HTML"
,
ITEMDATA
,
"Name=ContentIdListStr"
,
"Value=c7a260d6-9145-40db-afc0-a943012e1c39,298bbea1-8981-4e2f-9ba8-a943012e1780,0f2928a1-f71f-40d9-ae64-a943012e1407,f1a79d57-f7e6-4295-9fc7-a943012e10b9,905cf714-56c1-4a5f-a67d-a943012e0d68,045c536c-a185-4079-9044-a943012e0a0f,e5785d2e-0d41-426e-a580-a943012e0691,cccfbf86-84de-4744-97c8-a943012e029f,898a69a3-289e-49b1-b08f-a943012dff56,95f1f9b4-c26e-42bd-a5e0-a943012dfc4d"
,
ENDITEM
,
"Name=WorkItemIdListStr"
,
"Value=3344,3342,3340,3338,3336,3334,3332,3330,3328,3326"
,
ENDITEM
,
"Name=RejectReasonCode"
,
"Value="
,
ENDITEM
,
"Name=ProcessDefName"
,
"Value=SalesProjectManage"
,
ENDITEM
,
LAST
);
web_submit_data
(
"BatchApprovalDo"
,
"Action=http://172.16.226.130:3030/Bps/BatchApprovalDo"
,
"Method=POST"
,
"RecContentType=text/html"
,
"Referer=http://172.16.226.130:3030/Bps/WorkItemGrid?processDefName=SalesProjectManage"
,
"Snapshot=t41.inf"
,
"Mode=HTML"
,
ITEMDATA
,
"Name=ContentIdListStr"
,
"Value=c7a260d6-9145-40db-afc0-a943012e1c39,298bbea1-8981-4e2f-9ba8-a943012e1780,0f2928a1-f71f-40d9-ae64-a943012e1407,f1a79d57-f7e6-4295-9fc7-a943012e10b9,905cf714-56c1-4a5f-a67d-a943012e0d68,045c536c-a185-4079-9044-a943012e0a0f,e5785d2e-0d41-426e-a580-a943012e0691,cccfbf86-84de-4744-97c8-a943012e029f,898a69a3-289e-49b1-b08f-a943012dff56,95f1f9b4-c26e-42bd-a5e0-a943012dfc4d"
,
ENDITEM
,
"Name=WorkItemIdListStr"
,
"Value=3344,3342,3340,3338,3336,3334,3332,3330,3328,3326"
,
ENDITEM
,
"Name=ProcessDefName"
,
"Value=SalesProjectManage"
,
ENDITEM
,
"Name=msg"
,
"Value="
,
ENDITEM
,
"Name=AuditResult"
,
"Value=1"
,
ENDITEM
,
"Name=AuditOpinion"
,
"Value="
,
ENDITEM
,
LAST
);
作者:
vvlonglong
时间:
2018-8-22 15:26
lr录制全选批量操作时,如何修改脚本
作者:
vvlonglong
时间:
2018-8-22 15:30
"Name=ContentIdListStr", "Value=c7a260d6-9145-40db-afc0-a943012e1c39,298bbea1-8981-4e2f-9ba8-a943012e1780,0f2928a1-f71f-40d9-ae64-a943012e1407,f1a79d57-f7e6-4295-9fc7-a943012e10b9,905cf714-56c1-4a5f-a67d-a943012e0d68,045c536c-a185-4079-9044-a943012e0a0f,e5785d2e-0d41-426e-a580-a943012e0691,cccfbf86-84de-4744-97c8-a943012e029f,898a69a3-289e-49b1-b08f-a943012dff56,95f1f9b4-c26e-42bd-a5e0-a943012dfc4d", ENDITEM,
"Name=WorkItemIdListStr", "Value=3344,3342,3340,3338,3336,3334,3332,3330,3328,3326", ENDITEM,
上面两个需要怎么进行处理,麻烦大神请教一下谢谢
作者:
jingzizx
时间:
2018-8-24 11:26
手动关联啊
作者:
梦想家
时间:
2018-8-24 11:58
作者:
libingyu135
时间:
2018-8-24 14:13
关联是否可行
作者:
vvlonglong
时间:
2018-8-27 10:22
<input type="hidden" id="ContentIdListStr" name="ContentIdListStr" value="c18b9a44-72f2-4a71-91fa-a94401047404,8864d8c1-3f41-4517-9b6a-a94401046942,039b0ac7-e87a-4a06-922c- a94401045f0b,10882904-c470-40ba-9535-a944010454f1,12455b72-3fce-44a9-bbaf-a94401044b91,d4a1fbf6-e894-4367-8257-a94401044272,50d88dc9-0ab5-4b46-8f98-a944010439b0,b4bdec40-57d7-43b8-a77b-a94401043140,cec007bd-3f2e-4faf-8360-a94401042757,a4512ff5-9803-48e2-a51d-a94401041ebf" />\r\n
<input type="hidden" id="WorkItemIdListStr" name="WorkItemIdListStr" value="3640,3638,3636,3634,3632,3630,3628,3626,3624,3622" />\r\n
回放出来的取值,但是不知道怎么去做手动关联
作者:
vvlonglong
时间:
2018-8-27 10:38
web_reg_save_param("ContentIdListStr",
"LB=<input type=\"checkbox\" id=ContentIdListStr name=ContentIdListStr value=\"",
"RB=\">",
LAST);
web_reg_save_param("WorkItemIdListStr",
"LB=<input type=\"checkbox\" id=WorkItemIdListStr name=WorkItemIdListStr value=\"",
"RB=\">",
LAST);
我自己写的关联函数,但是回放总是报Action.c(158): 错误 -26377: 找不到所请求参数“ContentIdListStr”的匹配项。响应中找不到指定边界或匹配文本长于 256 字节的当前最大 html 参数大小。响应总长度为 11970 字节。您可以使用“web_set_max_html_param_len”增加最大参数大小。
作者:
vvlonglong
时间:
2018-8-27 10:39
web_reg_save_param("ContentIdListStr",
"LB=<input type=\"checkbox\" id=ContentIdListStr name=ContentIdListStr value=\"",
"RB=\">",
LAST);
web_reg_save_param("WorkItemIdListStr",
"LB=<input type=\"checkbox\" id=WorkItemIdListStr name=WorkItemIdListStr value=\"",
"RB=\">",
LAST);
自己写的关联函数,但是回放总是报下面的错误
Action.c(158): 错误 -26377: 找不到所请求参数“ContentIdListStr”的匹配项。响应中找不到指定边界或匹配文本长于 256 字节的当前最大 html 参数大小。响应总长度为 11970 字节。您可以使用“web_set_max_html_param_len”增加最大参数大小。 [MsgId: MERR-26377] [Time:2018-08-27 10:37:00]
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2