Forum Discussion
Elvorin
13 years agoContributor
While running load test I was not seeing any such error for most of the part. Then I opened SOAP UI Pro for fixing a request (not part of test case) in the project being used by LoadUI. After fixing the request I closed SoapUI. Then I went to Results Workbench (which was already opened) to see how things are looking and noticed suddenly all my added statistics are gone from response time graph. Those statistics were added by me manually (to capture the soap call time taken instead of test case time taken). So in the middle of the run I had to add all of the statistics (18 to be specific) back again. Also noticed that one of the soap runner is now failing for almost all of the calls (couldn't match numbers to say 100% of them, as it was generating 5 req/sec) with the previously mentioned datasource exception. Following is the exception stack trace from Java WS console -
I also noticed the same stack trace in soapui-error.log file. Following is what I found in soapui.log file -
Additionally I also noticed following errors at the very beginning of my load run -
5 Times -
And Once (1) -
Following is my datasource configuration for all of my test cases -
16:29:25,476 ERROR [SoapUI] An error occured [DataSource not set in step [DataSource]], see error log for details
java.lang.Exception: DataSource not set in step [DataSource]
at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.prepare(SourceFile:409)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:126)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:975)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:831)
at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:496)
at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:70)
at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:773)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Unknown Source)
I also noticed the same stack trace in soapui-error.log file. Following is what I found in soapui.log file -
2012-03-05 16:25:35,939 ERROR [AbstractTestRunner] Exception during Test Execution
java.lang.Exception: Failed to prepare testStep [DataSource]; java.lang.Exception: DataSource not set in step [DataSource]
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:132)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:975)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:831)
at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:496)
at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:70)
at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:773)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Unknown Source)
2012-03-05 16:25:36,599 ERROR [SoapUI] An error occured [DataSource not set in step [DataSource]], see error log for details
2012-03-05 16:25:36,599 ERROR [errorlog] java.lang.Exception: DataSource not set in step [DataSource]
java.lang.Exception: DataSource not set in step [DataSource]
at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.prepare(SourceFile:409)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:126)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:975)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:831)
at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:496)
at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:70)
at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:773)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Unknown Source)
Additionally I also noticed following errors at the very beginning of my load run -
5 Times -
2012-03-05 15:02:22,395 ERROR [errorlog] java.io.IOException: Stream closed
java.io.IOException: Stream closed
at java.io.BufferedReader.ensureOpen(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at java.io.BufferedReader.readLine(Unknown Source)
at com.eviware.soapui.impl.wsdl.teststeps.datasource.FileDataSource.next(SourceFile:150)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.next(SourceFile:524)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.run(SourceFile:136)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.runTestStep(AbstractTestCaseRunner.java:232)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCaseRunner.runCurrentTestStep(WsdlTestCaseRunner.java:48)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:141)
at com.eviware.soapui.impl.wsdl.support.AbstractTestCaseRunner.internalRun(AbstractTestCaseRunner.java:42)
at com.eviware.soapui.impl.wsdl.support.AbstractTestRunner.run(AbstractTestRunner.java:135)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:975)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:831)
at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:496)
at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:70)
at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:773)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Unknown Source)
And Once (1) -
2012-03-05 16:11:12,637 ERROR [errorlog] java.util.ConcurrentModificationException: Document changed during select
java.util.ConcurrentModificationException: Document changed during select
at org.apache.xmlbeans.impl.store.Path$XbeanPathEngine.next(Path.java:459)
at org.apache.xmlbeans.impl.store.Cursor._toSelection(Cursor.java:931)
at org.apache.xmlbeans.impl.store.Cursor._getSelectionCount(Cursor.java:946)
at org.apache.xmlbeans.impl.store.Cursor.getSelectionCount(Cursor.java:2706)
at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:468)
at org.apache.xmlbeans.impl.values.XmlObjectBase.selectPath(XmlObjectBase.java:446)
at com.eviware.soapui.support.xml.XmlObjectConfigurationReader.readString(XmlObjectConfigurationReader.java:89)
at com.eviware.soapui.impl.wsdl.teststeps.datasource.FileDataSource.load(SourceFile:304)
at com.eviware.soapui.impl.wsdl.teststeps.datasource.AbstractDataSource.init(SourceFile:70)
at com.eviware.soapui.impl.wsdl.teststeps.datasource.AbstractDataSource.init(SourceFile:20)
at com.eviware.soapui.support.registry.AbstractRegistry.build(AbstractRegistry.java:59)
at com.eviware.soapui.impl.wsdl.teststeps.WsdlDataSourceTestStep.<init>(SourceFile:103)
at com.eviware.soapui.impl.wsdl.teststeps.registry.DataSourceStepFactory.buildTestStep(SourceFile:31)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.createTestStepFromConfig(WsdlTestCase.java:317)
at com.eviware.soapui.impl.wsdl.testcase.WsdlTestCase.<init>(WsdlTestCase.java:108)
at com.eviware.soapui.impl.wsdl.WsdlTestCasePro.<init>(SourceFile:31)
at com.eviware.soapui.impl.wsdl.WsdlTestSuitePro.buildTestCase(SourceFile:64)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.getTestCase(SoapUISamplerComponent.java:1049)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent$SoapUITestCaseRunner.run(SoapUISamplerComponent.java:962)
at com.eviware.loadui.components.soapui.SoapUISamplerComponent.sample(SoapUISamplerComponent.java:831)
at com.eviware.loadui.impl.component.categories.RunnerBase.doSample(RunnerBase.java:496)
at com.eviware.loadui.impl.component.categories.RunnerBase.access$700(RunnerBase.java:70)
at com.eviware.loadui.impl.component.categories.RunnerBase$Worker.run(RunnerBase.java:773)
at com.eviware.loadui.util.dispatch.CustomThreadPoolExecutor$Worker.run(CustomThreadPoolExecutor.java:188)
at java.lang.Thread.run(Unknown Source)
Following is my datasource configuration for all of my test cases -
- chmelvv8 years agoOccasional Contributor
May be it is too late to answer, but I had the same error.
It was because I have a lot of included in each other DataSource/DataSourceLoop structures and in one of DataSourceLoop corresponsing DataSource parameters was set to old non existing step.
Related Content
- 11 months ago
- 2 years ago
Recent Discussions
- 3 days ago