Abort the PUT request to API when run unit test case