Contributions
Error when loading composite project on soapui pro 3.0.1
Hi, we just got a deployment and we can not load our composite project now. I probably suspect because some of our datagen that pulling value from the database(using groovy script) now messed up because of the DB changes from the deployment, and caused this problem. But again, we can not even open the composite project. Does soapUI load the datagen when we opening the project? Bellow is the error that I found in error log. around 5 of these same errors. Please let me know if you need more information. Thanks, Ferdinand 2009-11-20 18:01:30,747 ERROR [errorlog] java.lang.NullPointerException: Cannot invoke method getAt() on null object java.lang.NullPointerException: Cannot invoke method getAt() on null object at org.codehaus.groovy.runtime.NullObject.invokeMethod(NullObject.java:77) at org.codehaus.groovy.runtime.InvokerHelper.invokePogoMethod(InvokerHelper.java:751) at org.codehaus.groovy.runtime.InvokerHelper.invokeMethod(InvokerHelper.java:728) at org.codehaus.groovy.runtime.callsite.NullCallSite.call(NullCallSite.java:17) at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:40) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:117) at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125) at Script1.run(Script1.groovy:11) at com.eviware.soapui.support.scripting.groovy.SoapUIGroovyScriptEngine.run(SoapUIGroovyScriptEngine.java:93) at com.eviware.soapui.support.scripting.groovy.SoapUIProGroovyScriptEngineFactory$SoapUIProGroovyScriptEngine.run(SourceFile:50) at com.eviware.soapui.impl.wsdl.teststeps.datagen.ScriptProperty.getValue(SourceFile:72) at com.eviware.soapui.impl.wsdl.teststeps.datagen.AbstractDataGeneratorProperty.getValue(SourceFile:149) at com.eviware.soapui.impl.wsdl.teststeps.datagen.WsdlDataGeneratorTestStep$PropertyProxy.getValue(SourceFile:222) at com.eviware.soapui.model.tree.nodes.PropertyTreeNode.buildName(PropertyTreeNode.java:47) at com.eviware.soapui.model.tree.nodes.PropertyTreeNode$PropertyModelItem. (PropertyTreeNode.java:85) at com.eviware.soapui.model.tree.nodes.PropertyTreeNode. (PropertyTreeNode.java:39) at com.eviware.soapui.model.tree.nodes.PropertiesTreeNode. (PropertiesTreeNode.java:52) at com.eviware.soapui.model.tree.nodes.TestStepTreeNode. (TestStepTreeNode.java:29) at com.eviware.soapui.model.tree.nodes.TestCaseTreeNode$TestStepsTreeNode.createTestStepTreeNode(TestCaseTreeNode.java:129) at com.eviware.soapui.model.tree.nodes.TestCaseTreeNode$TestStepsTreeNode. (TestCaseTreeNode.java:121) at com.eviware.soapui.model.tree.nodes.TestCaseTreeNode. (TestCaseTreeNode.java:47) at com.eviware.soapui.model.tree.nodes.TestSuiteTreeNode. (TestSuiteTreeNode.java:50) at com.eviware.soapui.model.tree.nodes.ProjectTreeNode. (ProjectTreeNode.java:58) at com.eviware.soapui.model.tree.nodes.WorkspaceTreeNode. (WorkspaceTreeNode.java:50) at com.eviware.soapui.model.tree.SoapUITreeModel. (SoapUITreeModel.java:52) at com.eviware.soapui.ui.Navigator.buildUI(Navigator.java:84) at com.eviware.soapui.ui.Navigator. (Navigator.java:79) at com.eviware.soapui.SoapUI.buildUI(SoapUI.java:218) at com.eviware.soapui.SoapUI.show(SoapUI.java:839) at com.eviware.soapui.SoapUI.startSoapUI(SoapUI.java:719) at com.eviware.soapui.SoapUIPro.b(SourceFile:260) at com.eviware.soapui.SoapUIPro.a(SourceFile:186) at com.eviware.soapui.SoapUIPro$SoapUIProRunner.run(SourceFile:1109) at java.awt.event.InvocationEvent.dispatch(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)1.7KViews0likes3CommentsAbout null...
Hi Guys, I have a quick question. One of our developer stated this on the email: QA may set empty ‘ ’ or ‘ ’ to field, but sopaUI transferred 0 to that. So if QA want to test null message returned, they can delete the line of the field. This method ‘ ’ can work for string type, but not for numeric type. Does this statement true? Does xsi:nil="true" only works for the string? I do not think so right? And removing the parameter from the field is the same thing with putting xsi:nil="true" as an attribute? I do not think if we put null as attributes in integer type, does soapUI treated automatically as 0? Is that correct? Thanks, Ferdinand1.5KViews0likes1CommentRe: Composite project does not open
Finally found the error log. Hopefully this help. Thanks, Ferdinand The error log: 2009-08-21 17:02:18,131 ERROR [errorlog] com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:C:/SoapUI Projects/IIWebServices/Membership Rearchitecture] com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:C:/SoapUI Projects/IIWebServices/Membership Rearchitecture] at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(SourceFile:248) at com.eviware.soapui.impl.wsdl.WsdlProject. (WsdlProject.java:211) at com.eviware.soapui.impl.wsdl.WsdlProjectPro. (SourceFile:139) at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFile:53) at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(SourceFile:16) at com.eviware.soapui.impl.WorkspaceImpl.reloadProject(WorkspaceImpl.java:521) at com.eviware.soapui.impl.wsdl.WsdlProject.reload(WsdlProject.java:1220) at com.eviware.soapui.impl.wsdl.project.composite.RefreshCompositeProject.perform(SourceFile:48) at com.eviware.soapui.impl.wsdl.project.composite.RefreshCompositeProject.perform(SourceFile:12) 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) Caused by: java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(Unknown Source) at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer.getPropertyHolder(PropertyTransfer.java:977) at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer.setConfig(PropertyTransfer.java:162) at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfer. (PropertyTransfer.java:114) at com.eviware.soapui.impl.wsdl.teststeps.PropertyTransfersTestStep.afterLoad(PropertyTransfersTestStep.java:79) at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:209) at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:209) at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:209) at com.eviware.soapui.impl.wsdl.WsdlProject.afterLoad(WsdlProject.java:481) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(SourceFile:229) ... 36 more1.7KViews0likes0CommentsRe: Composite project does not open
Hi Robert, thanks for the reply. I am downloading the nightly build right now. But I am not sure it will help since the one that I am using is pretty recent nighly build ( about 1 month old). Can you please create a composite project and import that test case? If there is nothing wrong with it, then it should appear in you test suite right? When I tried that, it does not do anything. I can not really get any error log since the file was brought down from svn and when I refreshed the composite project, it immediately like that (the one in the snap shot) Or probably there is another way to get the error log? Please let me know. Thanks, Ferdinand1.7KViews0likes0CommentsComposite project does not open
We have been having some problems with the composite project for quite a while. We subversion the composite project. And sometimes after I do an update from my subversion, and refresh the composite project, the project suddenly can not expand. Please see attachment for the snapshot for the can and can not expand After I investigate from my subversion log, there is one file that caused this thing. Once I remove this file and refresh my composite project, I can open the composite project again. I will also attach this trouble file(DeleteProductLineOptableItemsNeg.xml)2.9KViews0likes6Commentscan null passed as a value not as attribute?
Hi guys, I am trying to pass a null as a value e.g. xsi:nil , instead doing it this way . Is there any possible way to do it? Unfortunately removing(not including) the parameter on the request is also not an option.... This is for data driven testing. Thanks in advance for the help Ferdinand6.6KViews0likes3CommentsRe: saving composite project make files duplications
I just installed the new build, now it has element.order of the list of the test cases. But we still have the duplication. I think the duplication is for the test cases that has spaces. if the test case name is "getResort Test Case", the duplication will show up with "getResort-Test-Case" or similiar to that. We never had duplication if the test case name is one word only e.g. no spaces Thanks, Ferdinand811Views0likes0Commentssaving composite project make files duplications
Hi We are using soapUI pro 2.5.1. After we imported a project, and make some changes ( not the test case name changes though), and we save it with composite = true. When I checked the test case directory, there are lots of duplication of the test cases file with slightly different name e.g. getResort Test Case and getResort-Test Case. And of course when I reimported the composite project, we have duplications of test cases. Has anybody experienced this before? anybody has any idea what might cause this? Thanks in advance, Ferdinand1.7KViews0likes3Comments