Skip to content

Suggest to support retry strategy on verification step #507

@JohnNiang

Description

@JohnNiang

Description:

See https://www.rfc-editor.org/rfc/rfc9110#status.409 for more.

Below is an example of test case with retry strategy:

- name: recover
  request:
    api: /content.halo.run/v1alpha1/posts/{{(index .listPosts.items 0).post.metadata.name}}
    method: DELETE
  expect:
    statusCode: 200
  retry:
    on:
      statusCode: 409
    count: 10
    interval: 10s

[optional Relevant Links:]

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions