Skip to content

Delay option doesn't seem to work with POST http method #4412

@AdmiralRazorbeard

Description

@AdmiralRazorbeard

What is the current bug behavior?

Maybe I'm missing something with the syntax but I can't achieve a POST with a delay

Steps to reproduce

GET https://api.agify.io/?name=meelad
[Options]
delay: 10s
HTTP 200

This work, no problem with GET

Attempt 1:

POST {{my_base_url}}/something
authorization: {{bearer_token}}
Content-Type: application/json
{
  "my": "body",
}
[Options]
delay: 10s
HTTP 201

the HTTP method <> is not valid. Valid values are GET, HEAD, POST, PUT, DELETE, CONNECT, OPTIONS, TRACE, PATCH
Attempt 2:

POST {{my_base_url}}/something
authorization: {{bearer_token}}
Content-Type: application/json
[Options]
delay: 10s
HTTP 201
{
  "my": "body",
}

There is a delay but no body is sent

What am I missing ?

Execution context

  • Hurl Version (hurl --version): 7.0.0

Metadata

Metadata

Assignees

No one assigned

    Labels

    documentationImprovements or additions to documentation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions