51Testing软件测试论坛
标题: loadrunner11 Error -27492 接口脚本,单脚本运行正常,并发压测时候,大量失败和e... [打印本页]
作者: 测试积点老人 时间: 2021-11-25 11:37
标题: loadrunner11 Error -27492 接口脚本,单脚本运行正常,并发压测时候,大量失败和e...
loadrunner11 Error -27492 接口脚本,单脚本运行正常,并发压测时候,大量失败和errorError -27492: "HttpSendRequest" failed, Windows error code=12150 and rely limit(0) exceeded for URL
尝试过修改timeout 时间 也不行 加了web_set_sockets_option("SSL_VERSION","TLS"); 也不行
脚本如下:
- web_add_header("Authorization",
- "{data}");
- web_add_header("Accept","*/*");
-
- web_add_header("Accept-Encoding","gzip, deflate, br");
-
- web_add_header("Cache-Control","no-cache");
-
- web_add_header("Connection","keep-alive");
-
- web_add_header("content-type","application/json");
-
- web_reg_find("Search=Body","Text={","SaveCount=count",LAST);
-
- web_reg_save_param("result",
- "LB=",
- "RB=",
- LAST);
-
- web_set_sockets_option("SSL_VERSION","TLS");
-
- lr_start_transaction("list");
-
-
- web_custom_request("list",
- "URL=https://staffing-ts.wetax.com.cn/webapp/api/Task/getlist?page_index=1&page_size=15",
- "Method=Get",
- "RecContentType=text/html",
- "Mode=Http",
- LAST);
-
- lr_convert_string_encoding(lr_eval_string("{result}"),"utf-8",NULL,"my");
-
- lr_message ("value: %s",lr_eval_string("{my}"));
-
- if(atoi(lr_eval_string("{count}"))>0){
- lr_output_message("成功");
- lr_end_transaction("list", LR_PASS);
- }else{
- lr_output_message("失败");
- lr_end_transaction("list", LR_FAIL);
- }
复制代码
作者: 海海豚 时间: 2021-11-26 09:44
报错是什么呢,贴出来可以分析一下
作者: qqq911 时间: 2021-11-26 10:48
看下端口占用情况
欢迎光临 51Testing软件测试论坛 (http://bbs.51testing.com/) |
Powered by Discuz! X3.2 |