Skip to content

About

No description, website, or topics provided.

Resources

Stars

39 stars

Watchers

3 watching

Forks

Latest commit

 

History

157 Commits

Folders and files

Repository files navigation

Bruno for VS Code

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 Editor

Why Bruno?

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

Features

The extension provides a comprehensive set of features for API development and testing:

Core Features

  • 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

Advanced Capabilities

  • 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

Getting Started

  1. Install the extension from the VS Code Marketplace
  2. Click the Bruno icon in the Activity Bar (sidebar)
  3. Use Create Collection or Open Collection to get started
  4. Right-click folders and requests in the sidebar for context menu actions

Windows: OpenSSL required for E2E tests

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:e2e

The PATH change above applies only to the current terminal session. To make it permanent:

  1. Search Windows for Edit environment variables for your account.

  2. Under User variables, select Path and click Edit.

  3. Click New and add the folder containing openssl.exe:

    C:\Program Files\Git\usr\bin
    
  4. Save the changes and restart VS Code.

  5. Run openssl version to 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.

Related Projects

Community & Support

Contributing

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

License

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!

About

No description, website, or topics provided.

Resources

Stars

39 stars

Watchers

3 watching

Forks

Releases

Packages

Contributors

Languages