def http_stress_test(event: ExecutionBaseEvent, action_params: StressTestParams):
    """
    Run an http stress test and send the results
    """
    # TODO: remove timeout?
    output = RobustaJob.run_simple_job("williamyeh/hey", f"/hey -n {action_params.n} {action_params.url}", 120)
    finding = Finding(
        title=f"Done running stress test with {action_params.n} http requests for url {action_params.url}",
        source=FindingSource.MANUAL,
        aggregation_key="HttpStressTest",
        finding_type=FindingType.REPORT,
        failure=False,
    )
    if output:
        finding.add_enrichment([FileBlock("result.txt", output.encode())], enrichment_type=EnrichmentType.text_file,
                               title="HTTP Tests Results")
    event.add_finding(finding)

    Run an http stress test and send the results
    
playbooks/robusta_playbooks/stress_tests.py