Investigate Unknown Host Exception at performance tests

Description

Sometimes performance tests are failing because of Unknown Host Exception error thrown during testing. There were cases with 500 error for Stock Management, Fulfillment and Requisition services. As a scope of this ticket, we should investigate what causes those errors.

*Example: * { "timestamp" : "2019-11-21T11:41:38.177+0000", "status" : 500, "error" : "Internal Server Error", "exception" : "org.springframework.web.client.ResourceAccessException", "message" : "I/O error on POST request for \"https://perftest.openlmis.org/api/oauth/check_token\": perftest.openlmis.org; nested exception is java.net.UnknownHostException: perftest.openlmis.org", "path" : "/api/requisitions/requisitionsForApproval" }

Acceptance criteria: the cause of 500 Unknown Host Exception is identified and fixed.

Note: this error most likely isn't happening at Reference Data perfomance tests, and all tests mentioned above take place after Reference Data. Also, there are other server-connected issues like Bad Gateway, Gateway Timeout, Jedis Connection Exception errors.

Status

Assignee

Unassigned

Reporter

Paweł Pinker

Labels

None

Priority

Major
Configure