Sign inSign up

vitorfox/arbitrary

By vitorfox

•Updated over 6 years ago

Image
0

199

vitorfox/arbitrary repository overview

⁠arbitrary

A http mock server for a arbitrary problem test

###Config example

routes:
- path: /foo/bar
  method: get
  throttling:
    max_simultaneous_requests: 100
    max_throttled_requests: 100
    delay_on_response: 200ms
    delay_on_throttled_response: 10s
  successful_response:
    status_code: 200
    body: |
      {"id": "xpto"}
  throttling_response:
    status_code: 429
    body: |
      {"error": "cannot handle the request"}

Tag summary

Content type

Image

Digest

Size

2.3 MB

Last updated

over 6 years ago

docker pull vitorfox/arbitrary