Skip to content

A simple HTTP Status Code Mocker

License

Notifications You must be signed in to change notification settings

AlNat/HTTPStatusMocker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HTTPStatusMocker

CI

A little Java-based application to mock any HTTP response status code. Allow getting in response at any request wanted HTTP Status code.

Test it

  1. Get the latest docker image from packages

    docker login https://docker.pkg.github.com -u GITHUB_USERNAME -p TOKEN_WITH_READ_AND_WRITE_ACCESS
    docker pull docker.pkg.github.com/alnat/httpstatusmocker/httpstatusmocker:latest
  2. Run application with Docker

    docker run -d -p 3000:8080 docker.pkg.github.com/alnat/httpstatusmocker/httpstatusmocker
  3. Make the request

    curl --request GET -sL \
         --url 'http://localhost:3000\201?delay=1'

About

A simple HTTP Status Code Mocker

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors