src/dazzle_back/pra/scenarios.py¶
Generated: 2026-03-30T04:38:46.577213+00:00
Commit: 615f1354a103
Language: python
Scope: dazzle_back
Purpose¶
Predefined test scenarios for PRA stress testing.
Each scenario configures a complete test run with: - Load profile - Generator configuration - Consumer setup - Success criteria
Key Exports¶
ScenarioTypeSuccessCriteriaStressScenariocreate_quick_scenariocreate_standard_scenariocreate_extended_scenariocreate_burst_scenariocreate_skewed_burst_scenariocreate_backpressure_scenariocreate_dlq_scenariocreate_replay_scenariocreate_failure_injection_scenariocreate_full_scenarioget_scenariolist_scenarioscreate_consumers
Dependencies¶
Imports¶
__future__.annotationscollections.abc.Callabledataclasses.dataclassdataclasses.fieldenum.StrEnumtyping.Anydazzle_back.metrics.MetricsCollectorconsumers.ConsumerGroupconsumers.create_backpressure_test_consumersconsumers.create_dlq_test_consumersconsumers.create_full_test_consumersconsumers.create_projection_test_consumersgenerator.GeneratorConfigprofiles.BurstProfileprofiles.FailureInjectionProfileprofiles.LoadProfileprofiles.ReplayProfileprofiles.SkewedBurstProfileprofiles.SteadyRampProfileprofiles.create_extended_test_profile
Event Interactions¶
None detected.
Invariants and Assumptions¶
No invariants documented.
Tests¶
tests/unit/test_vendor_mock_scenarios.pytests/unit/test_pra_cli.pytests/unit/test_pra_harness.pytests/unit/test_pra_metrics.pytests/unit/test_pra_load_generator.py
Notes¶
This page was automatically generated by tools/gen_reference_docs.py.