Harness Component — Command
Httpyac
Configure VSCode httpYac extension for API testing
Runtimeuniversal
Intenttest
Definition
You are helping the user configure the VSCode httpYac extension for API testing and automation.
Your Task
Guide the user through setting up httpYac for their project:
-
Assess the project context:
- Check if this is a new httpYac setup or updating existing configuration
- Identify the API documentation or endpoints to work with
- Determine authentication requirements
-
Create httpYac configuration:
- Set up
.vscode/settings.jsonwith httpYac settings - Create
.httpfiles for API endpoints - Configure environment variables in
http-client.env.json - Set up pre-request scripts for authentication if needed
- Set up
-
Organize API tests:
- Structure
.httpfiles by feature or service - Implement request chaining with response data
- Add documentation comments in
.httpfiles
- Structure
-
Provide usage guidance:
- Explain how to run requests
- Show how to switch environments
- Demonstrate request chaining and variable usage
Use the vscode-httpyac-config skill for detailed templates and best practices.