Qodex lets you generate API test scenarios directly through natural language prompts using the built-in AI Agent — no scripting or manual setup required.

Generate Ts Ai Agent Gi

How it Works

Once your API collection is uploaded or discovered (via Postman, Swagger, or SDK), Qodex instantly allows you to generate functional, regression, and security test cases through the AI Agent.

Steps

  1. Go to the AI Agent

    Visit app.qodex.ai/ai-agent

  2. Select Your API Collection

    Use the top-left dropdown to choose the collection you want to test

  3. Describe the scenario in plain English

    Example prompts:

    • “Test login with valid and invalid credentials”
    • “Check that signup fails without email”
    • “Verify that only admins can access the /users endpoint”
  4. AI Response

    The AI will:

    • Break the prompt into one or more test scenarios
    • Chain prerequisite APIs (like login before protected routes)
    • Propose test rules based on expected outcomes
    • Ask follow-up questions if needed
  5. Click “Save”

    This will:

    • Add the scenario to your project
    • Auto-generate request payloads and rules
    • Make the scenario visible in the Test Scenarios tab
  6. Review, edit or run the scenario

    • You can tweak the test logic
    • Or run it right away using the Run button