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

    Function k6TheResponsePropertyShouldBeAlias

    • Asserts a response property matches a stored alias value.

      Parameters

      • propertyPath: string

        JSON path to property

      • alias: string

        Alias name to compare against

      Returns void

      Then the k6 response property "userName" should be alias "expectedUsername"