Mocking Http-503 for a web service -
i mock web service response http 503 (error 503--service unavailable) when server unable handle request due temporary overloading or maintenance of server. best strategy? thanks, d
you can use following groovy script:
mockrequest.gethttpresponse().senderror(503)
Comments
Post a Comment