Skip to content

Add option to always print response body #1745

Open
@Lythenas

Description

@Lythenas

Problem to solve

I would like to see all response bodies (not just the last). For me this is most useful with --verbose but it might also be useful without that flag.

I know that --very-verbose already prints all response bodies but that has a lot more other information that I don't really want or need to see (like the timing, dns and ssl debug logs).

Additionally it might be good to also add this to the html and json output.

Proposal

I would suggest adding a flag (maybe --all-output) that enables printing all response bodies.

Additional context and resources

This is mostly useful for debugging (or retracing) a failed test in cases where asserts and captures can't easily do that.

An alternative would be to add a capture for the entire body after every request in hurl (which would also be displayed with --verbose).

Tasks to complete

  • ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions