gpt4 book ai didi

jmeter - 无法在 Jmeter 中显示聚合图

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

尝试在 jmeter 中输出聚合图时收到以下错误:

2018-10-11 09:15:00,731 ERROR o.a.j.JMeter: Uncaught exception: 
java.lang.IndexOutOfBoundsException: Index -1 out-of-bounds for length 13
at jdk.internal.util.Preconditions.outOfBounds(Preconditions.java:64) ~[?:?]
at jdk.internal.util.Preconditions.outOfBoundsCheckIndex(Preconditions.java:70) ~[?:?]
at jdk.internal.util.Preconditions.checkIndex(Preconditions.java:248) ~[?:?]
at java.util.Objects.checkIndex(Objects.java:372) ~[?:?]
at java.util.ArrayList.get(ArrayList.java:440) ~[?:?]
at org.apache.jorphan.gui.ObjectTableModel.getValueAt(ObjectTableModel.java:187) ~[jorphan.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.StatGraphVisualizer.getData(StatGraphVisualizer.java:638) ~[ApacheJMeter_components.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.StatGraphVisualizer.makeGraph(StatGraphVisualizer.java:594) ~[ApacheJMeter_components.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.StatGraphVisualizer.actionMakeGraph(StatGraphVisualizer.java:790) ~[ApacheJMeter_components.jar:5.0 r1840935]
at org.apache.jmeter.visualizers.StatGraphVisualizer.actionPerformed(StatGraphVisualizer.java:702) ~[ApacheJMeter_components.jar:5.0 r1840935]
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1967) ~[?:?]
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2308) ~[?:?]
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405) ~[?:?]
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) ~[?:?]
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:270) ~[?:?]
at java.awt.Component.processMouseEvent(Component.java:6589) ~[?:?]
at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) ~[?:?]
at java.awt.Component.processEvent(Component.java:6354) ~[?:?]
at java.awt.Container.processEvent(Container.java:2261) ~[?:?]
at java.awt.Component.dispatchEventImpl(Component.java:4966) ~[?:?]
at java.awt.Container.dispatchEventImpl(Container.java:2319) ~[?:?]
at java.awt.Component.dispatchEvent(Component.java:4798) ~[?:?]
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4914) ~[?:?]
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4543) ~[?:?]
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4484) ~[?:?]
at java.awt.Container.dispatchEventImpl(Container.java:2305) ~[?:?]
at java.awt.Window.dispatchEventImpl(Window.java:2772) ~[?:?]
at java.awt.Component.dispatchEvent(Component.java:4798) ~[?:?]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) ~[?:?]
at java.awt.EventQueue.access$600(EventQueue.java:97) ~[?:?]
at java.awt.EventQueue$4.run(EventQueue.java:721) ~[?:?]
at java.awt.EventQueue$4.run(EventQueue.java:715) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:97) ~[?:?]
at java.awt.EventQueue$5.run(EventQueue.java:745) ~[?:?]
at java.awt.EventQueue$5.run(EventQueue.java:743) ~[?:?]
at java.security.AccessController.doPrivileged(Native Method) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) ~[?:?]
at java.awt.EventQueue.dispatchEvent(EventQueue.java:742) ~[?:?]
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) [?:?]
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) [?:?]
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) [?:?]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) [?:?]
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) [?:?]
at java.awt.EventDispatchThread.run(EventDispatchThread.java:90) [?:?]
2018-10-11 09:15:04,438 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [#_samples]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [median]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [90%_line]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [95%_line]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [99%_line]
2018-10-11 09:15:04,521 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [min]
2018-10-11 09:15:04,522 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [error_%]
2018-10-11 09:15:04,522 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [throughput]
2018-10-11 09:15:04,524 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [received_kb/sec]
2018-10-11 09:15:04,524 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [sent_kb/sec]
2018-10-11 09:15:04,551 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,552 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,552 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]
2018-10-11 09:15:04,552 WARN o.a.j.u.JMeterUtils: ERROR! Resource string not found: [label]

这意味着无法生成图表,并且我不确定如何解决该问题。

enter image description here

这些是我的聚合图表的结果和设置,有人可以帮我解决这个问题吗?

谢谢

最佳答案

这是 JMeter 5.0 的一个已知错误:

它在夜间构建中已修复:

并将在 5.1 中提供

无论如何,分析测试的最佳方法是使用 3.0 版本以来存在的 Web 报告:

关于jmeter - 无法在 Jmeter 中显示聚合图,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/52755372/

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