GiriNew Contributor16 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 LikedSort ByMost LikedOldestNewestomatzuraSuper Contributor16 years agoHi!check the status code with something likeassert messageExchange.responseStatusCode == 200(since 2.5 version)regards!/Oleeviware.comGiriNew Contributor16 years agoHi Ole,Thank you verymuch for quick answer. Giri.
omatzuraSuper Contributor16 years agoHi!check the status code with something likeassert messageExchange.responseStatusCode == 200(since 2.5 version)regards!/Oleeviware.com
Related ContentAccess a Keyword Test's description via scriptAccess current re-run iteration from script (javascript)How to access the variable defined in the setup script from a groovy scriptHow to get pass/fail status of groovy scripting in excel sheetScreen Reader Mobile accessibility testing
Recent DiscussionsSOAP Request works in SoapUI, but not in C# codeHow to configure Swagger in Paas to use it in Oracle APEX instance.log4j1.x vulnerabilitySoapui 5.7.1 dependency : thoughtworks:xstream:jar:1.4.20SoapUI OSS apidocs are outdated in April 2024