Forum Discussion

MSL's avatar
MSL
New Contributor
2 years ago

Cannot import project

Are readyapi and soapui not compatible anymore?


My team are using both.

Some are using readyapi to make TC

and the others are using soapui to check the feasibility.

 

It was working fine with ReadyAPI version3.2.
But It wasn't with ReadyAPI version 3.4.

 

If the TC is saved in v.3.4, the the TC cound't be imported in SoapUI anymore.
So We are thinking about to migrate to Postman.

Before the decision, Want to double-check that the direction of SmartBear.

Won't SmartBear support compatibility each version of SoapUI and SmartBear?

 

Wed Aug 02 10:57:04 KST 2023:ERROR:com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:....xml]
com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:....xml]
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:334)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:220)
at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:201)
at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:49)
at com.eviware.soapui.impl.wsdl.WsdlProjectFactory.createNew(WsdlProjectFactory.java:28)
at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:386)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:66)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:38)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1022)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1066)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6617)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6382)
at java.desktop/java.awt.Container.processEvent(Container.java:2264)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4993)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4934)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4563)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4504)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2308)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
Caused by: java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.impl.InterfaceFactory.build(com.eviware.soapui.impl.wsdl.WsdlProject, com.eviware.soapui.config.InterfaceConfig)" because the return value of "java.util.Map.get(Object)" is null
at com.eviware.soapui.impl.wsdl.InterfaceFactoryRegistry.build(InterfaceFactoryRegistry.java:51)
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProjectFromInputStream(WsdlProject.java:389)
at com.eviware.soapui.impl.wsdl.WsdlProject.loadProject(WsdlProject.java:317)
... 46 more
Wed Aug 02 10:57:06 KST 2023:ERROR:java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.impl.wsdl.support.wss.DefaultWssContainer.resolve(com.eviware.soapui.support.resolver.ResolveContext)" because "this.wssContainer" is null
java.lang.NullPointerException: Cannot invoke "com.eviware.soapui.impl.wsdl.support.wss.DefaultWssContainer.resolve(com.eviware.soapui.support.resolver.ResolveContext)" because "this.wssContainer" is null
at com.eviware.soapui.impl.wsdl.WsdlProject.resolve(WsdlProject.java:1571)
at com.eviware.soapui.support.resolver.ResolveDialog.resolve(ResolveDialog.java:197)
at com.eviware.soapui.impl.WorkspaceImpl.resolveProject(WorkspaceImpl.java:413)
at com.eviware.soapui.impl.WorkspaceImpl.afterProjectImport(WorkspaceImpl.java:474)
at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:391)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:66)
at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:38)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:93)
at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972)
at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2313)
at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:405)
at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262)
at java.desktop/javax.swing.AbstractButton.doClick(AbstractButton.java:374)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:1022)
at java.desktop/javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:1066)
at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:297)
at java.desktop/java.awt.Component.processMouseEvent(Component.java:6617)
at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3342)
at java.desktop/java.awt.Component.processEvent(Component.java:6382)
at java.desktop/java.awt.Container.processEvent(Container.java:2264)
at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4993)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2322)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4934)
at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4563)
at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4504)
at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2308)
at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2773)
at java.desktop/java.awt.Component.dispatchEvent(Component.java:4825)
at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:772)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:721)
at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:715)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:95)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745)
at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:743)
at java.base/java.security.AccessController.doPrivileged(AccessController.java:391)
at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:85)
at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:742)
at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124)
at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109)
at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)

 

  • Projects created in soapui are expected to work in ReadyAPI and the opposite is not guaranteed because readyapi might have more features, and its schema might be different so that the projects created in readyapi may or may not work in SoapUI.

  • nmrao's avatar
    nmrao
    Champion Level 3

    Projects created in soapui are expected to work in ReadyAPI and the opposite is not guaranteed because readyapi might have more features, and its schema might be different so that the projects created in readyapi may or may not work in SoapUI.

    • jrahman's avatar
      jrahman
      Contributor

      Hello Rao:

      I have been using SoapUI long since Eviware era (2008). In the past, I never had any issue to import projects from SoapUI Pro. I used to use a licensed version of SoapUI Pro for my development and then deploy those developed projects in different machines where the free version SoapUI used to run.

       

      As a test developer, I would like to see that feature of importing projects from Pro (ReadyAPI) to Free (SoapUI). But alas! recently that feature was taken away and just today I discovered that I am no more able to import projects in SoapUI which was developed on ReadyAPI.

       

      As a long time patron of SoapUI and ReadyAPI, I would request to restore back that convenience.

       

      /jamil.