0.2.3 • Published 9 years ago

crabtrap v0.2.3

Weekly downloads
1
License
MIT
Repository
-
Last release
9 years ago

Crabtrap Proxy

Crabtrap is an http proxy that can capture and replay requests.

It was originally developed to help with testing web crawlers in the Crabfarm project.

crabtrap

Features:

  • Records SSL requests (using a self signed certificate).
  • When in replay mode, it uses smart url/content matching to serve the proper response.
  • Allows serving assets in a local folder at the crabtrap.io mock domain.

Usage:

To record every passing requests, first start the proxy:

crabtrap capture ./somefile

then configure your browser's proxy to use localhost:4000 and navigate.

When you are done, terminate the proxy process with Ctrl-C or TERM signal

To start replay mode use:

crabtrap replay ./somefile

The proxy will use the capture file to respond recorded requests (other requests will produce a 404 response)

To get more help on usage use

crabtrap -h

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create new Pull Request

Credits

Thank you contributors!

Crabtrap is part of the Crabfarm Framework.

License

Crabtrap is © 2015 Platanus, SpA. It is free software and may be redistributed under the MIT License.

0.2.3

9 years ago

0.2.2

9 years ago

0.2.1

9 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago