Home / Function/ test_sync_receiving_large_payload() — fastapi Function Reference

test_sync_receiving_large_payload() — fastapi Function Reference

Architecture documentation for the test_sync_receiving_large_payload() function in test_general_performance.py from the fastapi codebase.

Entity Profile

Dependency Diagram

graph TD
  973b8f4e_28f7_196c_f81f_5dfe42c2aaf3["test_sync_receiving_large_payload()"]
  f301437d_898d_b160_f85f_b6788c3d5890["test_general_performance.py"]
  973b8f4e_28f7_196c_f81f_5dfe42c2aaf3 -->|defined in| f301437d_898d_b160_f85f_b6788c3d5890
  20ad6e00_fec4_f547_9606_3f5d2fe52dbd["_bench_post_json()"]
  973b8f4e_28f7_196c_f81f_5dfe42c2aaf3 -->|calls| 20ad6e00_fec4_f547_9606_3f5d2fe52dbd
  style 973b8f4e_28f7_196c_f81f_5dfe42c2aaf3 fill:#6366f1,stroke:#818cf8,color:#fff

Relationship Graph

Source Code

tests/benchmarks/test_general_performance.py lines 291–299

def test_sync_receiving_large_payload(benchmark, client: TestClient) -> None:
    status_code, body = _bench_post_json(
        benchmark,
        client,
        "/sync/large-receive",
        json=LARGE_PAYLOAD,
    )
    assert status_code == 200
    assert body == b'{"received":300}'

Domain

Subdomains

Frequently Asked Questions

What does test_sync_receiving_large_payload() do?
test_sync_receiving_large_payload() is a function in the fastapi codebase, defined in tests/benchmarks/test_general_performance.py.
Where is test_sync_receiving_large_payload() defined?
test_sync_receiving_large_payload() is defined in tests/benchmarks/test_general_performance.py at line 291.
What does test_sync_receiving_large_payload() call?
test_sync_receiving_large_payload() calls 1 function(s): _bench_post_json.

Analyze Your Own Codebase

Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.

Try Supermodel Free