Hello Dojo,
I'm working on a User-Defined API to Run Regression Tests. The Regression test group I'm working for takes around 2 minutes to run, however I always get a 400 response after 30 seconds. My guess is this is when DataMiner decides to timeout the response. Is this the case and is there anyway to configure it to be longer? I would like to be able to set this expected value when we make the call because this can change greatly between Regression Test Groups.
Thank you
Hi Bautista,
The 30s timeout appears to be the default setting for the HTTP client. Try adjusting the client's timeout configuration to see if that resolves the issue. However, for operations around to 2 min, you should also check whether the message broker's timeout needs to be increased accordingly.
Nevertheless, I would be very cautious with such long actions, as they may cause your API requests to queue up.
DataMiner UserDefinableApiEndpoint DxM | DataMiner Docs
Hope this helps!