# HTTP Status Code Test Service: statustest

statustest is a service which responds with a HTTP status code sent as HTTP status header, e.g.



curl -i -H"status:205" http://localhost:8080/statustest/resources/statuses

responds with:

HTTP/1.1 205 Reset Content
Server: Payara Micro #badassfish
Date: Sun, 27 Nov 2016 09:08:20 GMT





statustest comes as a 4.1 kB WAR and is also available as 
docker image: docker run -d -p 8080:8080 airhacks/statustest from http://hub.docker.com/u/airhacks.


JAX-RS rulz was tested with statustest,
as well as, the other way round. Statustest was also used to test error behaviour of various HTTP JavaScript libraries in reactjs and angular 2 projects.



See you at Java EE Workshops at Munich Airport, Terminal 2, particularly at: Java EE Testing. Is MUC too far? Checkout the online version: javaeetesting.com!
