phmlabs / missingrequest
Head outputs all http header information for a given website
Requires
- php: >= 5.4.0
- guzzlehttp/guzzle: ~6.0
- koalamon/cookiemakerhelper: dev-master
- koalamon/koalamonclient: dev-master
- phmlabs/html: ~2.1
- phmlabs/httpwebdriveradapter: dev-master
- phmlabs/xunitreport: ~1.0.0
- symfony/console: ~2.2
- symfony/yaml: ~2.2
- 3.0.5
- 3.0.4
- 3.0.3
- 3.0.2
- 3.0.1
- 3.0.0
- 2.3.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.5
- 2.0.4
- 2.0.3
- 2.0.2
- 2.0.1
- 2.0.0
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.1
- 0.9.0
- 0.8.1
- 0.8.0
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.0
- 0.5.1
- 0.5.0
- 0.4.0
- 0.3.1
- 0.3.0
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.2
- 0.1.1
- 0.1.0
- 0.0.10
- 0.0.9
- 0.0.8
- 0.0.7
- 0.0.6
- 0.0.5
- 0.0.4
- 0.0.3
- 0.0.2
- 0.0.1
This package is auto-updated.
Last update: 2024-11-29 04:30:35 UTC
README
MissingRequest is a tool for checking if given urls are producing a defined set of http requests.
The tool is based on phantomJS and is able to execute javascript so you can be sure all the requests are called.
Installation
Installation of MissingRequest is easy. Just download the phar archive and run the tool.
curl -O -LSs http://pharchive.phmlabs.com/archive/phmLabs/MissingRequest/current/Missing.phar && chmod +x Missing.phar
Additionally phantomJS must be installed. If not already done you can find the installation guide here: http://phantomjs.org/download.html.
Commands
run
The run command runs checks if a given list of urls produce the right requests.
Example
Missing.phar run example/requests.list -o /tmp/test.xml -f xunit
This example will create a xunit conform xml file that can be read by the most continuous integration servers such as jenkins or bamboo.
info
The info command can be used to show all requests an url triggers when called.
Example
Missing.phar info http://www.amilio.de
create
The create command is used to create a config file. It calls an url an adds all triggered requests to the given yaml file. Afterwards you can remove the optional requests.
Example
Missing.phar create http://www.amilio.de /tmp/amilio.yml
If the amilio.yml file already exists it will be overwritten.
Configuration
Example
This example will check if the two urls (www.amilio.de/ and www.amilio.de/blog/2015/
) produce requests against google, amilio and any given .de domain.
# amilio_example.yml urls: startpage: url: http://www.amilio.de requests: - http://www.google.com - http://www.amilio.de - www.(.*).de blog: url: http://www.amilio.de/blog/2015/ requests: - http://www.amilio.de - www.(.*).de