Whistle is a node-based cross-platform Web Debugging Agent tool that supports all node-installed operating systems, such as Windows, Macs, and Linux, and can be deployed on a local machine, virtual machine, or remote server and view or modify HTTP, HTTPS, WebSocket The basic information, headers, and contents of the request (response).
Whistle each type of operation corresponds to a protocol, each modification operation is abstracted into a URI, by simply setting the request URL to the corresponding relationship of the operation URI, the implementation through the configuration operation request, support through the expansion protocol new function, with configuration flexible, powerful features.
Configuration interface and operation please refer to: https://github.com/avwo/whistle/wiki/interface operation
Basic functions
Basically, any information about the request (response) can be modified by whistle configuration, which mainly includes the following features:
- View basic information, headers, content, and Timeline of requests (responses)
- Re-send request, construct request
- Set up hosts
- Modify the requested URL parameter, method, header, content
- Delay request, limit request speed, set request time-out
- Replace local file (support replacement JSONP request) or online request
- Proxy requests to other proxy servers (support socks and HTTP proxies)
- Modify the status code, header, and content of the response (you can specify to inject JS, CSS, or HTML)
- Delay response, limit response speed
- Built-in weinre for debugging mobile Web pages
- The built-in log system is used to automatically capture page errors, inject JS debug Web pages, display Web page errors and user manual console printing information, mainly for IE6, 7 Debugging and manual debugging of mobile Web pages.
- Supports plug-in extensions or extensions as a third module
For detailed features, please refer to: https://github.com/avwo/whistle/wiki/Feature List
Configuration mode
Supports normal mode , compatibility mode , three configuration modes of combination mode
For detailed configuration mode, please refer to: https://github.com/avwo/whistle/wiki/configuration mode
Matching method
Support for domain name matching , path matching , regular matching three matching methods
Detailed matching method reference: https://github.com/avwo/whistle/wiki/matching method
Installation using whistle:
- Installing Whistle:https://github.com/avwo/whistle
- Built-in Features: Https://github.com/avwo/whistle/wiki
- Interface operation: https://github.com/avwo/whistle/wiki/interface operation
Note: To modify HTTPS and WebSocket requests need to enable HTTPS, need help or feedback can add QQ Group: 462558941
Transferred from: http://www.cnblogs.com/avwu/p/4950643.html
Cross-platform Web debugging Agent tool---Whistle