我如何告诉金牛座,我的(邮递员/纽曼)测试是一个Blazemeter功能测试,而不是性能测试?下面是我在bzt.yaml帮助下创建的https://gettaurus.org/docs/Postman/。
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我使用金牛座码头图像运行它:
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时,我看到它列在" performance“选项卡下面,看起来像一个性能测试。我希望它作为一个功能测试来运行,以获得关于请求和响应有效负载的更多细节。
发布于 2020-01-15 21:49:20
我认为目前这是不可能的,因为目前BlazeMeter功能测试是针对直接的API功能测试或GUI (Selenium)功能测试的。
问题是,从BlazeMeter的角度来看,文件验证器无法正确识别Postman/Newman文件(尽管YAML文件正确地引用了它)。我最近向BlazeMeter研发团队报告了这一情况,所以正在对此进行调查。
不过,在此期间,我不希望这在BlazeMeter中有效。除非您将其作为临时性能测试运行,否则它可能无法正确识别Newman脚本。
(对这件事的坏消息很抱歉-希望很快就能解决!)
在BlazeMeter支持下,也可以在support@blazemeter.com上自由地提出来。
https://stackoverflow.com/questions/59575190
复制相似问题