Hello,
I'm using external REST API for my app and timeout settings is set as default.(blank = 100 seconds)
When I was doing performance test on jMeter, the API shows timeout error at low probability.(like once every 100 times)
Message: "The request was aborted: The operation has timed out."
I firstly thought it's simply timeout error as it says, but the time elapsed for the API was 4000 ms(according to Integrations Log) although the threshold is set 100 seconds.I could not find the similar case on the past discussions.Is it because of load testing or some other reasons?
are you sure that the timeout is on the service itself? it could be a database timeout as well, e.g. when you update a entityrecord and that entityrecord is being locked because of a seconds jmeter session changing the same record.
Hans Dollen wrote:
I'm sure that's happening on the REST service and Database process like entity CRUD is not involved in the action that simply calls the external API.
C.S wrote:
Hi,
By default Rest API call has 100 sec timeout, you can see API execution logs into the Integration section of the monitoring tab in service center if API is taking more than 100 seconds.
Thanks,
Sachin
Sachin Mahawar wrote:
Thanks for reply,I think the problem here is API is not taking 100 seconds but it has ended as timeout error. and execution time was just 4 seconds. so maybe this error log does not describes what really happened...