承接 phmlabs/missingrequest 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

phmlabs/missingrequest

Composer 安装命令:

composer require phmlabs/missingrequest

包简介

Head outputs all http header information for a given website

README 文档

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

统计信息

  • 总下载量: 8
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 6
  • Watchers: 4
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2015-11-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固