LoadRunner??д????????
???????????? ???????[ 2014/10/30 11:39:58 ] ????????LoadRunner ??????????
??????????loadrunner webserviceЭ???д??????У?д?????
?????????
????1??loadruner????????File????????????????int????long??????????????
????2????????????????????????????C?????fprintf??fwrite???????????????н???ú?????????fprintf ??????
????3??fopen()????????ο?????LoadRunner????ν?????????????
????fopen(filename??"a")) ??????????????д??????????????????????????θ????????fprintf()???????“%s
”????ζ?????????
???????????fopen(filename??"a+")) ??????д??Ч??????????
????????
Action{
long file_stream;
char *filename = "c:\001.txt";
soap_request(?????????webserviceЭ????????????????);
// ??response????
lr_message(lr_eval_string("Response is:
{response}")); // ???response???????????????????
// ????????????Σ????????lr_xml_get_values
lr_xml_get_values("XML = {response}"??
"ValueParam = ValueParam "??
"Query = XXX"??
LAST);????// ??????????????÷???
// ??????? д???
if((file_stream = fopen(filename??"a")) == NULL){
lr_error_message("Cannot open %s"??filename);
return -1;
}
fprintf(file_stream??"%s
"??lr_eval_string("{ValueParam }"));
fclose(file_stream);
return 0;
}
?????????????????????????д?????????????????????????????????????????
??????
???·???
??????????????????
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