Forum Discussion
SIERRA_NEVADA_C_1
15 years agoOccasional Contributor
Ole,
This code runs fine in SoapUI Pro environment (DataSource is linked to a spreadsheet):
def title = context.expand( '${DataSource#title}' )
log.info " title = " + title
And generates : Tue Nov 01 14:23:39 EDT 2011:INFO:
title = SOAP Ingest01
When run it in Java standalone using TestRunner I got
14:17:11,356 INFO [SoapUITestCaseRunner] running step [DataSource]
14:17:11,485 INFO [SoapUITestCaseRunner] running step [show]
14:17:12,050 INFO [log] title =
14:17:12,050 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [Modify], time taken: 563ms, status: FINISHED
14:17:12,091 INFO [SoapUITestCaseRunner] TestSuite [SOAP Core Test] finished with status [FINISHED] in 789ms
You can see the third line has nothing for title variable.
Thanks,
Eric
This code runs fine in SoapUI Pro environment (DataSource is linked to a spreadsheet):
def title = context.expand( '${DataSource#title}' )
log.info " title = " + title
And generates : Tue Nov 01 14:23:39 EDT 2011:INFO:
title = SOAP Ingest01
When run it in Java standalone using TestRunner I got
14:17:11,356 INFO [SoapUITestCaseRunner] running step [DataSource]
14:17:11,485 INFO [SoapUITestCaseRunner] running step [show]
14:17:12,050 INFO [log] title =
14:17:12,050 INFO [SoapUITestCaseRunner] Finished running soapUI testcase [Modify], time taken: 563ms, status: FINISHED
14:17:12,091 INFO [SoapUITestCaseRunner] TestSuite [SOAP Core Test] finished with status [FINISHED] in 789ms
You can see the third line has nothing for title variable.
Thanks,
Eric