http-test VS-Tool is a Visual Studio Code extension that makes it easy to use the @iyulab/http-test library directly within your VS Code environment.
Features
- Run HTTP tests on .http files
- Quick test execution via context menu
- Real-time test results in VS Code's output panel
Screenshot
Requirements
How to Use
- Open a .http file
- Right-click within the file to open the context menu
- Select the "Run HTTP Test" option
- View the test results in the output panel
Keyboard Shortcut
- Windows/Linux:
Ctrl+Alt+T
- macOS:
Cmd+Alt+T
About @iyulab/http-test Library
This extension is built on top of the @iyulab/http-test library. This library is a powerful tool for easily testing HTTP requests.
Key features:
- Support for HTTP methods (GET, POST, PUT, DELETE, etc.)
- Variable support
- Response validation
- JSON schema validation
- Environment configuration
For more details, please refer to the @iyulab/http-test GitHub repository.
Installation
- Open VS Code
- Open the Extensions marketplace (Ctrl+Shift+X)
- Search for "http-test VS-Tool"
- Click the "Install" button
| |