gpt4 book ai didi

plugins - JMeter 性能插件报告始终在 200 成功响应代码上显示 100% 的错误

转载 作者:行者123 更新时间:2023-12-02 11:22:48 25 4
gpt4 key购买 nike

构建完成后,性能趋势报告错误栏中显示100%错误,而HTTP响应代码为200(成功)

预期结果:错误列中的错误率应该为 0%。

我们在jenkins 1.607中有性能插件1.13

enter image description here

我的 .jtl 文件包含:

1434631428652,2082,Deactivate_Enrollee,200,OK,setUp Thread Group 1-1,text,true,536,2073
1434631430748,574,Activate_Enrollee,200,OK,setUp Thread Group 1-1,text,true,536,574
1434631431323,315,User_Status,200,OK,setUp Thread Group 1-1,text,true,1317,315
1434631431711,1,Debug Sampler,200,OK,setUp Thread Group 1-1,text,true,807,0

控制台输出:

Started by user anonymous
Building in workspace /results/jtls
Performance: Percentage of errors greater or equal than 0% sets the build as unstable
Performance: Percentage of errors greater or equal than 0% sets the build as failure
Performance: Recording JMeter reports '*.jtl'
Performance: Parsing JMeter report file APITest_JMeter.jtl
Performance: File APITest_JMeter.jtl reported 100.0% of errors [FAILURE]. Build status is: FAILURE
Build step 'Publish Performance test result report' changed build result to FAILURE
Finished: FAILURE

任何人都可以为 Jenkins 解决这个问题吗?

最佳答案

这似乎是由于 Performance Plugin 版本 1.13 中的缺陷造成的。

您可以使用性能插件版本 1.9 或更低版本,并告知我们这是否可以解决您的问题。

关于plugins - JMeter 性能插件报告始终在 200 成功响应代码上显示 100% 的错误,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30924491/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com