Hi,
The support for custom Groovy script is out of the scope of support agreement.
Having said that, I think selectXPath() is not the good choice to present the user with multiple values for selection, from the response.
You need to parse the response in the Groovy script and create the the list of options.
You can refer following post on how to parse response:
http://www.robert-nemet.com/2011/11/gro ... oapui.htmlOnce you have the list of options then use: com.eviware.soapui.support.UISupport.getDialogs().prompt( String question, String title, Object[] options ) to show a dialog for selection.
I hope this helps.
Best Regards,
Prakash
SmartBear Sweden