Bug 41991 - Under load web service requests start failing
Summary: Under load web service requests start failing
Status: RESOLVED INVALID
Alias: None
Product: JMeter
Classification: Unclassified
Component: HTTP (show other bugs)
Version: 2.2
Hardware: PC Windows Server 2003
: P2 major (vote)
Target Milestone: ---
Assignee: JMeter issues mailing list
URL:
Keywords: ErrorMessage
Depends on:
Blocks:
 
Reported: 2007-03-29 23:53 UTC by David Schulberg
Modified: 2007-03-30 07:08 UTC (History)
0 users



Attachments
Copy of JMeter log, JMeter test script and data file used (31.47 KB, application/x-zip-compressed)
2007-03-29 23:54 UTC, David Schulberg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Schulberg 2007-03-29 23:53:18 UTC
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)
Comment 1 David Schulberg 2007-03-29 23:54:50 UTC
Created attachment 19844 [details]
Copy of JMeter log, JMeter test script and data file used
Comment 2 Sebb 2007-03-30 07:08:48 UTC
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