Forum Discussion
DMcCabe
13 years agoContributor
Erik
Ok so I can access the url from the response within a groovy script with something like this:
def response = context.expand( '${REST Acquire Request#Response#//WebApiServlet.Response[1]/result[1]/cdnUrl[1]}' )
log.info("CDN URL is: ${response}")
Which I think is what you are suggesting. The log.info statement confirms that I am getting the cdnURL from the response that I am looking for.
So how do I send a request to that url now to check that it exists?
Thanks for your help
Ok so I can access the url from the response within a groovy script with something like this:
def response = context.expand( '${REST Acquire Request#Response#//WebApiServlet.Response[1]/result[1]/cdnUrl[1]}' )
log.info("CDN URL is: ${response}")
Which I think is what you are suggesting. The log.info statement confirms that I am getting the cdnURL from the response that I am looking for.
So how do I send a request to that url now to check that it exists?
Thanks for your help