Skip to content

Add assert that all collection values are equal to specified value #1321

Open
@claytonneal

Description

@claytonneal

Problem to solve

when using jsonpath such as "$.result..hash" i will get a collection of hashes
i want to assert that all values in the collection are equal to a specified value

Proposal

The == predicate can be used on a collection to check all values in the collection
e.g.
"$.result..hash" == {{hash}}
will check all values in the collection are equal to {{hash}}

Additional context and resources

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