Skip to content

Dredd Sample Output

Joseph Spurrier edited this page Jul 8, 2018 · 1 revision

This is sample output from Dredd that tests the generated Swagger spec against the API.

$ dredd
info: Configuration './dredd.yml' found, ignoring other arguments.
info: Starting backend server process with command: cmd/webapi/webapi
info: Waiting 3 seconds for backend server process to start
info: Beginning Dredd testing...
info: Found Hookfiles: 0=.../cmd/hooks/hooks
info: Spawning 'go' hooks handler process.
info: Hooks handler stdout: Sending to channel

Completed

info: Hooks handler stderr: 2018/07/08 11:14:58 Starting hooks server

info: Hooks handler stdout: Starting

info: Hooks handler stdout: Accepting connection

info: Successfully connected to hooks handler. Waiting 0.1s to start testing.
pass: GET (200) /v1 duration: 35ms
pass: GET (200) /v1/auth duration: 13ms
pass: GET (200) /v1/user duration: 16ms
skip: GET (400) /v1/user
skip: GET (401) /v1/user
skip: GET (500) /v1/user
pass: POST (201) /v1/user duration: 17ms
skip: POST (400) /v1/user
skip: POST (401) /v1/user
skip: POST (500) /v1/user
pass: DELETE (200) /v1/user duration: 17ms
skip: DELETE (400) /v1/user
skip: DELETE (401) /v1/user
skip: DELETE (500) /v1/user
pass: GET (200) /v1/user/USERID duration: 16ms
skip: GET (400) /v1/user/USERID
skip: GET (401) /v1/user/USERID
skip: GET (500) /v1/user/USERID
pass: PUT (200) /v1/user/USERID duration: 16ms
skip: PUT (400) /v1/user/USERID
skip: PUT (401) /v1/user/USERID
skip: PUT (500) /v1/user/USERID
pass: DELETE (200) /v1/user/USERID duration: 14ms
skip: DELETE (400) /v1/user/USERID
skip: DELETE (401) /v1/user/USERID
skip: DELETE (500) /v1/user/USERID
info: Hooks handler stderr: 2018/07/08 11:15:01 Shutting down hooks servers

complete: 8 passing, 0 failing, 0 errors, 18 skipped, 26 total
complete: Tests took 2691ms
info: Backend server process exited
Clone this wiki locally