前提:有些接口需要先登录,可以把登陆流程写在vuser_init里面 https://blog.csdn.net/mao_xiaoxi/article/details/97264015
vuser_init()
{
web_set_max_html_param_len("1024");
/* Registering parameter(s) from source task id 122
// {JSESSIONID3} = "939304D9DC8D0AF3784CBACCB8B33A35"
// */
web_reg_save_param("JSESSIONID3",
"LB/IC=jsessionid=",
"RB/IC=\"",
"Ord=1",
"Search=body",
"RelFrameId=1",
LAST);
web_set_sockets_option("SSL_VERSION","TLS");
web_url("login",
"URL=https://×**.300.cn/CAS/login",
"Resource=0",
"RecContentType=