Status page sad pathIT

Contents

Show status fail when app is up and running and database connection fails

Specification

Given salume supplier app is up and running
And database is down

When a client requests status page

Then the content type is TEXT_PLAIN_CHARSET_UTF8
And the status page has http status code OK
And the status of the app is "FAILING"
And the database status is "FAILING"

Test results:

Test passed

Interesting Givens

Supplier Status Page: http://localhost:42187/salume/supplier/status

request from Client to Supplier

http://localhost:42187/salume/supplier/status

response from Supplier to Client

Salume Supplier DEV is: FAILING Version: null Database connections is: FAILING

Sequence Diagram

Client Client Supplier Supplier request response