Creating an API Test Case

This guide provides step-by-step instructions on creating a new API test case in Robonito.

Organizing Test Cases

In Robonito, test cases are logically organized within Test Suites. A Test Suite serves as a container grouping related test scenarios together (e.g., "User Authentication Tests" or "Checkout Flow"). Before creating an API test, ensure you have an appropriate suite ready or plan to create one during the process.

Step-by-Step Guide

Follow these simple steps to create a brand-new API test case:

  1. Select or Create the Target Suite
    Click the Target Suite dropdown. You can either select an existing suite or type a new name to dynamically generate a brand-new suite for this test case.
    Target Suite Selection

  2. Define the Test Case Name
    In the Test case name field, provide a clear, descriptive title (e.g., Verify User Login Success). A good name helps your team understand the scenario at a glance.
    Test Case Name Field

  3. Choose the Test Type
    Under the test type selection, choose API. This tells Robonito to load the API automation workspace, presenting you with the correct HTTP configuration options.
    API Test Type Selection

  4. Provide a Description (Optional but Recommended)
    Add a brief description explaining the scope and expected outcome of the test. Documenting the purpose fosters better team collaboration and maintenance.

  5. Finalize Creation
    Click the Create button. Your new API test case is now saved and ready! You can proceed to configure the endpoint, define assertions, and execute the test.