|
我录制了一个脚本,对服务器返回来的状态进行判断
有两个action
Action()
{
web_url("hq.aspx",
"URL=http://192.168.1.250/hq.aspx?t=rhqsh&V=1",
"Resource=1",
"RecContentType=tx/stream",
"Referer=",
LAST);
web_url("cdnvers.dat",
"URL=http://update.cnnic.cn/cdnClient/update/v2_nt/cdnvers.dat",
"Resource=1",
"RecContentType=text/plain",
"Referer=",
LAST);
return 0;
}
StateAction()
{
int stateAction;
stateAction=web_get_int_property(HTTP_INFO_RETURN_CODE);
lr_output_message(The state of the sever is %d",stateAction);
if(stateAction==200)
lr_output_message("This accessing is successful")
else
lr_output_message("This accessing is failed!");
return 0;
}
结果:
In file included from e:\commtest\first\\combined_First.c:4:
StateAction.c:9:55: unterminated string or character constant
StateAction.c:5: possible real start of unterminated constant
在运行脚本的时候,output 给出如上结果,这是什么意思? |
|