apache / jmeter

Apache JMeter open-source load testing tool for analyzing and measuring the performance of a variety of services
https://jmeter.apache.org/
Apache License 2.0
8.3k stars 2.09k forks source link

Under load web service requests start failing #1899

Closed asfimport closed 17 years ago

asfimport commented 17 years ago

David Schulberg (Bug 41991): Errors only appear after test has been running OK for a few minutes. From JMeter logfile:

2007/03/29 14:34:59 WARN - jmeter.protocol.http.sampler.WebServiceSampler: Error processing data: The element type "EOF" must be terminated by the matching end-tag "</EOF>". 2007/03/29 14:34:59 WARN - jmeter.protocol.http.sampler.WebServiceSampler: [SOAPException: faultCode=Could not create document; msg=] 2007/03/29 14:34:59 ERROR - jmeter.threads.ListenerNotifier: Detected problem in Listener: java.lang.ArrayIndexOutOfBoundsException: 4815 > 4329 at java.util.Vector.insertElementAt(Unknown Source) at javax.swing.tree.DefaultMutableTreeNode.insert(Unknown Source) at javax.swing.tree.VariableHeightLayoutCache.createNodeAt(Unknown Source) at javax.swing.tree.VariableHeightLayoutCache.treeNodesInserted(Unknown Source) at javax.swing.plaf.basic.BasicTreeUI$Handler.treeNodesInserted(Unknown Source) at javax.swing.tree.DefaultTreeModel.fireTreeNodesInserted(Unknown Source) at javax.swing.tree.DefaultTreeModel.nodesWereInserted(Unknown Source) at javax.swing.tree.DefaultTreeModel.insertNodeInto(Unknown Source) at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.updateGui (ViewResultsFullVisualizer.java:184) at org.apache.jmeter.visualizers.ViewResultsFullVisualizer.add (ViewResultsFullVisualizer.java:168) at org.apache.jmeter.reporters.ResultCollector.sendToVisualizer (ResultCollector.java:415) at org.apache.jmeter.reporters.ResultCollector.sampleOccurred (ResultCollector.java:391) at org.apache.jmeter.threads.ListenerNotifier.notifyListeners (ListenerNotifier.java:239) at org.apache.jmeter.threads.JMeterThread.notifyListeners (JMeterThread.java:466) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:255) at java.lang.Thread.run(Unknown Source)

Severity: major OS: Windows Server 2003

asfimport commented 17 years ago

David Schulberg (migrated from Bugzilla): Created attachment bugzilla.zip: Copy of JMeter log, JMeter test script and data file used

asfimport commented 17 years ago

Sebb (migrated from Bugzilla): The Thread group has 400 threads and a loop count of 5, i.e. 2000 loops in total.

The CSV data file contains 1000 entries, and the CSV Dataset element has "Recycle on EOF" set to false, so after 1000 entries that variable will be set to <EOF> - see:

http://jakarta.apache.org/jmeter/usermanual/component_reference.html#CSV_Data_S et_Config

So that explains the error - insufficient data.

==

Also, for a stress test I recommend removing as many listeners as possible. You can always write the data to a file and read it back in