Search This Blog

Sunday, July 15, 2018

Getting OperationCancelledException in your c# WebApi tests, using Advanced Rest Client as the http client tool ?

Make sure the Request Behavior -> Request Timeout setting suits your needs.
I was making a request that takes around a minute to return from the database, but Advanced Rest Client was quitting it before my Web Api project could return the data, because its Request Timeout setting was too small.

No comments:

Post a Comment