k6-cucumber-steps API Reference - v2.0.10-alpha.0
    Preparing search index...

    Function k6TheResponsePropertyShouldHaveProperty

    • Asserts a nested property exists in the response.

      Parameters

      • parentPath: string

        JSON path to parent object

      • childProperty: string

        Child property name to check

      Returns void

      Then the k6 response property "data" should have property "user"