svanoort / pyresttest

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

Default timeout causing issues #185

Closed surekasri closed 8 years ago

surekasri commented 8 years ago

Trying to execute a yaml file with pyresttest which issues HTTP requests. Because of the default timeout value(10s) set in tests.py, the operation is getting timed out.

spradeepv commented 8 years ago

@surekasri, if the actual call takes more time than the default timeout, you can increase the timeout value as follows:


On Wed, 30 Mar 2016 at 12:35 surekasri notifications@github.com wrote:

Trying to execute a yaml file with pyresttest which issues curl requests. Because of the default timeout value(10s) set in tests.py, the operation is getting timed out.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/svanoort/pyresttest/issues/185

surekasri commented 8 years ago

Thanks. That worked.

On Wed, Mar 30, 2016 at 2:58 PM, Pradeep Sathasivam < notifications@github.com> wrote:

@surekasri, if the actual call takes more time than the default timeout, you can increase the timeout value as follows:


  • config:
  • testset: "Quickstart app tests"
  • timeout: 600000

On Wed, 30 Mar 2016 at 12:35 surekasri notifications@github.com wrote:

Trying to execute a yaml file with pyresttest which issues curl requests. Because of the default timeout value(10s) set in tests.py, the operation is getting timed out.

— You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub https://github.com/svanoort/pyresttest/issues/185

— You are receiving this because you were mentioned. Reply to this email directly or view it on GitHub https://github.com/svanoort/pyresttest/issues/185#issuecomment-203344082

spradeepv commented 8 years ago

@surekasri : Can you please close the issue?

svanoort commented 8 years ago

@spradeepv Thank you! :)

spradeepv commented 8 years ago

@svanoort This is the third time I have answered for the same issue :). May we should mention it in the docs, if it is not already there.

Regards, Pradeep. S

On Wed, 30 Mar 2016 at 18:11 surekasri notifications@github.com wrote:

Closed #185 https://github.com/svanoort/pyresttest/issues/185.

— You are receiving this because you were mentioned.

Reply to this email directly or view it on GitHub https://github.com/svanoort/pyresttest/issues/185#event-608195977

svanoort commented 8 years ago

@spradeepv It is mentioned in the main README - https://github.com/svanoort/pyresttest#url-test-with-timeout - but no harm sprinking a few more mentions around since it comes up again and again.