Forum Discussion
SmartBear_Suppo
Alumni
16 years agoHi Sri,
Your main concerns here are accessing the response and saving into a speadsheet.
Response you can access in at least two ways:
or...
You can program access to Excel spreadsheets using one of the third party libraries like JExcelApi.
SoapUI Pro comes with Excel DataSink functionality built in which makes it a breeze to store responses (or really any property expanded value) into an Excel spreadsheet.
Cheers!
/Nenad Nikolic a.k.a. Shonzilla
Your main concerns here are accessing the response and saving into a speadsheet.
Response you can access in at least two ways:
def groovyUtils = new com.eviware.soapui.support.GroovyUtils( context )
def holder = groovyUtils.getXmlHolder( "MyTestRequestStep#Response" )
log.info "XML formatted response: ${holder.xml}"
or...
def response = context.testCase.testSteps["MyTestRequestStep"].properties["Response"]
log.info "Raw response: ${response.value}"
You can program access to Excel spreadsheets using one of the third party libraries like JExcelApi.
SoapUI Pro comes with Excel DataSink functionality built in which makes it a breeze to store responses (or really any property expanded value) into an Excel spreadsheet.
Cheers!
/Nenad Nikolic a.k.a. Shonzilla