lukapril
16 years agoOccasional Contributor
soapUI goes very slow after first run of test suite... memory leaks??
Hi, I'm new in SoapUI and using version 3.0.1. I've sent up a TestSuite with one TestCase, which has 6 TestSteps. What the test case does is basically login to a REST service, then grab a key returned by the login by using a simple groovy script, then pass this key to the subsequent calls to the service (some PUT and some DELETE calls).
I was able to run the test case successfully. However whenever I try to run the same test case 2nd time, soapUI gave me the following error, and then soapUI will get really slow, the UI kind of 'lags' even if I just mouse over my project. In order to resolve this, I have to restart soapUI and run the test case again.
I'm wondering is there any type of cleanup I should do after each test case run? Have anyone encounter this issue before? Any help is very much appreciated! Thanks!
Mon Feb 01 07:22:47 MST 2010:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.support.components.BrowserComponent.initBrowser(BrowserComponent.java:237)
at com.eviware.soapui.support.components.BrowserComponent.setContent(BrowserComponent.java:333)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlResponseView.setEditorContent(HttpHtmlResponseView.java:149)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlResponseView.buildContent(HttpHtmlResponseView.java:103)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlResponseView.getComponent(HttpHtmlResponseView.java:64)
at com.eviware.soapui.support.editor.Editor.addEditorView(Editor.java:64)
at com.eviware.soapui.impl.support.components.ResponseMessageXmlEditor.(ResponseMessageXmlEditor.java:49)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel$AbstractHttpResponseMessageEditor.(AbstractHttpRequestDesktopPanel.java:362)
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel$HttpResponseMessageEditor.(AbstractHttpXmlRequestDesktopPanel.java:60)
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel.buildResponseEditor(AbstractHttpXmlRequestDesktopPanel.java:43)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.buildContent(AbstractHttpRequestDesktopPanel.java:202)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel.buildContent(RestTestRequestDesktopPanel.java:120)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.init(AbstractHttpRequestDesktopPanel.java:130)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.(AbstractHttpRequestDesktopPanel.java:107)
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel.(AbstractHttpXmlRequestDesktopPanel.java:31)
at com.eviware.soapui.impl.rest.panels.request.AbstractRestRequestDesktopPanel.(AbstractRestRequestDesktopPanel.java:67)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel.(RestTestRequestDesktopPanel.java:67)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestPanelBuilder.buildDesktopPanel(RestTestRequestPanelBuilder.java:37)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestPanelBuilder.buildDesktopPanel(RestTestRequestPanelBuilder.java:29)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDesktopPanel(StandaloneDesktop.java:181)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:564)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:552)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:101)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107)
at com.eviware.soapui.ui.Navigator$TreeMouseListener.mouseClicked(Navigator.java:399)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6351)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6113)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4291)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
I was able to run the test case successfully. However whenever I try to run the same test case 2nd time, soapUI gave me the following error, and then soapUI will get really slow, the UI kind of 'lags' even if I just mouse over my project. In order to resolve this, I have to restart soapUI and run the test case again.
I'm wondering is there any type of cleanup I should do after each test case run? Have anyone encounter this issue before? Any help is very much appreciated! Thanks!
Mon Feb 01 07:22:47 MST 2010:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.support.components.BrowserComponent.initBrowser(BrowserComponent.java:237)
at com.eviware.soapui.support.components.BrowserComponent.setContent(BrowserComponent.java:333)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlResponseView.setEditorContent(HttpHtmlResponseView.java:149)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlResponseView.buildContent(HttpHtmlResponseView.java:103)
at com.eviware.soapui.impl.rest.panels.request.views.html.HttpHtmlResponseView.getComponent(HttpHtmlResponseView.java:64)
at com.eviware.soapui.support.editor.Editor.addEditorView(Editor.java:64)
at com.eviware.soapui.impl.support.components.ResponseMessageXmlEditor.
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel$AbstractHttpResponseMessageEditor.
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel$HttpResponseMessageEditor.
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel.buildResponseEditor(AbstractHttpXmlRequestDesktopPanel.java:43)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.buildContent(AbstractHttpRequestDesktopPanel.java:202)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel.buildContent(RestTestRequestDesktopPanel.java:120)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.init(AbstractHttpRequestDesktopPanel.java:130)
at com.eviware.soapui.impl.support.panels.AbstractHttpRequestDesktopPanel.
at com.eviware.soapui.impl.support.panels.AbstractHttpXmlRequestDesktopPanel.
at com.eviware.soapui.impl.rest.panels.request.AbstractRestRequestDesktopPanel.
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestDesktopPanel.
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestPanelBuilder.buildDesktopPanel(RestTestRequestPanelBuilder.java:37)
at com.eviware.soapui.impl.wsdl.panels.teststeps.RestTestRequestPanelBuilder.buildDesktopPanel(RestTestRequestPanelBuilder.java:29)
at com.eviware.soapui.ui.desktop.standalone.StandaloneDesktop.showDesktopPanel(StandaloneDesktop.java:181)
at com.eviware.soapui.support.UISupport.showDesktopPanel(UISupport.java:564)
at com.eviware.soapui.support.UISupport.selectAndShow(UISupport.java:552)
at com.eviware.soapui.impl.wsdl.actions.support.ShowDesktopPanelAction.perform(ShowDesktopPanelAction.java:53)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:101)
at com.eviware.soapui.support.action.swing.DefaultActionList.performDefaultAction(DefaultActionList.java:107)
at com.eviware.soapui.ui.Navigator$TreeMouseListener.mouseClicked(Navigator.java:399)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:252)
at java.awt.Component.processMouseEvent(Component.java:6351)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3255)
at java.awt.Component.processEvent(Component.java:6113)
at java.awt.Container.processEvent(Container.java:2085)
at java.awt.Component.dispatchEventImpl(Component.java:4714)
at java.awt.Container.dispatchEventImpl(Container.java:2143)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4618)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4291)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4212)
at java.awt.Container.dispatchEventImpl(Container.java:2129)
at java.awt.Window.dispatchEventImpl(Window.java:2475)
at java.awt.Component.dispatchEvent(Component.java:4544)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:635)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:296)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:211)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:201)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:196)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:188)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)