HTTPResponseCode::Test
A simple way to bulk test the response codes of sites on a server.
Installation
Add this line to your application's Gemfile:
gem 'http_response_code-test'
And then execute:
$ bundle
Or install it yourself as:
$ gem install http_response_code-test
Usage
This is meant to mostly be used as a command-line tool to check the response of a ton of pages.
- First, make a .txt file of all of your sites
$ find /var/www -name index.php > sites.txt
- Now, run the CL tool to test the HTTP Response Codes
$ http_response_code-test -s sites.txt -d http://foobar.example.com
Contributing
- Fork it ( https://github.com/[my-github-username]/http_response_code-test/fork )
- Create your feature branch (
git checkout -b my-new-feature) - Commit your changes (
git commit -am 'Add some feature') - Push to the branch (
git push origin my-new-feature) - Create a new Pull Request