【问题标题】:Send Locust HTML report to s3 bucket将 Locust HTML 报告发送到 s3 存储桶
【发布时间】:2021-07-15 17:59:37
【问题描述】:

我正在一个 ec2 实例上运行我的 locust 测试,并想检查是否有办法在测试运行完成后将结果发送到 s3 存储桶。

在 ec2 实例上是否有 locust 保存 .html 报告文件的文件夹,或者我们该如何处理。

ec2实例安装了locust,我只是运行locust命令执行测试,不涉及docker容器。

【问题讨论】:

    标签: load-testing locust


    【解决方案1】:

    也生成html: locust -f script.py --headless -u 1 -r 1 --run-time 15s --html=test1.html

    您可以通过运行以下命令来执行此操作: aws s3 cp test1.html s3://your-bucket test2.html --acl bucket-owner-full-control

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-11-10
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2017-11-23
      相关资源
      最近更新 更多