mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-19 08:42:06 +03:00
274 lines
6.1 KiB
Plaintext
274 lines
6.1 KiB
Plaintext
* Options:
|
|
* fail fast: true
|
|
* follow redirect: false
|
|
* insecure: false
|
|
* max redirect: 50
|
|
* retry: false
|
|
* retry max count: 10
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* POST http://localhost:8000/jobs
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/jobs' -X POST
|
|
*
|
|
> POST /jobs HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 60 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 201 CREATED
|
|
< Content-Type: application/json
|
|
< Content-Length: 60
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
warning: tests_ok/option_retry.hurl:4:1 'HTTP/*' keyword is deprecated, please use 'HTTP' instead
|
|
* Captures:
|
|
* job_id: ~~~
|
|
*
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 2
|
|
*
|
|
* Entry options:
|
|
* retry: true
|
|
* retry-interval: 100
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/jobs/~~~
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/jobs/~~~'
|
|
*
|
|
> GET /jobs/~~~ HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 60 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 200 OK
|
|
< Content-Type: application/json
|
|
< Content-Length: 60
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
warning: tests_ok/option_retry.hurl:17:1 'HTTP/*' keyword is deprecated, please use 'HTTP' instead
|
|
*
|
|
* Assert failure
|
|
* --> tests_ok/option_retry.hurl:19:0
|
|
* |
|
|
* 19 | jsonpath "$.state" == "COMPLETED"
|
|
* | actual: string <RUNNING>
|
|
* | expected: string <COMPLETED>
|
|
* |
|
|
*
|
|
* Retry entry 2 (x1 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 2
|
|
*
|
|
* Entry options:
|
|
* retry: true
|
|
* retry-interval: 100
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/jobs/~~~
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/jobs/~~~'
|
|
*
|
|
> GET /jobs/~~~ HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 60 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 200 OK
|
|
< Content-Type: application/json
|
|
< Content-Length: 60
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
warning: tests_ok/option_retry.hurl:17:1 'HTTP/*' keyword is deprecated, please use 'HTTP' instead
|
|
*
|
|
* Assert failure
|
|
* --> tests_ok/option_retry.hurl:19:0
|
|
* |
|
|
* 19 | jsonpath "$.state" == "COMPLETED"
|
|
* | actual: string <RUNNING>
|
|
* | expected: string <COMPLETED>
|
|
* |
|
|
*
|
|
* Retry entry 2 (x2 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 2
|
|
*
|
|
* Entry options:
|
|
* retry: true
|
|
* retry-interval: 100
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/jobs/~~~
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/jobs/~~~'
|
|
*
|
|
> GET /jobs/~~~ HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 60 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 200 OK
|
|
< Content-Type: application/json
|
|
< Content-Length: 60
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
warning: tests_ok/option_retry.hurl:17:1 'HTTP/*' keyword is deprecated, please use 'HTTP' instead
|
|
*
|
|
* Assert failure
|
|
* --> tests_ok/option_retry.hurl:19:0
|
|
* |
|
|
* 19 | jsonpath "$.state" == "COMPLETED"
|
|
* | actual: string <RUNNING>
|
|
* | expected: string <COMPLETED>
|
|
* |
|
|
*
|
|
* Retry entry 2 (x3 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 2
|
|
*
|
|
* Entry options:
|
|
* retry: true
|
|
* retry-interval: 100
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/jobs/~~~
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/jobs/~~~'
|
|
*
|
|
> GET /jobs/~~~ HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 60 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 200 OK
|
|
< Content-Type: application/json
|
|
< Content-Length: 60
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
warning: tests_ok/option_retry.hurl:17:1 'HTTP/*' keyword is deprecated, please use 'HTTP' instead
|
|
*
|
|
* Assert failure
|
|
* --> tests_ok/option_retry.hurl:19:0
|
|
* |
|
|
* 19 | jsonpath "$.state" == "COMPLETED"
|
|
* | actual: string <RUNNING>
|
|
* | expected: string <COMPLETED>
|
|
* |
|
|
*
|
|
* Retry entry 2 (x4 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 2
|
|
*
|
|
* Entry options:
|
|
* retry: true
|
|
* retry-interval: 100
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/jobs/~~~
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/jobs/~~~'
|
|
*
|
|
> GET /jobs/~~~ HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 62 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 200 OK
|
|
< Content-Type: application/json
|
|
< Content-Length: 62
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
warning: tests_ok/option_retry.hurl:17:1 'HTTP/*' keyword is deprecated, please use 'HTTP' instead
|
|
*
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 3
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* DELETE http://localhost:8000/jobs/~~~
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/jobs/~~~' -X DELETE
|
|
*
|
|
> DELETE /jobs/~~~ HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 0 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 200 OK
|
|
< Content-Type: application/json
|
|
< Server: Flask Server
|
|
< Content-Length: 0
|
|
< Date: ~~~
|
|
<
|
|
warning: tests_ok/option_retry.hurl:24:1 'HTTP/*' keyword is deprecated, please use 'HTTP' instead
|
|
*
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 4
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/jobs/~~~
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/jobs/~~~'
|
|
*
|
|
> GET /jobs/~~~ HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 42 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 404 NOT FOUND
|
|
< Content-Type: application/json
|
|
< Content-Length: 42
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
warning: tests_ok/option_retry.hurl:27:1 'HTTP/*' keyword is deprecated, please use 'HTTP' instead
|
|
*
|