# Using the AI Chat Interface

Once a model is activated (either Groq or Local), the AI Chat Assistant tab becomes usable.

# What Can You Do?

In addition to natural language conversations, the AI Assistant currently supports the following operations:

  • Create Test Suites
  • Create Test Cases

For these operations, we strongly recommend using a high-capacity model (e.g., llama-3.3-70b-versatile from Groq or a powerful local model via Ollama) to ensure accurate and structured output.

# Predefined Prompt Templates

You can copy and paste these prompts directly into the chat and customize them as needed.

# Test Suite Creation

Create a test suite named <TEST_SUITE_NAME> with description <TEST_SUITE_DESCRIPTION> at <FIRST or LAST> position.

Example:

Create a test suite named User Management with description This suite handles user APIs at last position.

# Test Case Creation

# i. Plain Text Style
Create a test case under test suite named as <TEST_SUITE_NAME>
with summary <TEST_CASE_SUMMARY>
with URL ''
and request method as POST
and body type as text
and body content is
{
  "name": "xyz",
  "age": 03,
  "isActive": true
}

Example:

Create a test case under test suite named as User Management
with summary Add New User
with URL 'https://api.example.com/users'
and request method as POST
and body type as text
and body content is
{
  "name": "John Doe",
  "email": "john@example.com",
  "role": "admin"
}
# ii. CURL Style Prompt
Create a test case with summary '<TEST_CASE_NAME>' in test suite named '<TEST_SUITE_NAME>'
Use the below curl request for more details:
curl -X POST "" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer <your_token>" \
  -H "X-Custom-Header: some-value" \
  -d '{
        "testSuite": "testing",
        "summary": "AI ts testing",
        "status": "active",
        "key": "value"
      }'

Example:

Create a test case with summary 'Create New Product' in test suite named 'Product APIs'
Use the below curl request for more details:
curl -X POST "https://api.example.com/products" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer abcd1234" \
  -d '{
        "productId": "p001",
        "productName": "Test Product",
        "price": 99.99
      }'

# Notes

  • More operations (like validation generation, test data suggestion) will be supported in future updates.