Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: step timeout #4

Closed
fsamin opened this issue Feb 18, 2017 · 0 comments
Closed

feat: step timeout #4

fsamin opened this issue Feb 18, 2017 · 0 comments
Assignees

Comments

@fsamin
Copy link
Member

fsamin commented Feb 18, 2017

Ability to set a timeout in second on every step. When timeout is over, cancel the step and testcase is failed.

Default should be no timeout

Expected yaml:

name: MyTestSuite HTTP
testcases:
- name: GET http testcase
  steps:
  - type: http
    method: GET
    url: https://eu.api.ovh.com/1.0/
    retry: 3
    delay: 2
    timeout: 1
    assertions:
    - result.body ShouldContainSubstring /dedicated/server
    - result.body ShouldContainSubstring /ipLoadbalancing
    - result.statuscode ShouldEqual 200
    - result.bodyjson.apis.apis0.path ShouldEqual /allDom
```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants