mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-02 06:55:08 +03:00
207 lines
4.2 KiB
Plaintext
207 lines
4.2 KiB
Plaintext
* Options:
|
|
* fail fast: true
|
|
* follow redirect: false
|
|
* insecure: false
|
|
* max redirect: 50
|
|
* retry: true
|
|
* retry max count: 5
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/not-found
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/not-found'
|
|
*
|
|
> GET /not-found HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 232 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 404 NOT FOUND
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 232
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
*
|
|
* Assert status code
|
|
* --> tests_failed/retry.hurl:2:6
|
|
* |
|
|
* 2 | HTTP 200
|
|
* | ^^^ actual value is <404>
|
|
* |
|
|
*
|
|
* Retry entry 1 (x1 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/not-found
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/not-found'
|
|
*
|
|
> GET /not-found HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 232 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 404 NOT FOUND
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 232
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
*
|
|
* Assert status code
|
|
* --> tests_failed/retry.hurl:2:6
|
|
* |
|
|
* 2 | HTTP 200
|
|
* | ^^^ actual value is <404>
|
|
* |
|
|
*
|
|
* Retry entry 1 (x2 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/not-found
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/not-found'
|
|
*
|
|
> GET /not-found HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 232 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 404 NOT FOUND
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 232
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
*
|
|
* Assert status code
|
|
* --> tests_failed/retry.hurl:2:6
|
|
* |
|
|
* 2 | HTTP 200
|
|
* | ^^^ actual value is <404>
|
|
* |
|
|
*
|
|
* Retry entry 1 (x3 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/not-found
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/not-found'
|
|
*
|
|
> GET /not-found HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 232 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 404 NOT FOUND
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 232
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
*
|
|
* Assert status code
|
|
* --> tests_failed/retry.hurl:2:6
|
|
* |
|
|
* 2 | HTTP 200
|
|
* | ^^^ actual value is <404>
|
|
* |
|
|
*
|
|
* Retry entry 1 (x4 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/not-found
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/not-found'
|
|
*
|
|
> GET /not-found HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 232 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.0 404 NOT FOUND
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 232
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
*
|
|
* Assert status code
|
|
* --> tests_failed/retry.hurl:2:6
|
|
* |
|
|
* 2 | HTTP 200
|
|
* | ^^^ actual value is <404>
|
|
* |
|
|
*
|
|
* Retry entry 1 (x5 pause 100 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Cookie store:
|
|
*
|
|
* Request:
|
|
* GET http://localhost:8000/not-found
|
|
*
|
|
* Request can be run with the following curl command:
|
|
* curl 'http://localhost:8000/not-found'
|
|
*
|
|
> GET /not-found HTTP/1.1
|
|
> Host: localhost:8000
|
|
> Accept: */*
|
|
> User-Agent: hurl/~~~
|
|
>
|
|
* Response: (received 232 bytes in ~~ ms)
|
|
*
|
|
< HTTP/1.0 404 NOT FOUND
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 232
|
|
< Server: Flask Server
|
|
< Date: ~~~
|
|
<
|
|
*
|
|
*
|
|
* Retry max count reached, no more retry
|
|
error: Assert status code
|
|
--> tests_failed/retry.hurl:2:6
|
|
|
|
|
2 | HTTP 200
|
|
| ^^^ actual value is <404>
|
|
|
|
|
|