我如何告诉 Taurus 我的(邮递员/纽曼)测试是 Blazemeter功能测试,而不是性能测试?下面是我在https://gettaurus.org/docs/Postman/bzt.yaml
的帮助下创建的。
execution:
- executor: newman
iterations: 1
scenario: functional/simple
scenarios:
functional/simple:
script: my.postman_collection.json
reporting:
- module: blazemeter
modules:
blazemeter:
request-logging-limit: 20240
public-report: false
report-name: my-postman-collection
test: newmantrials
project: test
final-stats:
summary-labels: true
我使用 taurus Docker 映像运行它:
docker run --rm -t -v `pwd`:/bzt-configs -v `pwd`/artifacts:/tmp/artifacts blazemeter/taurus:1.14.0 bzt.yaml -o modules.blazemeter.token="${token}"
当我登录到 Blazemeter UI 时,我看到它列在“性能”选项卡下,看起来像是一个性能测试。我希望它作为功能测试运行,以获取有关请求和响应有效负载的更多详细信息。