With Bruno VS Code extension, you can develop and test your APIs in Bruno right from Visual Studio Code. You can use the VS Code extension to open bruno files, send API requests, manage collections and environments, and much more. Streamline your development workflow by testing your APIs in the same application you use to develop them.
Bruno has a few standout features that make it unique:
- Git-friendly: Bruno stores collections directly in your filesystem as plain text files, making them easy to version control with Git
- Offline-first: No cloud dependency, no vendor lock-in. Your data stays on your device
- Opensource: Bruno is open source and free to use
- Fast & Lightweight: Built for speed and simplicity
- Local Storage: All your API collections and data remain on your local machine
The extension provides a comprehensive set of features for API development and testing:
- Inline API testing - Send requests directly from VS Code without switching applications
- Dual view modes - Switch seamlessly between GUI and text editor views
- Collection management - Organize and manage your API collections within VS Code
- Environment variables - Manage multiple environments and switch between them easily
- Request scripting - Write pre-request and post-response scripts for advanced testing
- Authentication support - Handle various auth methods including Basic, Bearer, Digest, NTLM, API Key, WSSE, and more
- GraphQL support - Send and test GraphQL queries with syntax highlighting and introspection
- gRPC support - Send and test gRPC requests with proto file support
- WebSocket support - Establish and manage WebSocket connections
- Collection runner - Run entire collections or folders with configurable iterations
- Code generation - Generate code snippets for your requests in various languages
- File uploads - Handle multipart form data and file uploads in requests
- Install the extension from the VS Code Marketplace
- Click the Bruno icon in the Activity Bar (sidebar)
- Use Create Collection or Open Collection to get started
- Right-click folders and requests in the sidebar for context menu actions
The E2E test server uses OpenSSL to generate certificates for client certificate tests. If OpenSSL is not available in your PATH, the server will fail to start with:
Error: spawnSync openssl ENOENT
If Git for Windows is installed, check whether its OpenSSL executable is available:
Test-Path "C:\Program Files\Git\usr\bin\openssl.exe"If the command returns True, add the folder to your current PowerShell session:
$env:Path = "C:\Program Files\Git\usr\bin;$env:Path"Verify OpenSSL and run the tests:
openssl version
npm run test:e2eThe PATH change above applies only to the current terminal session. To make it permanent:
-
Search Windows for Edit environment variables for your account.
-
Under User variables, select Path and click Edit.
-
Click New and add the folder containing
openssl.exe:C:\Program Files\Git\usr\bin -
Save the changes and restart VS Code.
-
Run
openssl versionto confirm that OpenSSL is available.
If Git is installed in a different location, use the path to its usr\bin folder. If OpenSSL is not present there, install OpenSSL and add the folder containing openssl.exe to your PATH.
- Bruno Desktop - The main Bruno desktop application
- Bruno CLI - Command-line interface for Bruno collections
- Bruno Website - Official Bruno website and documentation
- GitHub Repository - Source code, issues, and discussions
- Documentation - Comprehensive Bruno documentation
- Discord Community - Join our community for help and discussions
- Twitter - Follow us for updates and announcements
We welcome contributions to make Bruno even better! See our Contributing Guide for details on:
- Reporting bugs and requesting features
- Setting up the development environment
- Submitting pull requests
- Code style guidelines
This project is licensed under the MIT License - see the LICENSE file for details.
Made with ❤️ by the Bruno team
Love Bruno? Show your support by starring the project on GitHub!
