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

    Function k6TheResponseStatusShouldBe

    • Asserts the HTTP response status code.

      Parameters

      • expectedStatus: string

        Expected HTTP status code

      Returns void

      Then the k6 response status should be "200"
      Then the k6 response status should be "404"