51Testing软件测试论坛
标题:
web_set_timeout函数出错
[打印本页]
作者:
birthdayrose
时间:
2007-4-12 15:46
标题:
web_set_timeout函数出错
脚本中加入web_set_timeout("CONNECT","10")后,在Run时出现如下错误:
Action.c (8): syntax error; found `10' expecting `)'
Action.c (8): syntax error; found `10' expecting `;'
Action.c (8): syntax error; found ")" expecting `;'
Action.c (16): syntax error; found `)' expecting `;'
Action.c (16): illegal statement termination
Action.c (16): skipping `)'
c:\\documents and settings\\mal\\local settings\\temp\\noname2\\\\combined_noname2.c (4): 6 errors, not writing pre_cci.ci
我打开了combined_noname2.c,里面显示的内容如下:
#include "lrun.h"
#include "vuser_init.c"
#include "Action.c"
#include "vuser_end.c"
是不是需要包含一个特定的头文件才行呢?
急盼解答!
作者:
rickyzhu
时间:
2007-4-12 16:45
错误都告诉你了,少了一个括号,仔细看看。
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/)
Powered by Discuz! X3.2