1.5 KiB
1.5 KiB
Stress Test Policies
This directory contains example policy files for the stress_enhanced.py orchestrator. Each file defines a specific testing strategy, organized by task type.
Authentication & Info.json Policies (fetch_only mode)
These policies focus on testing the info.json generation service.
info_json_rate_limit.yaml: Tests the service with a focus on rate limits and client rotation.auth_scenarios.yaml: Contains specific scenarios for fetching info.json files, such as using a low-level command template for full control.
Download Policies (download_only mode)
These policies focus on testing the download infrastructure using pre-existing info.json files.
download_throughput.yaml: Tests download/CDN infrastructure, focusing on throughput and error handling.download_scenarios.yaml: Contains specific scenarios for downloading, such as testing random formats from a directory of info.json files.
Full-Stack Policies (full_stack mode)
These policies test the entire workflow from info.json generation through to downloading.
regular_testing_scenarios.yaml: Contains a collection of common, end-to-end testing scenarios, including:mweb_per_request_profile: A high-volume test that uses a new profile for every request.mixed_client_profile_pool: A complex test that alternates clients and reuses profiles from a pool.
tv_pipeline_scenarios.yaml: A two-stage pipeline for fetching with the TV client and then continuously downloading.
These files can be used as templates for creating custom test scenarios.