Contributions
Re: Groovy script to create Test cases with test steps
Hi I was away, and I was not able to respond earlier. with one testcase created manually in the testsuite, I took the testcase.xml and modified, created copies. This works for me. I can do semi automatic now, which is ok for me. Regards, Senthil9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.7KViews0likes0CommentsRe: Groovy script to create Test cases with test steps
I am looking something more like this http://community.smartbear.com/t5/SoapUI-NG/creating-groovy-teststep-with-code-via-groovy/m-p/15147#M6592. This is very basic, if I am copy a test case, then edit using groovy script, will make my life easier. Regards9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes2Commentsnot able to delete Test Suite
I have a Test suite with test cases, Even if I delete the this entire test suite, save and restart readyAPI, the test suite comes back. There is a link in loadui NG, I deleted the test in loadUI also. When I save, close and re open, the Test suite comes back. Regards SenthilSolved9 years agoPlace ReadyAPI QuestionsReadyAPI Questions1.6KViews0likes3CommentsRe: Groovy script to create Test cases with test steps
Hi I need to create 50 test cases like the test case in the image, with change in valueswithProperties test step. If I have a groovy to do this, without manually creating each test case with change in properties file.9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes4CommentsGroovy script to create Test cases with test steps
Hi I am trying to create 50 Test cases. I need to change only few parameters in each test step. I am requiring to create a groovy script which creates Test Cases. Is there any link which I can refer to? Regards Senthil9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.8KViews0likes7Commentsinvalid project file
Hi I am using readyAPI. All was working fine, may be I imported few test cases from a different project, And now I am unable to open the workspace / project, I get invalid project file error. If I am given an option I would delete few test cases, which require a different Rest_Service. Thanks. Senthil Below is the error log Fri Jan 22 17:40:32 GMT 2016:ERROR:com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/home/xxx/data/soapUIdata/yyy/atsSoapUITests/] com.eviware.soapui.support.SoapUIException: Failed to load project from file [file:/home/xxx/data/soapUIdata/yyy/atsSoapUITests/] at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:420) at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:241) at com.eviware.soapui.impl.wsdl.WsdlProject.<init>(WsdlProject.java:222) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.<init>(WsdlProjectPro.java:168) at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:36) at com.eviware.soapui.impl.wsdl.WsdlProjectProFactory.createNew(WsdlProjectProFactory.java:1) at com.eviware.soapui.impl.WorkspaceImpl.importProject(WorkspaceImpl.java:367) at com.eviware.soapui.impl.actions.ProImportWsdlProjectAction.perform(ProImportWsdlProjectAction.java:44) at com.eviware.soapui.impl.actions.ImportWsdlProjectAction.perform(ImportWsdlProjectAction.java:1) at com.eviware.soapui.support.action.swing.SwingActionDelegate.actionPerformed(SwingActionDelegate.java:129) 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.dispatchEventImpl(Unknown Source) at java.awt.EventQueue.access$300(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.awt.EventQueue$3.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.awt.EventQueue$4.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$1.doIntersectionPrivilege(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: org.apache.xmlbeans.impl.values.XmlValueDisconnectedException at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1244) at com.eviware.soapui.config.impl.AssertionEntryConfigImpl.getSourceId(Unknown Source) at com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry.getSourceId(AssertionEntry.java:182) at com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry.getSource(AssertionEntry.java:190) at com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry.getPropertyName(AssertionEntry.java:224) at com.eviware.soapui.impl.wsdl.teststeps.assertions.support.AssertionEntry.propertyRemoved(AssertionEntry.java:584) at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.firePropertyRemoved(XmlBeansPropertiesTestPropertyHolder.java:121) at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.removeProperty(XmlBeansPropertiesTestPropertyHolder.java:199) at com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep.syncProperties(WsdlRunTestCaseTestStep.java:119) at com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep.setTargetTestCase(WsdlRunTestCaseTestStep.java:322) at com.eviware.soapui.impl.wsdl.teststeps.WsdlRunTestCaseTestStep.afterLoad(WsdlRunTestCaseTestStep.java:111) at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:237) at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.afterLoad(WsdlTestCase.java:1206) at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:237) at com.eviware.soapui.impl.wsdl.WsdlTestSuite.afterLoad(WsdlTestSuite.java:372) at com.eviware.soapui.impl.wsdl.AbstractWsdlModelItem.afterLoad(AbstractWsdlModelItem.java:237) at com.eviware.soapui.impl.wsdl.WsdlProject.afterLoad(WsdlProject.java:674) at com.eviware.soapui.impl.wsdl.WsdlProjectPro.loadProject(WsdlProjectPro.java:404) ... 48 moreSolved9 years agoPlace ReadyAPI QuestionsReadyAPI Questions4.8KViews0likes2Commentscopy resource ( Post Method) to another project
I am using readyAPI on linux. For some reasons I am not able to record entire functionality, it records half way, I am using the help of Chrome developer tools. We do not have a WADL file also. So not able to create a new LOGIN functionity. I have a Login (POST) method on project 3. I wanted to copy to project 1. Also when I am creating a new POST request, unable to add the endpoint ( un editable). Any clue Thanks Senthil9 years agoPlace ReadyAPI QuestionsReadyAPI Questions2.5KViews0likes1CommentAdd REST resource to another project
I have two different REST methods. One is Login, and another user request. They are different project. I need to combine them to make one project so both test steps will depend and run together. But I am unable to move from Project 6 to Project 1 Thanks SenthilSolved1.5KViews0likes1Comment