|
下面是我录制的web协议的脚本,我要做的是在用户登陆处进行参数化,下面录制登陆操作的部分脚本,在脚本中我做了很多次的关联,每次关联后运行系统都提示error-26612: http status-code=500的错误,如果不关联运行就没有这个问题,下面我把我认为是登陆信息的部分脚本贴出来,大家帮忙看看,谢谢了
lr_start_transaction("登陆");
web_custom_request("bizserver_10",
"URL=http://192.168.1.106:7001/x3/bizserver",
"Method=POST",
"Resource=0",
"Referer=",
"Mode=HTTP",
"EncType=",
"BodyBinary=z"
"\\x01\\x00\\x0C"
"c"
"\\x01\\x00"
"m"
"\\x00\\x07"
"executeMt"
"\\x00"
"3com.justep.service.action.database.GetRecordsActionS"
"\\x00\\x08"
"userInfoNS"
"\\x00\\x07"
"transIDNS"
"\\x00\\x10"
"connectionStringMt"
"\\x00"
"&com.justep.connection.ConnectionStringS"
"\\x00\\x06"
"bizurlS"
"\\x00\\x1B"
"Biz:"
"\\x5C"
"SYSTEM"
"\\x5C"
"SYSTEM.DatabaseS"
"\\x00\\x08"
"databaseNzS"
"\\x00\\x0B"
"commandTextS"
"\\x00"
"Eselect FVALUE from TORGATTRIBUTE where FGUID = ? and FID = 'PASSWORD'S" "\\x00\\x06"
"paramsVt"
"\\x00\\x07"
"[objectl"
"\\x00\\x00\\x00\\x01"
"Mt"
"\\x00"
" com.justep.service.info.SQLParamS"
"\\x00\\x08"
"userInfoNS"
"\\x00\\x07"
"transIDNS"
"\\x00\\x04"
"nameS"
"\\x00\\x01"
"AS"
"\\x00\\x05"
"valueS"
"\\x00"
" F6267C3AACA64092B92E68DF45A14F61S" "\\x00\\x07"
"sqlTypeS"
"\\x00\\x06"
"stringS"
"\\x00"
"\tparamTypeS"
"\\x00"
"\tptUnknownS"
"\\x00\\x08"
"dataTypeS"
"\\x00\\x08"
"ftStringzzS"
"\\x00\\x0B"
"dataSetKindI"
"\\x00\\x00\\x00\\x00"
"S"
"\\x00\\x08"
"positionI"
"\\x00\\x00\\x00\\x00"
"S"
"\\x00\\x05"
"countI"
"\\xFF\\xFF\\xFF\\xFF"
"S"
"\\x00"
"\n"
"resultTypeI"
"\\x00\\x00\\x00\\x01"
"S"
"\\x00\\x14"
"returnUnicodeColumnsNzz",
LAST);
我个人任务需要关联的地方是红字的部分,如果不对请大家多多指点。 |
|