svanoort / pyresttest

Python Rest Testing
Apache License 2.0
1.15k stars 325 forks source link

Setting timeout for the Curl call. #166

Closed uknth closed 8 years ago

uknth commented 8 years ago

I couldn't find a hook/documentation by which I could increase the default timeout of the curl call. The problem I have is, my API request is expected to take more than 10 secs, and the test case throws error because of it. I apologies in advance if I am missing something obvious here.

spradeepv commented 8 years ago

The following configuration would increase the timeout for each tests. Hope this helps.

---
- config:
    - testset: "Quickstart app tests"
    - timeout: 600000
uknth commented 8 years ago

Thanks, this worked!