15 years ago
DataSource property value not working with teststep
I am using a licensed SoapUI Pro right now. If I run my test case with soapUI tool, it works but if I use Java-based eclipse, it doesn't work.
I created a datasource test step with one property value. Then another test request will get this property value for its request using ${dataSource#testValue} within a field on the request. If I click Raw data with soapUI tool, I can see the test value displaying properly and its execution is done correctly. However if I run the same test case with my Java-based eclipse using SoapUIProTestCaseRunner API, the field is blank on the log request.
SoapUI Pro tool on XML tab: <act:SIM>${DataSource#SIMValue}</act:SIM>
SoapUI Pro tool on Raw tab: <act:SIM>89302720400990879947</act:SIM>
but
If I run this with Java-based eclipse using SoapUITestCaseRunner, the log request displays as below.
<act:SIM></act:SIM>
The soapUI Java API used are SoapUITestCaseRunner, WsdlTestCaseRunner, WsdlTestSuite, WsdlTestCase, WsdlTestStep, WsdlTestRequestStepResult, WsdlDataSourceTestStep.
Please let me know asap if you figure this out.
Thanks,
John
I created a datasource test step with one property value. Then another test request will get this property value for its request using ${dataSource#testValue} within a field on the request. If I click Raw data with soapUI tool, I can see the test value displaying properly and its execution is done correctly. However if I run the same test case with my Java-based eclipse using SoapUIProTestCaseRunner API, the field is blank on the log request.
SoapUI Pro tool on XML tab: <act:SIM>${DataSource#SIMValue}</act:SIM>
SoapUI Pro tool on Raw tab: <act:SIM>89302720400990879947</act:SIM>
but
If I run this with Java-based eclipse using SoapUITestCaseRunner, the log request displays as below.
<act:SIM></act:SIM>
The soapUI Java API used are SoapUITestCaseRunner, WsdlTestCaseRunner, WsdlTestSuite, WsdlTestCase, WsdlTestStep, WsdlTestRequestStepResult, WsdlDataSourceTestStep.
Please let me know asap if you figure this out.
Thanks,
John