Contributions
Re: messageExchange not recognised
hi There, Thanks a lot for the reply, your code does work, however, I would like to use the messageExchange for the same purpose. Below is the code which I use : def groovyUtils = new com.eviware.soapui.support.GroovyUtils(context) def holder = groovyUtils.getXmlHolder(messageExchange.responseContent) I am creating context ,but still i get the same error.Do you know any possible reason for this.I am using soapui pro 3.57.5KViews0likes1CommentmessageExchange not recognised
def holder = groovyUtils.getXmlHolder( messageExchange.responseContent ); When I try to execute this script , I get this pop up which says groovy.lang.MissingPropertyException:No such property:messageExchange for class: Script35 Please find the screenshot of the pop up attached. I desperately need this to work ,where am I making a mistake?10KViews0likes6CommentsNeed code for copying data into Request
hi I am using soapui Pro.I have created a test suite with a groovy script step and a Request step in it. I have a couple of xmls on my pc, from which I have loaded a xml into a stringwriter. Now, I am facing trouble as I do not know how to transfer the xml in this stringwriter to the request the request is perfectly valid for the service to return a response. Can anybody please help me by providing the code for doing so?818Views0likes2Comments