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 DiscussionsMissing wsi-test-tools in SoapUI 5.9.0How to escape ampersand in Property Expansion?No Fluff, Just Real Stuff - DevRel Newsletter July edition here!
Related ContentChecking API Status in TestCompleteAccessing NameMapping objects in scriptsScript Assertion - accessing other Test Steps...