The Test Scenario Creation Agent is your AI assistant for turning plain-English instructions into structured, executable test cases. Whether you want to test CRUD flows, edge cases, or authorization logic—just describe it, and Qodex will do the heavy lifting.

Once your API collection is selected, you’re ready to start generating tests.

Generate Ts Ai Agent Gi

How It Works

  1. Go to the AI Agent interface

    Launch here

  2. Type what you want to test

    Example prompts:

    • “Test login with valid and invalid credentials”
    • “Check user creation without email”
    • “Verify if access is denied without token”
  3. AI Agent will respond with suggestions

    You’ll see proposed test scenarios and coverage types (positive, negative, auth, etc.).

  4. Click “Save” to confirm the test

    This will auto-create:

    • A new Test Scenario
    • One or more Test Cases inside it
    • Draft Test Rules (assertions, status codes, auth checks)
    • Support for API chaining
  5. Preview or modify the logic

    Click “Code” to see and edit the YAML/JS version of the test.

  6. Generate request data or rules if needed

    After saving, use the “Create Request Data” or rule options to extend or fine-tune tests.

Need to write scenarios manually?

You can also create test scenarios manually or combine manual + AI workflows. Qodex is flexible based on how you want to work.