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

    Function k6TheResponsePropertyShouldBe

    • Asserts a response property equals a specific value.

      Parameters

      • propertyPath: string

        JSON path to property (e.g., "id", "data.user.name")

      • expectedValue: string

        Expected value

      Returns void

      Then the k6 response property "id" should be "1"