Files
aio-01d4-stu/Last3Mon/73/answers/04-lab01-gates.txt
T

56 lines
3.1 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
$ uv run tools/flow.py call my-secure requests/too-long.json -v
HTTP 400 · 0.0s
→ request POST /webhook/my-secure
{
"question": "VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요. VPN이 끊겨요.",
"user": "이준호"
}
← response HTTP 400
{
"error": "invalid request",
"codes": [
"too_long"
]
}
$ uv run tools/flow.py bench my-secure requests/bad-user.json -n 5
POST http://localhost:5678/webhook/my-secure × 5
✘ #1 · HTTP 400 · 0.04s ·
✘ #2 · HTTP 400 · 0.06s ·
✘ #3 · HTTP 400 · 0.03s ·
✘ #4 · HTTP 400 · 0.06s ·
✘ #5 · HTTP 400 · 0.03s ·
p50 0.04s · p95 0.06s · max 0.06s · failures 5/5
report: runs/bench-my-secure-20261026-202836.json
$ uv run tools/flow.py bench my-secure requests/injection-ko.json -n 5
POST http://localhost:5678/webhook/my-secure × 5
✔ #1 · HTTP 200 · 0.04s · route=차단
✔ #2 · HTTP 200 · 0.06s · route=차단
✔ #3 · HTTP 200 · 0.04s · route=차단
✔ #4 · HTTP 200 · 0.05s · route=차단
✔ #5 · HTTP 200 · 0.03s · route=차단
p50 0.04s · p95 0.06s · max 0.06s · failures 0/5
report: runs/bench-my-secure-20261026-202836.json
$ uv run tools/flow.py bench my-secure requests/faq-vpn.json -n 5
POST http://localhost:5678/webhook/my-secure × 5
✔ #1 · HTTP 200 · 2.44s · route=자동 답변
✔ #2 · HTTP 200 · 2.33s · route=자동 답변
✔ #3 · HTTP 200 · 2.10s · route=자동 답변
✔ #4 · HTTP 200 · 2.23s · route=자동 답변
✔ #5 · HTTP 200 · 2.16s · route=자동 답변
p50 2.23s · p95 2.44s · max 2.44s · failures 0/5
report: runs/bench-my-secure-20261026-202847.json
$ uv run tools/flow.py bench open-it-agent requests/injection-ko.json -n 5
POST http://localhost:5678/webhook/open-it-agent × 5
✔ #1 · HTTP 200 · 1.08s · route=자동 답변
✔ #2 · HTTP 200 · 1.07s · route=자동 답변
✔ #3 · HTTP 200 · 1.05s · route=자동 답변
✔ #4 · HTTP 200 · 1.09s · route=자동 답변
✔ #5 · HTTP 200 · 1.08s · route=자동 답변
p50 1.08s · p95 1.09s · max 1.09s · failures 0/5
report: runs/bench-open-it-agent-20261026-202853.json