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

    Function k6TheResponseShouldContain

    • Asserts that the response contains a specific field.

      Parameters

      • field: string

        Field name to check

      Returns void

      Then the k6 response should contain "name"