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.
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!
Hi Adam,
I can't seem to find a use case where I could be needing this. Do you care on elaborating on it at the next Airhacks.tv?
Regards,
Daniel.
Posted by Daniel W. on November 29, 2016 at 02:42 PM CET #