GiriNew Contributor17 years agoHow to access http status from Groovy script?Hi,I would like to create a groovy script assertion based on http status code check. How can I do this?Thanks,Giri.
2 RepliesReplies sorted by Most LikedomatzuraSuper Contributor17 years agoHi!check the status code with something likeassert messageExchange.responseStatusCode == 200(since 2.5 version)regards!/Oleeviware.comGiriNew Contributor17 years agoHi Ole,Thank you verymuch for quick answer. Giri.
omatzuraSuper Contributor17 years agoHi!check the status code with something likeassert messageExchange.responseStatusCode == 200(since 2.5 version)regards!/Oleeviware.com
Recent DiscussionsOS SoapUI: Can it connect and use Cosmos DB"Clone interface" between projects not workingSOAPUI not responding to soap11 requests
Related ContentChecking API Status in TestCompleteAccessing NameMapping objects in scriptsHow to access the variable defined in the setup script from a groovy script