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 scriptAccessing NameMapping objects in scriptsUnable to access jarfile agent.jar
Recent Discussionsclone TestSuite fails when there are more project with the same nameWill SOAP UI 5.6.1 work with JDK 8SOAP Request works in SoapUI, but not in C# codeHow to configure Swagger in Paas to use it in Oracle APEX instance.log4j1.x vulnerability