在工程批量测试时,批量请求服务器是会出现 .ConnectionError: HTTPConnectionPool Max retries exceeded with url: Failed to esta错误,
大致研习是资源未释放。
解决方案是:
修改请求头未
headers = {'Accept': 'application/json;','Connection':'close'}
#connection:close 为每次请求完将headers关闭
在工程批量测试时,批量请求服务器是会出现 .ConnectionError: HTTPConnectionPool Max retries exceeded with url: Failed to esta错误,
大致研习是资源未释放。
解决方案是:
修改请求头未
headers = {'Accept': 'application/json;','Connection':'close'}
#connection:close 为每次请求完将headers关闭