数据池里的数据都用完了,问题怎么解决?
char URLStr;char BODYStr;
Action()
{
lr_start_transaction("yellow page");
lr_save_string("00000000","Y");
web_add_header("Accept-Language", "zh_CN ");
web_add_header("Accept-Encoding", "deflate");
web_add_header("country_code", "86" );
web_add_header("Device-Info", "model=sdk&screen=320*480&engine_id=Android20_dsm&lcdDensity=160.0&deviceType=android");
web_add_header("Content-Type", "text/xml; charset=utf-8");
web_reg_save_param("returnCode_str","LB=returnCode\":\"","RB=\",",LAST);
strcpy(URLStr,"URL=http://119.145.9.205:18081/DSMMessage/searchBusinessInfo.action");
strcpy(BODYStr,"Body={\"businessCondition\":{\"condition\":\"1\",\"sortType\":\"1\",}}");
web_custom_request("yellow page",
URLStr,
"Method=POST",
BODYStr,
LAST);
if ( strcmp(lr_eval_string("{returnCode_str}"),lr_eval_string("{Y}")) == 0 )
{
lr_output_message(lr_eval_string("result_str = {returnCode_str}"));
lr_end_transaction("yellow page",LR_PASS);
}
else
{
lr_output_message(lr_eval_string("result_str = {returnCode_str}"));
lr_end_transaction("yellow page",LR_FAIL);
}
return 0;
}
这是我写的一个简单的接口脚本,我并发了50用户性能测试。
会报:Error: Parameter '恒定的值': All values in unique block already used. Block size is 100. The parameter continues with last value of the range according to "When Out Of Values" policy错误
请问怎么解决? 回复 2# xzf2001
我的脚本中,没有恒定的值这个参数啊?怎么解决这个问题呢?
页:
[1]