Exploring Bruno API Testing: Quick Start Guide

Bruno is a Git-friendly and offline-first open-source API client aimed at revolutionizing the status quo represented by tools like Postman and Insomnia.Let’s start by creating your first request in Bruno.

Bruno is a Git-friendly and offline-first open-source API client aimed at revolutionizing the status quo represented by tools like Postman and Insomnia.

Bruno Screenshot.png
Exploring Bruno API Testing: What is Bruno and How to Download and Install Bruno
Bruno is a Git-friendly and offline-first open-source API client aimed at revolutionizing API development tools like Postman and Insomnia.

Creating a Request

Let’s start by creating your first request in Bruno.

  1. Select a Collection: From the sidebar, choose your desired collection.
  2. New Request: Click on the ··· button followed by "New Request" in the dropdown menu.
  3. Fill in Request Details: A dialog will appear where you can choose the type of your request (HTTP, GraphQL, or from cURL), name your request, set the HTTP verb, and specify the URL.
  4. Create the Request: Fill in the details and click "Create." That's it! You've successfully created your first request in Bruno. You can now add headers, query parameters, and a request body, or explore other available options.

Creating a Collection

If you have collections from other tools you'd like to import, you can check out the Migration & Imports section. Otherwise, let’s create a new collection:

  1. Create Collection: From the home screen or the top left corner of the app, select "Create Collection."
  2. Fill in Collection Details: A popup dialog will ask you to name your collection and choose its location in the file system. You can also edit the generated folder's name if needed.
  3. Finalize Collection: Click "Create." Congratulations! You've successfully created your first collection in Bruno. If you need to collaborate with your team, check the Collaboration and Versioning section.

Creating a Test

Testing your API is crucial to ensure it behaves as expected. Bruno supports two methods for writing tests: assertions to declaratively write tests and JavaScript.

To create a test:

  1. Open a Collection: Select a request within a collection.
  2. Assertions Tab: Click on the "Assertions" tab.
  3. Define Your Test: Enter an expression, operator, and value to check against.

Why Consider EchoAPI?

For those seeking an ultra-lightweight alternative to Postman, EchoAPI is a fantastic choice. EchoAPI supports features like API design, debugging, automated testing, and load testing without requiring a login. It also integrates with IntelliJ IDEA, VS Code, and Chrome.

An Alternative to Consider: EchoAPI.png

Benefits of EchoAPI:

  1. No login required
  2. Supports Scratch Pad
  3. Ultra lightweight
  4. 100% compatible with Postman script syntax

Explore EchoAPI for a streamlined API development experience.