Skip to content

Feature: --assert-time to assert response latency #42

Description

@korya

Problem

The tool already measures and prints request duration:

[+] PASSED 1.469625ms

…but there is no way to assert on it. --max-time is a hard timeout that produces a transport error, not a latency assertion with a clean diagnostic.

Proposed

--assert-time duration   Assert the response arrived within the given duration

Failure output would then read:

- time: expected <= 500ms, got 1.203s

Why it matters

Latency SLOs are a routine thing to check in monitoring and post-deploy validation, and the measurement is already in hand — this is mostly plumbing.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions