Forum Discussion

lukapril's avatar
lukapril
Occasional Contributor
16 years ago

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)

7 Replies

  • lukapril's avatar
    lukapril
    Occasional Contributor
    Hi,

    Thanks for the reply, I've downloaded version 3.5 beta 2, it improves a little bit. Like it didn't go slow the 2nd time, but it still get really slow and eventually crashed after let say 5 or 6 times running the test steps. This time it went worse, I tried to save the project, intending to close and restart soapUI. But after I close soapUI and reload the project, it couldn't load the project, it threw a java null exception error. Below is the console log I have, I tried to look at the soapui-error.log, but the log file is empty.

    04/02/10 2:55:49 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] 14:55:49,190 ERROR [SoapUI] An error occured [Failed to read an adapted Java Bean property.
    04/02/10 2:55:49 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] cause=org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
    04/02/10 2:55:49 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig@1e20d04b
    04/02/10 2:55:49 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean type=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig
    04/02/10 2:55:49 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property name=JMSCorrelationID
    04/02/10 2:55:49 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property type=java.lang.String
    04/02/10 2:55:49 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property reader=public java.lang.String com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig.getJMSCorrelationID()], see error log for details
    04/02/10 2:56:06 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] 14:56:06,676 INFO  [WsdlProject] Saved project [ShawMobi] to [/Users/aprilluk/Documents/SoapUIProjects/ShawMobi-soapui-project.xml - 58787 bytes
    04/02/10 2:56:09 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] 14:56:09,095 ERROR [SoapUI] An error occured [Failed to read an adapted Java Bean property.
    04/02/10 2:56:09 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] cause=org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
    04/02/10 2:56:09 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig@1e20d04b
    04/02/10 2:56:09 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean type=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig
    04/02/10 2:56:09 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property name=JMSCorrelationID
    04/02/10 2:56:09 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property type=java.lang.String
    04/02/10 2:56:09 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property reader=public java.lang.String com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig.getJMSCorrelationID()], see error log for details
    04/02/10 2:56:13 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] 14:56:13,249 ERROR [SoapUI] An error occured [Failed to read an adapted Java Bean property.
    04/02/10 2:56:13 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] cause=org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
    04/02/10 2:56:13 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig@1e20d04b
    04/02/10 2:56:13 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean type=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig
    04/02/10 2:56:13 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property name=JMSCorrelationID
    04/02/10 2:56:13 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property type=java.lang.String
    04/02/10 2:56:13 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property reader=public java.lang.String com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig.getJMSCorrelationID()], see error log for details
    04/02/10 2:56:18 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] 14:56:18,922 ERROR [SoapUI] An error occured [Failed to read an adapted Java Bean property.
    04/02/10 2:56:18 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] cause=org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
    04/02/10 2:56:18 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig@1e20d04b
    04/02/10 2:56:18 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean type=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig
    04/02/10 2:56:18 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property name=JMSCorrelationID
    04/02/10 2:56:18 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property type=java.lang.String
    04/02/10 2:56:18 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property reader=public java.lang.String com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig.getJMSCorrelationID()], see error log for details
    04/02/10 2:56:21 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] 14:56:21,560 ERROR [SoapUI] An error occured [Failed to read an adapted Java Bean property.
    04/02/10 2:56:21 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] cause=org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
    04/02/10 2:56:21 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig@1e20d04b
    04/02/10 2:56:21 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] bean type=com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig
    04/02/10 2:56:21 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property name=JMSCorrelationID
    04/02/10 2:56:21 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property type=java.lang.String
    04/02/10 2:56:21 PM [0x0-0x64064].com.install4j.5517-2803-0637-4585.64[756] property reader=public java.lang.String com.eviware.soapui.impl.wsdl.support.jms.header.JMSHeaderConfig.getJMSCorrelationID()], see error log for details

    Also, another problem happened consistently, that is if I add a test step in the Navigation tree, then if I move the step up / down, the UI would lag seriously. The only way to get around is to restart soapUI.

    Any idea?
  • Hi!

    Did you install to an empty directory? Can you attach the system-property (in the Help) menu? Can you attach the project you are working on?

    regards!

    /Ole
    eviware.com
  • lukapril's avatar
    lukapril
    Occasional Contributor
    Thanks for the quick response! I'm not quite sure what do you mean install to an empty directory, do you mean have I install soapUI to an empty directory? I'm using soapUI 3.5 Beta 2 on a mac OSX 10.5, and I have it installed under Applications/eviware/soapUI-3.5-beta2. I've attached the system properties file (I'm using soapUI on mac OSX 10.5). Unfortunately I cannot attach the project because of propriety reasons. Any help is apprecated! 
  • ok.. thanks.. and do you have any soapui-errors.log or similar log files in the soapUI Pro folder that you could attach? And the contents of the error log at the bottom of the main window?

    regards!

    /Ole
    eviware.com
  • lukapril's avatar
    lukapril
    Occasional Contributor
    No, I'm using not using the pro version, and the soapui-errors.log is empty, I can only see the java.lang.NullPointerException errors at the bottom of the main window. Thanks for looking into this!
  • ok.. can you attach the contents of the error log at the bottom of the main window again?

    regards!

    /Ole
    eviware.com