【问题标题】:locust - test statistics meta datalocust - 测试统计元数据
【发布时间】:2018-03-09 16:12:40
【问题描述】:

蝗虫documentation 没有明确指出将在测试统计数据的 CSV 文件中报告的各个字段。我遇到了this question,它对结果进行了一些描述。测试结果是这样的吗?或者,还有其他格式吗?

【问题讨论】:

    标签: performance csv locust


    【解决方案1】:

    现在它直接从您可以从端点手动下载的数据中提取,如下所示:

    $cat foobar_distribution.csv 
    "Name","# requests","50%","66%","75%","80%","90%","95%","98%","99%","100%"
    "_get_token",0,"N/A","N/A","N/A","N/A","N/A","N/A","N/A","N/A","N/A"
    "client _ping",2,5,5,5,5,5,5,5,5,5
    "client _scores",7,4,4,4,4,5,5,5,5,5
    "rpc_get_scores",7,5,5,5,5,7,7,7,7,7
    "rpc_get_token",36,0,0,0,0,0,0,1,1,1
    "rpc_ping",2,6,6,6,6,6,6,6,6,6
    "None Total",54,0,1,4,4,5,5,6,7,7
    
     $cat foobar_requests.csv 
    "Method","Name","# requests","# failures","Median response time","Average response time","Min response time","Max response time","Average Content Size","Requests/s"
    "Method","_get_token",0,0,0,0,0,0,0,0.00
    "Method","_ping",2,0,3,4,3,5,0,0.19
    "Method","_scores",7,0,4,4,4,5,0,0.68
    "Method","rpc_get_scores",7,0,5,5,4,7,0,0.68
    "Method","rpc_get_token",36,0,0,0,0,1,0,3.51
    "Method","rpc_ping",2,0,4,5,4,6,0,0.19
    

    我在提交 PR 时显然忘记更新文档了……你可以看到 here from the PR though too 字段。

    【讨论】:

    • 百分比是什么意思?
    • 结果时间的百分位数。
    猜你喜欢
    • 2020-09-22
    • 2021-03-24
    • 2017-04-14
    • 2014-02-21
    • 1970-01-01
    • 2017-03-23
    • 2021-12-03
    • 2020-01-02
    • 1970-01-01
    相关资源
    最近更新 更多