Forum Discussion
11 Replies
Sort By
- SmartBear_SuppoSmartBear Alumni (Retired)Hi,
Could you please specify in some more details what problem do you have when trying to import the project?
Regards,
/Dragica
eviware.com - hova_da_godOccasional Contributorwhen I import the project it says :
"The model of REST requests has changed slightly,
introducing a new REST method item in-between each rest Resource and Request.
Any existing REST Request must now be placed under either an existing Method or a new one, either automatically or manually.
Would you like soapUI to do this automatically using the default values ?
YES NO "
So when I pressed the YES button it imported the project but all the REST Requests were damaged so the test cases were damaged and could not run them.
I tried with the NO button to try to create manually the missing Methods that are required, but unfortunatelly I get to a point that I cannot do anything - i just create a lot of methods and when i Press OK it reopens the same create window. - SmartBear_SuppoSmartBear Alumni (Retired)Hi,
Could you please download and try latest 3.0.1 nightly build from
http://www.eviware.com/nightly-builds/
and let us know if that helped you?
Regards,
/Dragica
eviware.com - hova_da_godOccasional Contributorit's the same with the nightly build...
when I import the project automatically it puts all the Ressources almost randomly and are not okai and so neither are the Requests.
Even if I correct manually the ressources I cannot manage to run any request because the parameters are not in the order I put then in the ressource so the request is not right and cannot run it.
And also I cannot create a new step in a testcase -> NPE error. - SmartBear_SuppoSmartBear Alumni (Retired)Hi!
can you attach or mail the project to support@eviware.com so we can have a look?
regards!
/Ole
eviware.com - hova_da_godOccasional ContributorSry but I can't sent you the project because it's a big one.
But lets put aside the project. I tried to create a new project from the begining and still have
problems. So I will tell you the steps I made.
I installed a fresh copy of soapUI 3.0 from the link you gave me(after downloading it) .
Afterwards I opened the soapUI 3.0.
Then FILE/New soapUI Project
- a little windows opened where I entered the name of the project and then clicked OK
- the project was made. Then right click on the project and New REST Service
- another window opened where I entered the name of the REST service and the Service endpoint and clicked OK
- right click on the REST service I just made and select New Resource
- another windows opened where i entered the name and the ressource and clicked OK.
- another windows opened to create the REST method. Here i entered a name for the method and all the parameters of the REST request. Then clicked OK.
- another windows opened to create the REST request.Here i didn't do a thing because all the parameters I entered in the previous window were here.
- then I created 3 more REST methods(for this resource) to whoom the program attached the coresponding REST request with different names for eachone.
- then i created 2 more Resources and for each ressource four REST methods with the corresponding REST requests, with different names.
--------
Then right click on the project and selected New TestSuite.After entering the name and clicked okai, it made the Test Suite.
Then right click on the test suite I just created and selected New TestCase. I entered a name and then clicked okai and the TestCase was made. So i have a testcase without any TestSteps. So right clikc on the TestSteps and add step and selected REST Test Request. Then I had to select the REST method to invoke for the request and i chose from the first Resource the first method.
Then i wanted to add another TestStep.So right click on the TestSteps and sleect add step and REST Test Request. Then once again i had to select the the REST method to be invoked with the request i just made. I selected from the 2nd Ressource the 2nd method and then ERRRRROR...
Fri Oct 23 10:25:15 EEST 2009:ERROR:An error occured [java.lang.NullPointerException], see error log for details
Fri Oct 23 10:25:15 EEST 2009:ERROR:java.lang.NullPointerException
java.lang.NullPointerException
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.ensureUniqueName(WsdlTestCase.java:300)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.insertTestStep(WsdlTestCase.java:479)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.addTestStep(WsdlTestCase.java:401)
at com.eviware.soapui.impl.wsdl.actions.testcase.AddWsdlTestStepAction.perform(AddWsdlTestStepAction.java:48)
at com.eviware.soapui.impl.wsdl.actions.testcase.AddWsdlTestStepAction.perform(AddWsdlTestStepAction.java:29)
at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:101)
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.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)
So in conclusion to this. I cannot create two Rest Test Request with different Resources in the same TestCase.
-------------------------------------------------------
And then with the importing again.
In a new project I tried to import a TestSuite(this TestSuite had 4 TestCases and each TestCase had almost 70 Steps that pointed to different Resources) previous made in soapUI2.5 after creating the resources needed for it. The import was Okai. But i had to select for each step the corresponding Resource. So i did that. Then i runed the Test Suite. Everything was perfect. So i saved the project. Exit the soapUI and very happy that this was working went outside to smoke. When i came back and opened the soapUI the TestSuite i imported was there the resources i created were there. BUT soapUI associated for all the REST Test Steps the first Resource In the list and with the first method. So it was just like I've done a fresh import for that TestSuite.
In conclusion soapUI didn't "remember" the Resources that were assigned for each Rest Test Request.
Please tell me if i did something wrong or how to do this the right way!
THANKS
Hova - hova_da_godOccasional ContributorI forgot to tell you the configuration of my PC.
I have Intel Pentium 4 3GHz with 2gb ddr1
and Windows XP Professional. - hova_da_godOccasional Contributorso nobody can help me ?
- SmartBear_SuppoSmartBear Alumni (Retired)Hello,
I am not able to reproduce this error, could you please post your system properties (soapUI top menu bar: Help > System Properties) and also the build number (Help > About soapUI).
Regards,
Dain
eviware.com - hova_da_godOccasional ContributorGRE_HOME=C:\Program Files\eviware\soapUI-3.0.1/xulrunner-windows
apple.laf.useScreenMenuBar=true
awt.toolkit=sun.awt.windows.WToolkit
com.apple.mrj.application.apple.menu.about.name=SoapUI
exe4j.consoleCodepage=cp0
exe4j.isInstall4j=true
exe4j.launchName=C:\Program Files\eviware\soapUI-3.0.1\bin\soapUI-3.0.1.exe
exe4j.moduleName=C:\Program Files\eviware\soapUI-3.0.1\bin\soapUI-3.0.1.exe
exe4j.semaphoreName=c:_program files_eviware_soapui-3.0.1_bin_soapui-3.0.1.exe0
exe4j.tempDir=
exe4j.unextractedPosition=0
file.encoding=Cp1250
file.encoding.pkg=sun.io
file.separator=\
install4j.appDir=C:\Program Files\eviware\soapUI-3.0.1\
install4j.exeDir=C:\Program Files\eviware\soapUI-3.0.1\bin\
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.awt.printerjob=sun.awt.windows.WPrinterJob
java.class.path=C:\Program Files\eviware\soapUI-3.0.1\.install4j\i4jruntime.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\bin\soapui-3.0.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\activation-1.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\bcprov-jdk15-143.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\binding-2.0.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\commons-beanutils-1.7.0.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\commons-cli-1.0.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\commons-codec-1.3.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\commons-collections-3.2.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\commons-httpclient-3.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\commons-io-1.3.2.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\commons-lang-2.4.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\commons-logging-1.1.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\ext-xmlbeans-1.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\ezmorph-1.0.5.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\forms-1.0.7.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\groovy-all-1.6.4.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\j2ee-xmlbeans-1.4.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\javamail-1.4.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\jetty-6.1.15.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\jetty-util-6.1.15.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\jniwrap-3.7.3.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\js-1.7R2.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\json-lib-2.2.2-jdk15.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\jsr173_1.0_api-xmlbeans-2.4.0.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\jtidy-r872-jdk15.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\junit-4.4.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\jxbrowser-1.3.21478.301.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\l2fprod-common-directorychooser-7.3.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\l2fprod-common-fontchooser-7.3.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\log4j-1.2.14.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\looks-2.2.0.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\MozillaGlue-jxbrowser-1.3.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\MozillaInterfaces-jxbrowser-1.3.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\not-yet-commons-ssl-0.3.11.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\opensaml-1.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\policy-xmlbeans-1.5.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\rsyntaxtextarea-1.3.4.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\saxon-9.1.0.6j.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\saxon-dom-9.1.0.6j.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\serializer-2.7.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\servlet-api-2.5-20081211.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\soap-xmlbeans-1.2.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\soapui-xmlbeans-3.0.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\swingx-soapui.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\tuxpack-0.2.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\wadl-xmlbeans-1.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\winpack-3.7.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\wsdl4j-1.6.2-fixed.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\wss4j-1.5.8.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xalan-2.7.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xbean-fixed-2.4.0.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xbean_xpath-2.4.0.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xercesImpl-2.9.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xml-apis-2.9.1.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xmlpublic-2.4.0.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xmlsec-1.4.3.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xmlunit-1.2.jar;C:\Program Files\eviware\soapUI-3.0.1\bin\..\lib\xom-1.1.jar;
java.class.version=50.0
java.endorsed.dirs=c:\program files\eviware\soapui-3.0.1\jre\lib\endorsed
java.ext.dirs=c:\program files\eviware\soapui-3.0.1\jre\lib\ext;C:\WINDOWS\Sun\Java\lib\ext
java.home=c:\program files\eviware\soapui-3.0.1\jre
java.io.tmpdir=C:\DOCUME~1\MIRCEA~1.FLO\LOCALS~1\Temp\
java.library.path=C:\Program Files\eviware\soapUI-3.0.1/bin
java.runtime.name=Java(TM) SE Runtime Environment
java.runtime.version=1.6.0_14-b08
java.specification.name=Java Platform API Specification
java.specification.vendor=Sun Microsystems Inc.
java.specification.version=1.6
java.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport.cgi
java.version=1.6.0_14
java.vm.info=mixed mode
java.vm.name=Java HotSpot(TM) Client VM
java.vm.specification.name=Java Virtual Machine Specification
java.vm.specification.vendor=Sun Microsystems Inc.
java.vm.specification.version=1.0
java.vm.vendor=Sun Microsystems Inc.
java.vm.version=14.0-b16
line.separator=
os.arch=x86
os.name=Windows XP
os.version=5.1
path.separator=;
soapui.ext.actions=C:\Program Files\eviware\soapUI-3.0.1/bin/actions
soapui.ext.libraries=C:\Program Files\eviware\soapUI-3.0.1/bin/ext
soapui.ext.listeners=C:\Program Files\eviware\soapUI-3.0.1/bin/listeners
soapui.home=C:\Program Files\eviware\soapUI-3.0.1/bin
soapui.properties=soapui.properties
sun.arch.data.model=32
sun.boot.class.path=c:\program files\eviware\soapui-3.0.1\jre\lib\resources.jar;c:\program files\eviware\soapui-3.0.1\jre\lib\rt.jar;c:\program files\eviware\soapui-3.0.1\jre\lib\sunrsasign.jar;c:\program files\eviware\soapui-3.0.1\jre\lib\jsse.jar;c:\program files\eviware\soapui-3.0.1\jre\lib\jce.jar;c:\program files\eviware\soapui-3.0.1\jre\lib\charsets.jar;c:\program files\eviware\soapui-3.0.1\jre\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes;C:\PROGRA~1\HP\QUICKT~1\bin\JAVA_S~1\classes\jasmine.jar
sun.boot.library.path=c:\program files\eviware\soapui-3.0.1\jre\bin
sun.cpu.endian=little
sun.cpu.isalist=
sun.desktop=windows
sun.io.unicode.encoding=UnicodeLittle
sun.jnu.encoding=Cp1252
sun.management.compiler=HotSpot Client Compiler
sun.os.patch.level=Service Pack 3
user.country=RO
user.dir=C:\Program Files\eviware\soapUI-3.0.1\bin
user.home=C:\Documents and Settings\mircea.florian
user.language=ro
user.name=mircea.florian
user.timezone=Europe/Minsk
user.variant=
wsi.dir=C:\Program Files\eviware\soapUI-3.0.1/wsi-test-tools
soapUI 3.0.1, copyright (C) 2004-2009 eviware.com http://www.soapui.org | http://www.eviware.com Build soapui-3.0-core-daily-2009-10-21-[3], Build Date 2009/10/21 05:07