Sign inSign up

testainers/httpbucket

By testainers

•Updated 4 months ago

Small container image to test http requests and responses.

Image
Developer tools
2

2.1K

testainers/httpbucket repository overview

⁠ Testainers httpbucket

Build With Love Version Licence Build Coverage Report

httpucket is a powerful microservice designed specifically for testing HTTP requests with a wide range of request URLs. It serves as a valuable tool for developers, quality assurance teams, and anyone involved in API development. By providing a flexible and user-friendly interface, HTTPBucket simplifies the process of testing and validating various types of HTTP requests.

⁠Funding

Your contribution will help drive the development of quality tools for the Flutter and Dart developer community. Any amount will be appreciated. Thank you for your continued support!

BuyMeACoffee

⁠Environment variables

VariableDescriptionDefault
HTTPBUCKET_SSL_CERTTODOcert.pem
HTTPBUCKET_SSL_KEYTODOkey.pem

⁠How to use

docker run -d --rm --name httpbucket -p 8080:8080 -p 8443:8443 testainers/httpbucket:latest

⁠How to test

curl http://localhost:8080/methods
curl -k https://localhost:8443/methods

⁠Build

docker build . -f src/main/docker/Dockerfile.native-micro --no-cache -t httpbucket

⁠Run

docker run --rm --name httpbucket -p 8080:8080 -p 8443:8443 -d httpbucket

⁠Self-signed certificate

openssl req \
    -newkey rsa:2048 \
    -new \
    -nodes \
    -x509 \
    -days 3650 \
    -keyout key.pem \
    -out cert.pem \
    -subj "/C=US/ST=SC/L=Hometown/O=IT/emailAddress=root@localhost/CN=localhost"

⁠Extra endpoints

  • /openapi
  • /swagger-ui
  • /health
  • /metrics
  • /info

Tag summary

Content type

Image

Digest

sha256:9242fcf30…

Size

57.8 MB

Last updated

4 months ago

docker pull testainers/httpbucket