Skip to content

Enhance assertions. Should be able to count the number of keys in an object.  #4

Description

@joystickteam

if responseBody.data is an object, then something like the following should give me a count of the number of keys on that object. Currently this length functionality only works if the target is an array.

{
  "path": "responseBody.length",
  "assertion": "length = 4"
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions