tag1consulting / goose

Load testing framework, inspired by Locust
https://tag1.com/goose
Apache License 2.0
809 stars 70 forks source link

introduce `pretty` log format #340

Closed jeremyandrews closed 3 years ago

jeremyandrews commented 3 years ago

For example, here's a request log "line" that's pretty formatted:

GooseRequestMetric {
    elapsed: 2,
    raw: GooseRawRequest {
        method: Get,
        url: "http://apache/",
        headers: [],
        body: "",
    },
    name: "(Anon) front page",
    final_url: "http://apache/",
    redirected: false,
    response_time: 124,
    status_code: 200,
    success: true,
    update: false,
    user: 0,
    error: "",
    coordinated_omission_elapsed: 0,
    user_cadence: 0,
}