Forum Discussion
SmartBear_Suppo
Alumni
13 years agoHi,
We are very sorry that it took us so long so see your post! It must have gone in at a very busy time and somehow it skipped our attention.
I have confirmed both issues you have raised.
For now, would you be able to use a Groovy testStep to actually print the response contents, something similar to this (adapting the XPath of course, you can use Pro's feature to do it automatically, right-click on the script, click on "Get Data..."):
About the date not validating properly, it will be clearer what's going on once we know what the value returned is.... if it's exactly the same as expected, then I might have to fill a bug for this. Please let us know if you still get the exact expected answer (even without trailing white spaces) in Maven.
Regards,
Renato
SmartBear Software
We are very sorry that it took us so long so see your post! It must have gone in at a very busy time and somehow it skipped our attention.
I have confirmed both issues you have raised.
For now, would you be able to use a Groovy testStep to actually print the response contents, something similar to this (adapting the XPath of course, you can use Pro's feature to do it automatically, right-click on the script, click on "Get Data..."):
def response = context.expand( '${getItems#Response#declare namespace ns2=\'http://ws.app4test.eviware.com/\'; //ns2:getItemsResponse[1]/return[12]/cost[1]}' )
log.info "Value found is '${response}'"About the date not validating properly, it will be clearer what's going on once we know what the value returned is.... if it's exactly the same as expected, then I might have to fill a bug for this. Please let us know if you still get the exact expected answer (even without trailing white spaces) in Maven.
Regards,
Renato
SmartBear Software