Forum Discussion

mermet's avatar
mermet
Occasional Contributor
17 years ago

Modifications lost while using soapUI v2.0 beta2

Hi, I have been working on soapUI 1.7.6 with no problem for the last 2 weeks or so.
Yesterday I decided to try soapUI v2.0 beta2, as I was missing some important key features that were in the new 2.0 version.

Quickly while using soapUI v2.0 beta2 I had the feeling to have to redo things several times, like if my modifications were lost. First I thought I had not saved my work correctly.

Just to confirm my feeling I have done the followings:

- On my existing Test Suite I cloned a Test step in all my Test Cases
- Did some other Grovy script modifications in some Test Cases
- Saved all open Projects
- Close soapUI

After restarting soapUI (v2.0 beta2) , all my previous modifications were gone.

Since that time I have returned to v1.7.6 which does not have this kind of issue.

I suspect  some differences in the project xml repository schema ...

10 Replies

  • omatzura's avatar
    omatzura
    Super Contributor
    Hi mermet..

    hmm.. can you recall any errors in the logs or console when this happened?

    regards,

    /Ole
    eviware.com
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi mermet..

    we really want to get this fixed but are having a hard time reproducing.. Exactly how did you clone your teststeps? (ie which action..)

    Also, would it possible for you to mail me your project file so I can try to reproduce with the same project as you had?

    thanks in advance!

    regards,

    /Ole
    eviware.com
  • mermet's avatar
    mermet
    Occasional Contributor
    Hi Ole, I reproduced the error where I could not save my changes with the latest v2.0 version.  As mentioned earlier, my soapui xml repository was developped with version 1.7.6.


    Here is an excerpt of the soapUi log:

    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
    2007-12-18 15:30:16,468 ERROR [errorlog] org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
    org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
    at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1213)
    at com.eviware.soapui.config.impl.MockResponseConfigImpl.getResponseContent(Unknown Source)
    at com.eviware.soapui.impl.wsdl.mock.WsdlMockResponse.beforeSave(WsdlMockResponse.java:825)
    at com.eviware.soapui.impl.wsdl.teststeps.WsdlMockResponseTestStep.beforeSave(SourceFile:711)
    at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.beforeSave(WsdlTestCase.java:766)
    at com.eviware.soapui.impl.wsdl.WsdlTestSuite.beforeSave(WsdlTestSuite.java:395)
    at com.eviware.soapui.impl.wsdl.WsdlProject.beforeSave(WsdlProject.java:477)
    at com.eviware.soapui.impl.wsdl.WsdlProject.save(WsdlProject.java:416)
    at com.eviware.soapui.impl.wsdl.actions.project.SaveProjectAction.perform(SaveProjectAction.java:40)
    at com.eviware.soapui.impl.wsdl.actions.project.SaveProjectAction.perform(SaveProjectAction.java:27)
    at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:92)
    at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
    at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
    at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
    at javax.swing.AbstractButton.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
    at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
    at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
    at java.awt.Component.processMouseEvent(Unknown Source)
    at javax.swing.JComponent.processMouseEvent(Unknown Source)
    at java.awt.Component.processEvent(Unknown Source)
    at java.awt.Container.processEvent(Unknown Source)
    at java.awt.Component.dispatchEventImpl(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
    at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
    at java.awt.Container.dispatchEventImpl(Unknown Source)
    at java.awt.Window.dispatchEventImpl(Unknown Source)
    at java.awt.Component.dispatchEvent(Unknown Source)
    at java.awt.EventQueue.dispatchEvent(Unknown Source)
    at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
    at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
    at java.awt.EventDispatchThread.run(Unknown Source)
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi mermet,

    thanks! I think this is enough for me to fix the problem.. it seems to be related to the mockresponse teststep, so projects not containing this step should not be affected..

    I'll post back as soon as I have some news..

    regards!

    /Ole
    eviware.com
  • mermet's avatar
    mermet
    Occasional Contributor
    Hi Ole, thanks a lot for your great responsiveness !

    Yes our code is heavily relying on Mock Responses as all our Service requests are asynchroneous.

    For sure we need v2.0 (at least for the Timeout feature). So your work is important to us.

    Merry Christmas to you, your team and familly.
  • mermet's avatar
    mermet
    Occasional Contributor
    Hi Ole, apparently I do not have the problem anymore with your fixed soap-ui-pro-2.0.jar. I will evaluate v2.0 much further within the next few days...

    Thanks a lot for the quick fix.
  • mermet's avatar
    mermet
    Occasional Contributor
    Hi Ole, I have definitively switched to v2.0 + fix since Jan. 2nd and have not face any problem. Is that fixed soapui-pro-2.0.jar now part of the official soapUI v2.0 version download or new installations that will require that fix will still need to patch the downloaded version with the fixed soapui-pro-2.0.jar you provided ?

    Thanks.
  • omatzura's avatar
    omatzura
    Super Contributor
    Hi mermet,

    thanks for reporting! We will hopefully release 2.0.1 later this week, which includes this fix and a bunch of other critical fixes..

    regards!

    /Ole
    eviware.com