Contact Us
About Us
News
Home
Main Menu
Home
Eviware Store
Downloads
Products
News
Forum
Eviware Blog
Search
FAQs
Customer Area
Support
Documentation
Tutorials
CookBook
Downloads
Forum
Login Form
Welcome,
Guest
. Please
login
or
register
.
January 09, 2009, 07:59:49 am
Username:
Password:
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Forgot your password?
Exception when running load test
Welcome,
Guest
. Please
login
or
register
.
January 09, 2009, 07:59:49 am
News:
The Forums are up! Welcome to eviware.
Eviware Forum
soapUI
soapUI
Exception when running load test
« previous
next »
Pages:
[
1
]
Author
Topic: Exception when running load test (Read 420 times)
BhuvanShanmugam
Newbie
Posts: 18
Exception when running load test
«
on:
August 06, 2008, 05:47:46 pm »
Hi ,
I have a simple 2 req/resp test case and trying a load test with 10 threads.
I am using a mock service to test this.
I get the following exception even if i run with just 1 Thread.
Wed Aug 06 17:46:44 BST 2008:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.impl.coverage.ProjectCoverage.a(SourceFile:629)
at com.eviware.soapui.impl.coverage.ProjectCoverage.accumulateMockResult(SourceFile:492)
at com.eviware.soapui.impl.wsdl.panels.mock.ProWsdlMockServiceDesktopPanel$CoveragetMockRunListener.onMockResult(SourceFile:128)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchMockRequest(WsdlMockRunner.java:299)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchMockRequest(WsdlMockRunner.java:57)
at com.eviware.soapui.monitor.MockEngine$ServerHandler.handle(MockEngine.java:296)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
I also see the following exception when I increase the number of threads to about 50. In both cases I dont give any time delay between threads and the Startegy is Simple.
Wed Aug 06 17:51:28 BST 2008:ERROR:java.util.ConcurrentModificationException
java.util.ConcurrentModificationException
at java.util.LinkedList$ListItr.checkForComodification(LinkedList.java:761)
at java.util.LinkedList$ListItr.next(LinkedList.java:696)
at com.eviware.soapui.impl.coverage.ProjectCoverage.a(SourceFile:627)
at com.eviware.soapui.impl.coverage.ProjectCoverage.accumulateMockResult(SourceFile:492)
at com.eviware.soapui.impl.wsdl.panels.mock.ProWsdlMockServiceDesktopPanel$CoveragetMockRunListener.onMockResult(SourceFile:128)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchMockRequest(WsdlMockRunner.java:299)
at com.eviware.soapui.impl.wsdl.mock.WsdlMockRunner.dispatchMockRequest(WsdlMockRunner.java:57)
at com.eviware.soapui.monitor.MockEngine$ServerHandler.handle(MockEngine.java:296)
at org.mortbay.jetty.handler.HandlerWrapper.handle(HandlerWrapper.java:139)
at org.mortbay.jetty.Server.handle(Server.java:313)
at org.mortbay.jetty.HttpConnection.handleRequest(HttpConnection.java:506)
at org.mortbay.jetty.HttpConnection$RequestHandler.content(HttpConnection.java:844)
at org.mortbay.jetty.HttpParser.parseNext(HttpParser.java:644)
at org.mortbay.jetty.HttpParser.parseAvailable(HttpParser.java:211)
at org.mortbay.jetty.HttpConnection.handle(HttpConnection.java:381)
at org.mortbay.io.nio.SelectChannelEndPoint.run(SelectChannelEndPoint.java:396)
at org.mortbay.thread.BoundedThreadPool$PoolThread.run(BoundedThreadPool.java:442)
Any help in this regard is appreaciated.
Bhuvan.
«
Last Edit: August 06, 2008, 05:54:14 pm by BhuvanShanmugam
»
Logged
omatzura
Administrator
Hero Member
Posts: 1,666
Re: Exception when running load test
«
Reply #1 on:
August 07, 2008, 12:09:52 am »
Hi,
hmm.. have you enabled Coverage for the MockService? Try enabling or disabling it to see if that helps.. alternatively try disabling the MockService log.. sounds like a bug otherwise..
regards,
/Ole
eviware.com
Logged
BhuvanShanmugam
Newbie
Posts: 18
Re: Exception when running load test
«
Reply #2 on:
August 07, 2008, 09:27:36 am »
Ole,
If I disable MockService coverage, this error does not show up.
Thanks.
The MockServiceLog is already disabled ( I presume).
I get the following logs.
Thu Aug 07 09:24:04 BST 2008:INFO:Disabling logs during loadtests
Thu Aug 07 09:24:06 BST 2008:INFO:Enabled logs after loadtests
However, I have unearthed a couple of others.
When I open the MockService Options dialog I get the following Exception.
>>>>>
Thu Aug 07 09:20:46 BST 2008:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at java.io.StringReader.<init>(StringReader.java:33)
at org.apache.xmlbeans.impl.store.Locale.parse(Locale.java:707)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:695)
at org.apache.xmlbeans.impl.store.Locale.parseToXmlObject(Locale.java:682)
at org.apache.xmlbeans.impl.schema.SchemaTypeLoaderBase.parse(SchemaTypeLoaderBase.java:208)
at com.eviware.soapui.config.StringListConfig$Factory.parse(Unknown Source)
at com.eviware.soapui.support.types.StringList.fromXml(StringList.java:65)
at com.eviware.soapui.support.components.StringListFormComponent.setValue(StringListFormComponent.java:119)
at com.eviware.x.impl.swing.JStringListFormField.setValue(JStringListFormField.java:30)
at com.eviware.x.impl.swing.SwingXFormImpl.setComponentValue(SwingXFormImpl.java:172)
at com.eviware.x.impl.swing.JFormDialog.setValue(JFormDialog.java:129)
at com.eviware.soapui.impl.coverage.panels.CoverageOptionsAction.actionPerformed(SourceFile:38)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)
at java.awt.Component.processMouseEvent(Component.java:6038)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3265)
at java.awt.Component.processEvent(Component.java:5803)
at java.awt.Container.processEvent(Container.java:2058)
at java.awt.Component.dispatchEventImpl(Component.java:4410)
at java.awt.Container.dispatchEventImpl(Container.java:2116)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4322)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3986)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3916)
at java.awt.Container.dispatchEventImpl(Container.java:2102)
at java.awt.Window.dispatchEventImpl(Window.java:2429)
at java.awt.Component.dispatchEvent(Component.java:4240)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:599)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:273)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:183)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:173)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:168)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:160)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:121)
>>>>>
And When I opened the load test screen and started it the first time, the following stack appeared on the 'MS-DOS' window that opened the UI.
>>>
09:17:58,541 INFO [MockEngine] Started mockService [MockService - Default] on p
ort [8080] at path [/]
09:17:58,557 INFO [MockEngine] Mounted WSDL for interface [UserManagementServic
eSoapBinding] at [?WSDL&interface=UserManagementServiceSoapBinding]
09:18:16,376 INFO [SoapUI] Disabling logs during loadtests
09:18:17,407 INFO [HttpClientSupport$Helper] Initializing SSL
Exception in thread "Retry ModelItemIconAnimator" java.util.EmptyStackException
at java.util.Stack.peek(Stack.java:85)
at java.util.Stack.pop(Stack.java:67)
at javax.swing.tree.VariableHeightLayoutCache.getNodeForPath(VariableHei
ghtLayoutCache.java:816)
at javax.swing.tree.VariableHeightLayoutCache.getBounds(VariableHeightLa
youtCache.java:197)
at javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:515
)
at javax.swing.plaf.basic.BasicTreeUI.getPathBounds(BasicTreeUI.java:508
)
at javax.swing.JTree.getPathBounds(JTree.java:2066)
at com.eviware.soapui.model.tree.AbstractModelItemTreeNode.propertyChang
e(AbstractModelItemTreeNode.java:133)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:339)
at java.beans.PropertyChangeSupport.firePropertyChange(PropertyChangeSup
port.java:276)
at com.eviware.soapui.model.support.AbstractModelItem.notifyPropertyChan
ged(AbstractModelItem.java:53)
at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.setIcon(AbstractWs
dlModelItem.java:68)
at com.eviware.soapui.impl.wsdl.support.ModelItemIconAnimator.run(ModelI
temIconAnimator.java:107)
at java.lang.Thread.run(Thread.java:619)
09:18:24,983 INFO [SoapUI] Enabled logs after loadtests
>>>
Hope this helps,
Bhuvan.
Logged
omatzura
Administrator
Hero Member
Posts: 1,666
Re: Exception when running load test
«
Reply #3 on:
August 07, 2008, 10:04:44 am »
Thanks,
these all seem to be fixed in our codebase, will be in next release.. thanks for reporting!
/Ole
eviware.com
Logged
Pages:
[
1
]
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> eviware general
-----------------------------
soapUI
-----------------------------
=> soapUI
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Powered by SMF 1.1.2
|
SMF © 2006-2007, Simple Machines LLC
Loading...