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

    Function k6IStoreResponseAs

    • Stores a response property with a custom alias for later use.

      Parameters

      • propertyPath: string

        JSON path to extract (e.g., "data.accessToken")

      • alias: string

        Custom alias name for storage

      Returns void

      And I k6 store response "data.accessToken" as "authToken"