# HTTP login flow — runs in 5 languages test: "Login returns a session token" when: POST: "/api/login" body: { email: "dev@testml.org" } then: status: 200 json.session: "/^sess_[a-z0-9]{16}$/"
HTTP login flow
Hits a real endpoint. Checks the status code. Matches the session ID against a regex. Works in every supported runtime.