LoadRunner?????
???????????? ???????[ 2013/12/25 9:32:28 ] ????????LoadRunner
LoadRunner?????
void Main()
{
int i;
char uStr[64];
srand( (unsigned)time( NULL ) );// ?÷???vuser_init??
for (i=0;i<10;i++) {
GetUniqueString(i??uStr);
lr_output_message(uStr);
}
}
void GetUniqueString(int inValue??char *outStr)
{
int id?? scid;
char *vuser_group;
lr_whoami(&id?? &vuser_group?? &scid);
web_save_timestamp_param("tStamp"?? LAST);
sprintf(outStr??"%s%05d%010d%04d"??lr_eval_string("{tStamp}")??id??rand()??inValue);
free(vuser_group);
}
|
?????????????????srand( (unsigned)time( NULL ) );??????????????????????????????Ρ???????????????ε???????????μ????????????????????????????????????????????????????????????+???????ID+?????+??????????????????????Controller??????????????????????????????????????????磺LoadRunner?????????????Md5 ?????md5??????????3?GUID???
????????????????????????????????????????????Σ????????????????????????????????????????????????????????????????????????????
?????????????????????????????????????????????????п??????????????????????????????????
??????
???·???
??????????????????
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