anand1
12 years agoContributor
OAUTH With REST request
Hi,
I have a test case where in I am having two request first one is the Rest based OAUTH request where in I am generating an access token and in the second one is GET request where in I am passing the same token as part of header type variable.
When I am running these two steps individually they are working fine and giving me the expected results, however when I am running it from the Test case level, wherein they should be executed one after the other, i am getting the below mentioned error:
Thu Nov 28 23:22:59 IST 2013:ERROR:Exception during Test Execution
org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1244)
at com.eviware.soapui.config.impl.PropertyConfigImpl.getName(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder$PropertiesStepProperty.getName(XmlBeansPropertiesTestPropertyHolder.java:293)
at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.getPropertyNames(XmlBeansPropertiesTestPropertyHolder.java:186)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlPropertiesTestStep.getPropertyNames(WsdlPropertiesTestStep.java:405)
at com.eviware.soapui.impl.wsdl.panels.teststeps.support.DefaultPropertyTableHolderModel.getPropertyNames(DefaultPropertyTableHolderModel.java:40)
at com.eviware.soapui.impl.wsdl.panels.teststeps.support.DefaultPropertyTableHolderModel.fireTableDataChanged(DefaultPropertyTableHolderModel.java:56)
at com.eviware.soapui.impl.wsdl.panels.teststeps.support.DebugPropertyHolderTable$DebugDefaultPropertyTableHolderModel.clearChanged(SourceFile:160)
at com.eviware.soapui.impl.wsdl.panels.testcase.DebugPropertiesContainerPanel.a(SourceFile:76)
at com.eviware.soapui.impl.wsdl.panels.testcase.DebugPropertiesContainerPanel$1.beforeStep(SourceFile:131)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:233)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:148)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:43)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Is my request is wrong, seems like that is not the case as it is running fine as an individual step.
kindly advice.
Regards,
Anand
I have a test case where in I am having two request first one is the Rest based OAUTH request where in I am generating an access token and in the second one is GET request where in I am passing the same token as part of header type variable.
When I am running these two steps individually they are working fine and giving me the expected results, however when I am running it from the Test case level, wherein they should be executed one after the other, i am getting the below mentioned error:
Thu Nov 28 23:22:59 IST 2013:ERROR:Exception during Test Execution
org.apache.xmlbeans.impl.values.XmlValueDisconnectedException
at org.apache.xmlbeans.impl.values.XmlObjectBase.check_orphaned(XmlObjectBase.java:1244)
at com.eviware.soapui.config.impl.PropertyConfigImpl.getName(Unknown Source)
at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder$PropertiesStepProperty.getName(XmlBeansPropertiesTestPropertyHolder.java:293)
at com.eviware.soapui.impl.wsdl.support.XmlBeansPropertiesTestPropertyHolder.getPropertyNames(XmlBeansPropertiesTestPropertyHolder.java:186)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlPropertiesTestStep.getPropertyNames(WsdlPropertiesTestStep.java:405)
at com.eviware.soapui.impl.wsdl.panels.teststeps.support.DefaultPropertyTableHolderModel.getPropertyNames(DefaultPropertyTableHolderModel.java:40)
at com.eviware.soapui.impl.wsdl.panels.teststeps.support.DefaultPropertyTableHolderModel.fireTableDataChanged(DefaultPropertyTableHolderModel.java:56)
at com.eviware.soapui.impl.wsdl.panels.teststeps.support.DebugPropertyHolderTable$DebugDefaultPropertyTableHolderModel.clearChanged(SourceFile:160)
at com.eviware.soapui.impl.wsdl.panels.testcase.DebugPropertiesContainerPanel.a(SourceFile:76)
at com.eviware.soapui.impl.wsdl.panels.testcase.DebugPropertiesContainerPanel$1.beforeStep(SourceFile:131)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:233)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:148)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:43)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Is my request is wrong, seems like that is not the case as it is running fine as an individual step.
kindly advice.
Regards,
Anand