Skip to content

bug: does not properly validate assertion of status code #1

@ethanholz

Description

@ethanholz

Hello! When using probe to validate status codes, it will pass regardless of what the status code is set to. An example of this is running the following test case:

name: Writing Test
stages:
  - name: first stage
    request:
      url: "https://google.com"
      method: GET
    assert:
      status: 200

This test case should fail with a status code of 301 but instead you will receive a pass.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions