# Multiple Test Cases Editing

# Methods to Access Batch Editor

# Through Test Suite View

  1. Navigate to your test suite
  2. Find your test in the list
  3. Click "Details" button
  4. The JSON editor will open
  5. Directly edit your test case
  6. Click on save btn on bottom right corner
  7. Click on "Edit all tests".
  8. Review your changes and click on update.

# Working with Variables in Batch Updates

# Using Variables

  1. Access variables through the "Variables" button
  2. Variables are available across all selected tests
  3. Use consistent variable naming across tests

# Managing Variables During Batch Edits

  1. Variables can be modified to affect multiple tests
  2. New variables can be added during batch editing
  3. Variable changes apply to all selected tests

# Batch Editing Steps

# 1. Understanding the Batch Interface

{
  "method": "GET",
  "url": "/endpoint",
  "headers": {
    "Authorization": "Bearer "
  },
  "query_params": {
    "page_size": ""
  }
}

# 2. Making Batch Changes

# Enable Batch Mode

  1. Locate "Update All Test Cases" toggle
  2. Switch it on for batch updates
  3. Confirm the toggle is enabled

# Edit Common Elements

  1. HTTP Methods

    • Update method consistently
    • Apply to matching test types
    • Verify method appropriateness
  2. URLs and Endpoints

    • Use variables for common base URLs
    • Update endpoint patterns
    • Maintain URL structure
  3. Query Parameters

    • Modify shared parameters
    • Use variables for common values
    • Ensure consistent formatting
  4. Request Bodies

    • Update common structures
    • Apply template patterns
    • Use variables for shared data

# 3. Review and Save Changes

# Comparison View

  1. Review side-by-side differences
    • Red: Removed content
    • Green: Added content
  2. Navigate through pages
  3. Verify changes across tests

# Applying Updates

  1. Click "Update" button
  2. Confirm batch application
  3. Wait for success notification
  4. Verify changes in test list

# Tips for Success

# 1. Before Batch Updates

  • Review current configurations
  • Check available variables
  • Plan consistent changes
  • Document update strategy

# 2. During Updates

  • Monitor batch progress
  • Use variables effectively
  • Maintain JSON formatting
  • Test representative samples

# 3. After Updates

  • Run affected tests
  • Verify all changes
  • Document updates
  • Check for warnings

# Common Issues and Solutions

# 1. Syntax Consistency

  • Check JSON formatting
  • Verify variable usage
  • Ensure consistent structure
  • Validate across tests

# 2. Batch Update Failures

  • Review error messages
  • Check individual tests
  • Verify variable validity
  • Ensure consistent formats

# 3. Variable Resolution

  • Verify variable availability
  • Check variable values
  • Confirm proper syntax
  • Test variable resolution

# Pro Tips

# 1. Efficient Batch Editing

  • Use variables for common values
  • Group similar tests
  • Apply consistent patterns
  • Track batch changes

# 2. Best Practices

  • Maintain consistent formatting
  • Use clear variable names
  • Document major changes
  • Test systematically

# 3. Troubleshooting

  • Monitor batch operations
  • Check execution logs
  • Verify variable usage
  • Address failures promptly

# 4. Quality Control

  • Test sample sets
  • Verify critical functions
  • Monitor performance
  • Document all changes

# Using Update All Test Cases Feature

# When to Use

  • Similar test structures
  • Common variable updates
  • Consistent pattern changes
  • Template applications

# Best Practices

  1. Preparation

    • Review affected tests
    • Plan variable usage
    • Document changes
    • Backup configurations
  2. Execution

    • Enable toggle
    • Apply changes systematically
    • Monitor progress
    • Verify updates
  3. Validation

    • Test representative samples
    • Check variable resolution
    • Verify functionality
    • Document results