Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

An error occurs when using local templates with Correlation's Wizard. #65

Open
Ralph8820 opened this issue Apr 26, 2024 · 0 comments
Open

Comments

@Ralph8820
Copy link

Ralph8820 commented Apr 26, 2024

Describe the bug

2024-04-26 18:32:51,108 INFO c.b.j.c.c.a.JMeterElementUtils: Test Plan's Snapshot saved to D:\apache-jmeter-5.4.3\bin\Recording\snapshot-1714127571086.jmx
2024-04-26 18:32:51,109 INFO c.b.j.c.c.a.CorrelationHistory: Correlation History saved to D:\apache-jmeter-5.4.3\bin\History\history-1714119758788.json
2024-04-26 18:32:52,006 ERROR o.a.j.JMeter: Uncaught exception in thread Thread[AWT-EventQueue-0,6,main]
java.lang.IndexOutOfBoundsException: Index 138 out of bounds for length 138
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:459) ~[?:?]
at com.blazemeter.jmeter.correlation.core.analysis.Analysis.run(Analysis.java:98) ~[jmeter-bzm-correlation-recorder-2.4.jar:?]
at com.blazemeter.jmeter.correlation.core.analysis.Analysis.startAnalysisWithGroupRules(Analysis.java:171) ~[jmeter-bzm-correlation-recorder-2.4.jar:?]
at com.blazemeter.jmeter.correlation.core.analysis.Analysis.run(Analysis.java:73) ~[jmeter-bzm-correlation-recorder-2.4.jar:?]
at com.blazemeter.jmeter.correlation.gui.analysis.CorrelationTemplatesSelectionPanel.runNonCorrelatedAnalysis(CorrelationTemplatesSelectionPanel.java:426) ~[jmeter-bzm-correlation-recorder-2.4.jar:?]
at com.blazemeter.jmeter.correlation.gui.automatic.CorrelationWizard.lambda$startNonCorrelatedAnalysis$2(CorrelationWizard.java:107) ~[jmeter-bzm-correlation-recorder-2.4.jar:?]
at com.blazemeter.jmeter.correlation.gui.analysis.CorrelationTemplatesSelectionPanel.onContinue(CorrelationTemplatesSelectionPanel.java:379) ~[jmeter-bzm-correlation-recorder-2.4.jar:?]
at com.blazemeter.jmeter.correlation.gui.analysis.CorrelationTemplatesSelectionPanel.validateAndContinue(CorrelationTemplatesSelectionPanel.java:325) ~[jmeter-bzm-correlation-recorder-2.4.jar:?]
at com.blazemeter.jmeter.correlation.gui.analysis.CorrelationTemplatesSelectionPanel.actionPerformed(CorrelationTemplatesSelectionPanel.java:280) ~[jmeter-bzm-correlation-recorder-2.4.jar:?]
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:279) ~[?:?]
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297) ~[?:?]
at java.awt.Component.processMouseEvent(Component.java:6635) ~[?:?]
at javax.swing.JComponent.processMouseEvent(JComponent.java:3342) ~[?:?]
at java.awt.Component.processEvent(Component.java:6400) ~[?:?]
at java.awt.Container.processEvent(Container.java:2263) ~[?:?]
at java.awt.Component.dispatchEventImpl(Component.java:5011) ~[?:?]
at java.awt.Container.dispatchEventImpl(Container.java:2321) ~[?:?]
at java.awt.Component.dispatchEvent(Component.java:4843) ~[?:?]
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4918) ~[?:?]
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4547) ~[?:?]
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4488) ~[?:?]
at java.awt.Container.dispatchEventImpl(Container.java:2307) ~[?:?]
at java.awt.Window.dispatchEventImpl(Window.java:2772) ~[?:?]
at java.awt.Component.dispatchEvent(Component.java:4843) ~[?:?]
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772) ~[?:?]
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:85) ~[?:?]
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95) ~[?:?]
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:85) ~[?:?]
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) [?:?]

Environment

Let us know in which versions of these tools the error occurs:

  • JMeter 5.4.3
  • Correlation Recorder 2.4
  • Plugin Manager (if applicable)
  • Protocol version (if apply, eg: Siebel CRM IP17 & IP18)

To Reproduce

Steps to reproduce the bug:

When I use Correlation's Wizard -> Existing Correlation Templates -> select Local Templates -> click Continue, the following error occurs.

Expected behavior

How can I properly link to local templates, and can I remove the OPTIONS Method requests during plugin recording?

Complementary information

To have a faster and accurate response to your issue, please share:

  • The JTL for the recording and the replay (if needed)
  • The configuration of the Correlation Rules/Templates used (picture, test plan, or JSON file)
    20240426185658

In case of sharing the JTL, please make sure you configure it as shown in the docs/JTLRecordingConfiguration.png file

Additional context
Add any other context about the problem here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant