svanoort / pyresttest

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

Operation timed out after 10000 milliseconds with 0 bytes received #181

Closed danghoaidanh closed 8 years ago

danghoaidanh commented 8 years ago

Hello Pytesttest team,

Thanks for your help!

The failure symptom is that "Operation timed out after 10000 milliseconds with 0 bytes received". Is there any way to wait for the response from server?

+++++++++++++++LOG++++++++++++++ ERROR:Test Failed: Create new domain after getting the access token URL=thisIsUrl Group=Account HTTP Status Code: None ERROR:Test Failure, failure type: Curl Exception, Reason: Curl Exception: (28, 'Operation timed out after 10000 milliseconds with 0 bytes received') ERROR:Validator/Error details:Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pyresttest/resttest.py", line 351, in run_test curl.perform() # Run the actual call error: (28, 'Operation timed out after 10000 milliseconds with 0 bytes received') +++++++++++END OF LOG+++++++++++ Thanks, Danh

spradeepv commented 8 years ago

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


I hope this is what you were looking for!!

Regards, Pradeep. S

On Wed, 23 Mar 2016 at 09:19 danghoaidanh notifications@github.com wrote:

Hello Pytesttest team,

Thanks for your help!

The failure symptom is that "Operation timed out after 10000 milliseconds with 0 bytes received". Is there any way to wait for the response from server?

+++++++++++++++LOG++++++++++++++ ERROR:Test Failed: Create new domain after getting the access token URL=thisIsUrl Group=Account HTTP Status Code: None ERROR:Test Failure, failure type: Curl Exception, Reason: Curl Exception: (28, 'Operation timed out after 10000 milliseconds with 0 bytes received') ERROR:Validator/Error details:Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/pyresttest/resttest.py", line 351, in run_test curl.perform() # Run the actual call error: (28, 'Operation timed out after 10000 milliseconds with 0 bytes received') +++++++++++END OF LOG+++++++++++ Thanks, Danh

— 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/181

danghoaidanh commented 8 years ago

Hello spradeepv,

Thanks!

I'll try now and let you know the result.

BR, Danh

danghoaidanh commented 8 years ago

It works thanks!

svanoort commented 8 years ago

Thank you, @spradeepv !