Sign inSign up

aerisconsulting/http-punching-ball

By aerisconsulting

•Updated about 2 years ago

Lightweight HTTP server for testing

Image
0

2.2K

aerisconsulting/http-punching-ball repository overview

⁠HTTP Punching Ball

Lightweight HTTP server for testing of HTTP clients. This service supports both HTTP and HTTPS.

Execute with the flag -h to list the configuration options.

The source code is distributed under the Apache License Version 2.0⁠ at Github⁠.

To pull and see the configuration options, run the following:

> docker pull aerisconsulting/http-punching-ball && docker run -it --rm aerisconsulting/http-punching-ball -h

HTTP Punching Ball is a lightweight service developed by AERIS-Consulting e.U., in order to to test HTTP clients.
The endpoint / supports all the methods and returns the received payload binary wrapped into a JSON body.
The endpoint /stats provides statistics about the received requests, which can be reset with a DELETE request to the same endpoint.
Send a request to any other URI of your choice to receive a description of your query as a JSON payload.


Usage:
  http-punching-ball [flags]

Flags:
      --debug             enables the debug mode with more verbosity
  -h, --help              help for http-punching-ball
      --http              enables the plain HTTP server (default true)
      --https             enables the HTTPS server
      --plain-port int    port for plain HTTP (default 8080)
      --ssl-cert string   certificate file for the server
      --ssl-key string    key file for the server certificate
      --ssl-port int      port for HTTPS (default 8443)

Tag summary

Content type

Image

Digest

sha256:410e168d7…

Size

65.7 MB

Last updated

about 2 years ago

docker pull aerisconsulting/http-punching-ball