问题描述
我用NTLM auth编写了我的API的负载测试(在这里我还要检查NTLM授权用户是否在数据库中存在)。请求期间:
var url = 'https://login:*****@localhost:xxxx/api/authorization/logon';
var payload = { };
var params = {
headers: {
'Content-Type': 'application/json'
},};
let response = http.post(url,params,{auth: "ntlm"});
check(response,{
'status is 200': (r) => r.status === 200
});
}
我有一个错误:
error =“发布” https:// user:***** @ localhost:xxx / api / authorization / logon“:流错误:流ID 3; HTTP_1_1_REQUIRED” 。。。 >
为什么? Kestrel服务HTTP / 1.1
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)