Skip to main content

Overview

Async jobs allow you to run complex, long-running tests in the background. This is perfect for tests that take longer than typical API timeouts or need to run multiple complex operations.

Creating Async Jobs

From Templates

The most common way to create async jobs is through templates:

Direct Job Creation

Create jobs directly without templates:

Job Status Monitoring

Basic Status Check

Polling for Completion

Job Management

List Jobs

Job Details

Advanced Job Patterns

Job Chains

Run jobs sequentially where each depends on the previous:

Parallel Job Execution

Run multiple jobs simultaneously:

Job Retry Logic

Job Queues and Scheduling

Job Queue Management

Scheduled Jobs

Monitoring and Analytics

Job Performance Analytics

Real-time Dashboard

Best Practices

Job Lifecycle Management

  1. Set appropriate timeouts: Don’t let jobs run indefinitely
  2. Implement monitoring: Track job status and performance
  3. Handle failures gracefully: Implement retry logic and error recovery
  4. Clean up old jobs: Archive or delete completed jobs periodically
  5. Resource limits: Monitor and limit concurrent jobs

Performance Optimization

Error Handling and Recovery