我有一个基准基准,但我总是收到以下错误:
ab:无法统计POST数据文件(postdata.txt):部分结果有效,但处理不完整
此命令:
ab -p postdata.txt -T 'application/json' -n 10000 -c 100 http://localhost:3000/logs
这是文件内容:
{
"logs":[{
"category": "APPLICATION",
"platform": "Channel3",
"requestId": "c6c82491-9a9d-4720-8b41-939496fb32dd",
"flowRequestId": "8b89e624-47aa-43b9-8331-08332916c8dd",
"nvironment": "TST",
"userId": 123,
"clientExecutionContext": "Mozilla/5.0 (win32) AppleWebKit/537.36 (KHTML, like Gecko) jsdom/11.12.0",
"entityContext": {
"entityName": "EntityName",
"info": "yada yada yada"
},
"channelId": "CA",
"applicationId": "TESTAPP",
"message": "messaje de prueba",
"level": "FATAL",
"timestamp": "2018-09-07T08:29:09.708Z",
"featureId": "/"
}]
}