test_async_receiving_large_payload() — fastapi Function Reference
Architecture documentation for the test_async_receiving_large_payload() function in test_general_performance.py from the fastapi codebase.
Entity Profile
Dependency Diagram
graph TD 12869fbb_b8cb_4b62_3f6d_b81926cf5d30["test_async_receiving_large_payload()"] f301437d_898d_b160_f85f_b6788c3d5890["test_general_performance.py"] 12869fbb_b8cb_4b62_3f6d_b81926cf5d30 -->|defined in| f301437d_898d_b160_f85f_b6788c3d5890 20ad6e00_fec4_f547_9606_3f5d2fe52dbd["_bench_post_json()"] 12869fbb_b8cb_4b62_3f6d_b81926cf5d30 -->|calls| 20ad6e00_fec4_f547_9606_3f5d2fe52dbd style 12869fbb_b8cb_4b62_3f6d_b81926cf5d30 fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
tests/benchmarks/test_general_performance.py lines 302–310
def test_async_receiving_large_payload(benchmark, client: TestClient) -> None:
status_code, body = _bench_post_json(
benchmark,
client,
"/async/large-receive",
json=LARGE_PAYLOAD,
)
assert status_code == 200
assert body == b'{"received":300}'
Domain
Subdomains
Defined In
Calls
Source
Frequently Asked Questions
What does test_async_receiving_large_payload() do?
test_async_receiving_large_payload() is a function in the fastapi codebase, defined in tests/benchmarks/test_general_performance.py.
Where is test_async_receiving_large_payload() defined?
test_async_receiving_large_payload() is defined in tests/benchmarks/test_general_performance.py at line 302.
What does test_async_receiving_large_payload() call?
test_async_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