diff --git a/src/test/java/itest/UploadRecordingTest.java b/src/test/java/itest/UploadRecordingTest.java index 78b094c47..a608ad13e 100644 --- a/src/test/java/itest/UploadRecordingTest.java +++ b/src/test/java/itest/UploadRecordingTest.java @@ -64,6 +64,7 @@ public static void createRecording() throws Exception { "/api/v1/targets/%s/recordings", getSelfReferenceConnectUrlEncoded())) .basicAuthentication("user", "pass") + .followRedirects(true) .sendForm( form, ar -> { @@ -88,6 +89,7 @@ public static void deleteRecording() throws Exception { "/api/v1/targets/%s/recordings/%s", getSelfReferenceConnectUrlEncoded(), RECORDING_NAME)) .basicAuthentication("user", "pass") + .followRedirects(true) .send( ar -> { if (assertRequestStatus(ar, deleteRespFuture)) { @@ -113,6 +115,7 @@ public void shouldLoadRecordingToDatasource() throws Exception { "/api/v1/targets/%s/recordings/%s/upload", getSelfReferenceConnectUrlEncoded(), RECORDING_NAME)) .basicAuthentication("user", "pass") + .followRedirects(true) .send( ar -> { if (assertRequestStatus(ar, uploadRespFuture)) {