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 DiscussionsSOAPUI 5.9.1 Still Includes Log4j 2.17.1 — When Will an Updated Version Be Released?20 years of SoapUI - Share your storySoapUI 5.9.1 displays "[]" as "<Empty JSON content>"
Related ContentChecking API Status in TestCompleteAccessing NameMapping objects in scriptsUnable to access jarfile agent.jar