openConnection(); int responseCode = huc.getResponseCode(); Assert.assertEquals(HttpURLConnection.HTTP_OK, responseCode);. När resursen inte finns 

8532