From c257eea0453dfb484cf4f7a68ccc04a472d08bb7 Mon Sep 17 00:00:00 2001 From: Christof Rabensteiner Date: Tue, 18 Feb 2020 14:04:27 +0100 Subject: SSL Tests: Fix Routes --- src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java b/src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java index 4158aec..072294a 100644 --- a/src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java +++ b/src/test/java/at/gv/egiz/moazs/ITSSLMsgClientTest.java @@ -72,7 +72,7 @@ public class ITSSLMsgClientTest { public void sendValidMessage() throws IOException { var request = loadFromFile("validDeliveryRequest.xml"); - var httpServiceURL = "http://localhost:8081/services/DeliveryRequest"; + var httpServiceURL = "http://localhost:8081/services/app2zuse"; var clientParams = clientTypeBuilder() .withURL(httpServiceURL) .withConnectionTimeout(BigInteger.ZERO) @@ -98,7 +98,7 @@ public class ITSSLMsgClientTest { public void sendOverSSLWithClientAuthentication() throws IOException { var request = loadFromFile("validDeliveryRequest.xml"); - var httpsServiceURL = "https://localhost/zusemsg/services/DeliveryRequest"; + var httpsServiceURL = "https://localhost/app2zuse/services/app2zuse"; var clientParams = generateSSLClientParams(httpsServiceURL, false, false); App2ZusePort port = createPort(clientParams); @@ -116,7 +116,7 @@ public class ITSSLMsgClientTest { public void sendOverSSLWithClientAuthTrustAll() throws IOException { var request = loadFromFile("validDeliveryRequest.xml"); - var httpsServiceURL = "https://localhost/zusemsg/services/DeliveryRequest"; + var httpsServiceURL = "https://localhost/app2zuse/services/app2zuse"; var clientParams = generateSSLClientParams(httpsServiceURL, true, false); App2ZusePort port = createPort(clientParams); @@ -134,7 +134,7 @@ public class ITSSLMsgClientTest { public void sendOverSSLWithClientAuthLaxHostnameVerification() throws IOException { var request = loadFromFile("validDeliveryRequest.xml"); - var httpsServiceURL = "https://notlocalhost/zusemsg/services/DeliveryRequest"; + var httpsServiceURL = "https://notlocalhost/app2zuse/services/app2zuse"; var clientParams = generateSSLClientParams(httpsServiceURL, false, true); App2ZusePort port = createPort(clientParams); @@ -152,7 +152,7 @@ public class ITSSLMsgClientTest { public void rejectBecauseHostNameVerificationFails() throws IOException { var request = loadFromFile("validDeliveryRequest.xml"); - var httpsServiceURL = "https://notlocalhost/zusemsg/services/DeliveryRequest"; + var httpsServiceURL = "https://notlocalhost/app2zuse/services/app2zuse"; var clientParams = generateSSLClientParams(httpsServiceURL, false, false); App2ZusePort port = createPort(clientParams); -- cgit v1.2.3