Percentiles assertion in Rust Goose

34 Views Asked by At

I'm using Rust goose for performance test, and also an external lib called goose-egg to allow me to get some validation from the response.

async fn hello_endpoint(user: &mut GooseUser) -> TransactionResult {
    let goose = user.get("/hello").await?;
    let validate = &Validate::builder()
        .status(200)
        .text("we will implement /world")
        .build();
    validate_and_load_static_assets(user, goose, &validate).await?;
    Ok(())
}

What I found a limitation so far, coming from Scala Gatling, is that it seems in goose we cannot assert on the median, and percentiles for the response time.

Something that if you ask me is the most important part to have an automated performance test, since it is the only way to keep the SLA in a simulation.

Am I missing something here, or is the only thing we can measure the status code response?

0

There are 0 best solutions below