loadrunner ???????????
???????????? ???????[ 2013/8/16 13:46:14 ] ????????
?????μ?????У????????÷????????????????? payerName ?? ??????????????????????????????? ???????payerName??????
????????????
????1. Virtual User Gen??Tools->Recoding Options -> Advanced -> Support charset -> UTF-8
?????????????Ч??????
????2. ???lr_convert_string_encoding??????????????
lr_convert_string_encoding: ?????????UTF-8???
int lr_convert_string_encoding ( const char *sourceString?? const char *fromEncoding?? const char *toEncoding?? const char *paramName);
?ú?????4???????????????£?
sourceString?????????????????
fromEncoding???????????????
toEncoding??????????????????
paramName??????????????????
??????? ??????????????????????????? x00 ??β???????????ζ??????
???????????£?
char tmp[50];
lr_convert_string_encoding("????"?? LR_ENC_SYSTEM_LOCALE??LR_ENC_UTF8??"str");
strcpy(tmp??lr_eval_string("{str}"));
lr_save_string(tmp??"payerName");
???????????? ???·?????е????
web_custom_request("consume"??
"URL=http://192.168.12.89:8010/quickpay/v10/003"??
"Method=POST"??
"Resource=0"??
"RecContentType=application/json"??
"Referer="??
"Mode=HTTP"??
"EncType=application/json"??
"Body={"cardHolderName":"{payerName}"??"cardNo":"4392260802828457"??"cardTypeEnum":"CREDI"}"??
LAST);
??????????н????OK???
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11