GET /helloworld check response status 200 check response header Content-Type text/plain check response body Hello World
GET /unknown check response status 404
set request body Hello GreenPepper POST /messages check response status 201 check response header Location http://localhost:9998/messages/0 GET /messages/0 check response status 200 check response body Hello GreenPepper
set request header Accept as application/xml GET /messages/0 check response status 200 check response body <?xml version="1.0"><message id="0" value="Hello GreenPepper" />
<?xml version="1.0"><message id="0" value="Hello GreenPepper" />
set request body Hello from GreenPepper PUT /messages/0 check response status 200 GET /messages/0 check response body Hello from GreenPepper
HEAD /messages/0 check response status 200 HEAD /messages/1 check response status 404
DELETE /messages/0 check response status 200 GET /messages/0 check response status 404