使用 httpYac 在本地或 CI 检查中运行包含变量、钩子和断言的 .http 和 .rest 请求文件
Execute repository-stored HTTP request files from the command line so API smoke tests, assertions, and environment-driven checks can run without a GUI client.
Prerequisites
Node.js or Docker, repo-stored .http/.rest files, network access to target APIs.
Installation
Use the upstream install or setup path that matches your environment:
- npm install -g httpyac
- docker run -it -v ${PWD}:/data ghcr.io/anweber/httpyac:latest --version
Requirements and caveats from upstream:
- or using docker
Basic usage or getting-started notes:
- shell
- httpyac --version
- ## Commands
- Source: https://github.com/1991513ccie-png/skills
- Extracted from upstream docs: https://raw.githubusercontent.com/AnWeber/httpyac/HEAD/README.md
Documentation
- https://httpyac.github.io/