Create method to call the API to update the last checked parameter after the test run or timeout