Each http endpoint should be logged by the application
Feature: Logging on endpoints
Scenario: Good request
Given the application running
When any of the endpoints is requested
Then it should log 'HTTP-REQUEST /path' in 'info' level
Scenario: Bad request
Given the application running
When any of the endpoints is requested
And the response has any error
Then it should log 'HTTP-ERROR /path' in 'error' level
Endpoint logging
Each http endpoint should be logged by the application
Feature: Logging on endpoints
Scenario: Good request Given the application running When any of the endpoints is requested Then it should log 'HTTP-REQUEST /path' in 'info' level
Scenario: Bad request Given the application running When any of the endpoints is requested And the response has any error Then it should log 'HTTP-ERROR /path' in 'error' level