mirror of
https://github.com/Orange-OpenSource/hurl.git
synced 2024-12-24 03:21:40 +03:00
90576a9620
This uses the previously created get_non_default_options instead of inline logic when logging runner options. Also fixes integration tests.
119 lines
2.3 KiB
Plaintext
119 lines
2.3 KiB
Plaintext
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Entry options:
|
|
* retry: 2
|
|
* retry-interval: 0
|
|
*
|
|
* 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 207 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.1 404 NOT FOUND
|
|
< Server: Werkzeug/~~~ Python/~~~
|
|
< Date: ~~~
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 207
|
|
< Server: Flask Server
|
|
< Connection: close
|
|
<
|
|
*
|
|
* Assert status code
|
|
* --> tests_failed/retry_option.hurl:5:6
|
|
* |
|
|
* 5 | HTTP 200
|
|
* | ^^^ actual value is <404>
|
|
* |
|
|
*
|
|
* Retry entry 1 (x1 pause 0 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Entry options:
|
|
* retry: 2
|
|
* retry-interval: 0
|
|
*
|
|
* 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 207 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.1 404 NOT FOUND
|
|
< Server: Werkzeug/~~~ Python/~~~
|
|
< Date: ~~~
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 207
|
|
< Server: Flask Server
|
|
< Connection: close
|
|
<
|
|
*
|
|
* Assert status code
|
|
* --> tests_failed/retry_option.hurl:5:6
|
|
* |
|
|
* 5 | HTTP 200
|
|
* | ^^^ actual value is <404>
|
|
* |
|
|
*
|
|
* Retry entry 1 (x2 pause 0 ms)
|
|
* ------------------------------------------------------------------------------
|
|
* Executing entry 1
|
|
*
|
|
* Entry options:
|
|
* retry: 2
|
|
* retry-interval: 0
|
|
*
|
|
* 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 207 bytes in ~~~ ms)
|
|
*
|
|
< HTTP/1.1 404 NOT FOUND
|
|
< Server: Werkzeug/~~~ Python/~~~
|
|
< Date: ~~~
|
|
< Content-Type: text/html; charset=utf-8
|
|
< Content-Length: 207
|
|
< Server: Flask Server
|
|
< Connection: close
|
|
<
|
|
*
|
|
* Retry max count reached, no more retry
|
|
*
|
|
error: Assert status code
|
|
--> tests_failed/retry_option.hurl:5:6
|
|
|
|
|
5 | HTTP 200
|
|
| ^^^ actual value is <404>
|
|
|
|
|
|