Commit 28a922e6 authored by Elian Kraja's avatar Elian Kraja
Browse files

Fix issue #134 on mockserver configuration incongruency

parent 043ba856
......@@ -1039,7 +1039,7 @@ Create Sessions
Pass Execution If ${NFVO_CHECKS_NOTIF_ENDPOINT} == 0 MockServer not started as NFVO is not checking the notification endpoint
Start Process java -jar ${MOCK_SERVER_JAR} -serverPort ${callback_port} alias=mockInstance
Wait For Process handle=mockInstance timeout=5s on_timeout=continue
Create Mock Session ${callback_uri}
Create Mock Session ${callback_uri}:${callback_port}
Check Notification Endpoint
&{notification_request}= Create Mock Request Matcher GET ${callback_endpoint}
......
......@@ -17,7 +17,7 @@ ${NFVO_AUTH_USAGE} 1
${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.jar
${callback_port} 9091
${callback_uri} http://172.22.1.7:${callback_port}
${callback_uri} http://172.22.1.7
${callback_endpoint} /nsd/subscriptions
${callback_endpoint_error} /subs_404
${callback_endpoint_fwd} /endpoint/check
......
......@@ -788,7 +788,7 @@ Create Sessions
Pass Execution If ${NFVO_CHECKS_NOTIF_ENDPOINT} == 0 MockServer not started as NFVO is not checking the notification endpoint
Start Process java -jar ${MOCK_SERVER_JAR} -serverPort ${callback_port} alias=mockInstance
Wait For Process handle=mockInstance timeout=5s on_timeout=continue
Create Mock Session ${callback_uri}
Create Mock Session ${callback_uri}:${callback_port}
Check Notification Endpoint
......
......@@ -18,7 +18,7 @@ ${MOCK_SERVER_JAR} ../../../bin/mockserver-netty-5.5.0-jar-with-dependencies.
${testOptionalMethods} 0
${callback_port} 9091
${callback_uri} http://172.22.1.7:${callback_port}
${callback_uri} http://172.22.1.7
${callback_endpoint} /nspm/subscriptions
${callback_endpoint_error} /subs_404
${sleep_interval} 20s
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment