loadrunner 参数设置
在测试时想不断新增不同的数据,想通过参数设置来完成,传统的操作方式是在代码中找到想要设置成参数的量,设置成参数,以前测试时一直很顺利完成,但这次测试的系统,发先在代码中没有找到想设置成变量的数值,所有填写的数值都没显示在代码上,我改怎么办呢,求解lr_start_transaction("新增");lr_think_time(29);
web_custom_request("amf_3",
"URL=http://172.28.4.73:7777/dms_zzhub_uat/messagebroker/amf",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/x-amf",
"Referer=http://172.28.4.73:7777/dms_zzhub_uat/index.swf/[]/4",
"Snapshot=t4.inf",
"Mode=HTML",
"EncType=application/x-amf",
"BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x02/1\\x00\\x00\\x01\\x01\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Mflex.messaging.messages.CommandMessage\\x13operation\\x1BcorrelationId\\x15timeToLive\tbody\\x11clientId\\x0Fheaders\\x13timestamp\\x13messageId\\x17destination\\x04\\x05\\x06\\x01\\x04\\x00\n\\x0B\\x01\\x01\\x01\n\\x05%DSMessagingVersion\\x04\\x01\tDSId\\x06IA75D1A63-1C19-27D6-3A25-EBE8DEB5DA44\\x01\\x04\\x00\\x06I9B80D377-6178-267F-ADFE-3D2DB2385A84\\x06\\x01",
LAST);
web_custom_request("amf_4",
"URL=http://172.28.4.73:7777/dms_zzhub_uat/messagebroker/amf",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/x-amf",
"Referer=http://172.28.4.73:7777/dms_zzhub_uat/index.swf/[]/4",
"Snapshot=t5.inf",
"Mode=HTML",
"EncType=application/x-amf",
"BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x02/2\\x00\\x00\\x02\\xF2\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Oflex.messaging.messages.RemotingMessage\rsource\\x13operation\\x15timeToLive\tbody\\x11clientId\\x0Fheaders\\x13timestamp\\x13messageId\\x17destination\\x01\\x06%vaildateRoleUnique\\x04\\x00\t\\x03\\x01\n僑/com.dms.sys.entity.Role\\x11roleType\\x1BtaobaoAccount\\x1BroleMenuItems\\x11officeId\\x13roleUsers\\x11roleName\\x11roleDesc\\x15officeCode\rroleId\r"
"office\\x1FcanQueryallFlag\\x1BisVirtualFlag\\x15activeDate\\x17expiredDate\\x1DaclPermissions\\x15activeFlag\\x17deletedFlag\\x1BcreatedByUser\\x1BcreatedOffice\\x1BcreatedDtmLoc\\x1FcreatedTimeZone\\x1BupdatedByUser\\x1BupdatedOffice\\x1BupdatedDtmLoc\\x1FupdatedTimeZone\\x1BrecordVersion\\x13rowStatus%principalGroupCode\\x15isSelected\\x01\\x01\\x01\\x01\\x01\\x06\r"
"123456\\x06R\\x01\\x06\\x01\\x01\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x08\\x01Bs#鱶\\xC0\\x00\\x00\\x08\\x01Bs(y\\x0B@\\x00\\x00\\x01\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x04\\x04\\x01\\x02\\x01\n\\x0B\\x01\t"
"DSId\\x06IA75D1A63-1C19-27D6-3A25-EBE8DEB5DA44\\x15DSEndpoint\\x01\\x01\\x04\\x00\\x06I5C53738D-9D2D-D4B1-ED48-3D2DB2193F45\\x06\\x17roleService",
LAST);
web_custom_request("amf_5",
"URL=http://172.28.4.73:7777/dms_zzhub_uat/messagebroker/amf",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/x-amf",
"Referer=http://172.28.4.73:7777/dms_zzhub_uat/index.swf/[]/4",
"Snapshot=t6.inf",
"Mode=HTML",
"EncType=application/x-amf",
"BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x02/3\\x00\\x00\\x03\\x15\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Oflex.messaging.messages.RemotingMessage\rsource\\x13operation\\x15timeToLive\tbody\\x11clientId\\x0Fheaders\\x13timestamp\\x13messageId\\x17destination\\x01\\x06!saveOrUpdateRole\\x04\\x00\t\\x03\\x01\n僑/com.dms.sys.entity.Role\\x11roleType\\x1BtaobaoAccount\\x1BroleMenuItems\\x11officeId\\x13roleUsers\\x11roleName\\x11roleDesc\\x15officeCode\rroleId\r"
"office\\x1FcanQueryallFlag\\x1BisVirtualFlag\\x15activeDate\\x17expiredDate\\x1DaclPermissions\\x15activeFlag\\x17deletedFlag\\x1BcreatedByUser\\x1BcreatedOffice\\x1BcreatedDtmLoc\\x1FcreatedTimeZone\\x1BupdatedByUser\\x1BupdatedOffice\\x1BupdatedDtmLoc\\x1FupdatedTimeZone\\x1BrecordVersion\\x13rowStatus%principalGroupCode\\x15isSelected\\x01\\x01\\x01\\x01\\x01\\x06\r"
"123456\\x06R\\x01\\x06\\x01\\x01\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x08\\x01Bs#鱶\\xC0\\x00\\x00\\x08\\x01Bs(y\\x0B@\\x00\\x00\\x01\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x01\\x05\\x7F\\xFF\\xFF\\xFF\\xE0\\x00\\x00\\x00\\x04\\x04\\x01\\x02\\x06IA75ED696-EE0B-6EAA-7AAE-D5147CD2C38C\n\\x0B\\x01\t"
"DSId\\x06IA75D1A63-1C19-27D6-3A25-EBE8DEB5DA44\\x15DSEndpoint\\x01\\x01\\x04\\x00\\x06IDB7A1D8C-FE4D-1A0B-C5C8-3D2DB2B56831\\x06\\x17roleService",
LAST);
web_custom_request("amf_6",
"URL=http://172.28.4.73:7777/dms_zzhub_uat/messagebroker/amf",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/x-amf",
"Referer=http://172.28.4.73:7777/dms_zzhub_uat/index.swf/[]/4",
"Snapshot=t7.inf",
"Mode=HTML",
"EncType=application/x-amf",
"BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x02/1\\x00\\x00\\x01\\x01\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Mflex.messaging.messages.CommandMessage\\x13operation\\x1BcorrelationId\\x15timeToLive\tbody\\x11clientId\\x0Fheaders\\x13timestamp\\x13messageId\\x17destination\\x04\\x05\\x06\\x01\\x04\\x00\n\\x0B\\x01\\x01\\x01\n\\x05%DSMessagingVersion\\x04\\x01\tDSId\\x06IA75D1A63-1C19-27D6-3A25-EBE8DEB5DA44\\x01\\x04\\x00\\x06I9A7850A7-F06B-65C7-0543-3D2DB3CE4EAF\\x06\\x01",
LAST);
web_custom_request("amf_7",
"URL=http://172.28.4.73:7777/dms_zzhub_uat/messagebroker/amf",
"Method=POST",
"TargetFrame=",
"Resource=0",
"RecContentType=application/x-amf",
"Referer=http://172.28.4.73:7777/dms_zzhub_uat/index.swf/[]/4",
"Snapshot=t8.inf",
"Mode=HTML",
"EncType=application/x-amf",
"BodyBinary=\\x00\\x03\\x00\\x00\\x00\\x01\\x00\\x04null\\x00\\x02/2\\x00\\x00\\x02P\n\\x00\\x00\\x00\\x01\\x11\n\\x81\\x13Oflex.messaging.messages.RemotingMessage\rsource\\x13operation\\x15timeToLive\tbody\\x11clientId\\x0Fheaders\\x13timestamp\\x13messageId\\x17destination\\x01\\x06#searchByQueryInfo\\x04\\x00\t\\x03\\x01\n\\x82\\x033com.gfa4j.query.QueryInfo\\x1DaclParamValues\\x11listType\\x17entityAlias\\x1DwhereCondition\r"
"fields\\x11pageSize\\x11fieldRef\\x1FconjunctionType\\x11distinct\\x17queryObject\\x1FqueryObjectName\\x1FselectCondition\\x13cacheable\\x13pageStart\\x19orderByProps\\x13aclString\n\\x0B\\x01\\x01\\x06\tpage\\x06\\x01\\x06\\x01\n\\x07Cflex.messaging.io.ArrayCollection\t\\x01\\x01\\x04\n\n\r\t\\x01\\x01\\x06\\x07and\\x02\\x01\\x06/com.dms.sys.entity.Role\\x06\\x01\\x02\\x04\\x01\n\t\\x01\\x06\\x01\\x01\n\t\t"
"DSId\\x06IA75D1A63-1C19-27D6-3A25-EBE8DEB5DA44\\x15DSEndpoint\\x01\\x01\\x04\\x00\\x06ID225F0C9-7975-4674-F181-3D2DB3909C1E\\x06!commonWebService",
EXTRARES,
"Url=../images/change.gif", "Referer=http://172.28.4.73:7777/dms_zzhub_uat/index.swf/[]/1", ENDITEM,
"Url=../images/del.gif", "Referer=http://172.28.4.73:7777/dms_zzhub_uat/index.swf/[]/1", ENDITEM,
LAST);
lr_end_transaction("新增",LR_AUTO); 看上去像是一个通过http方式发送的ws。问下具体业务做得是什么?
页:
[1]