diff options
author | Matthieu Geerebaert <matthieu.geerebaert@orange.com> | 2020-01-10 16:05:10 +0100 |
---|---|---|
committer | Matthieu Geerebaert <matthieu.geerebaert@orange.com> | 2020-01-10 16:05:10 +0100 |
commit | 55b339f77d4944b17a4eeefb8ade6ff5f05a422d (patch) | |
tree | 5c860a8cc36992319da032c0f1e9ae4434d4ec85 /src/test/resources | |
parent | c1ae66b947edefe90ffb9c788db1ee75779b0624 (diff) |
Add support for HTTPS with self signed certificates
Dual port 8080 & 8443
Change-Id: I4acda5a1064a62d663243be810b1e3d3e458e742
Issue-ID: EXTAPI-255
Signed-off-by: MatthieuGeerebaert <matthieu.geerebaert@orange.com>
Diffstat (limited to 'src/test/resources')
-rw-r--r-- | src/test/resources/karatetest/features/02--ServiceOrder.feature | 4 | ||||
-rw-r--r-- | src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature | 12 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/test/resources/karatetest/features/02--ServiceOrder.feature b/src/test/resources/karatetest/features/02--ServiceOrder.feature index f1ee4bc..f5985a9 100644 --- a/src/test/resources/karatetest/features/02--ServiceOrder.feature +++ b/src/test/resources/karatetest/features/02--ServiceOrder.feature @@ -376,7 +376,7 @@ Then status 204 Scenario: testCheckServiceOrderWithTargetHeader Given path 'serviceOrder' -And header Target = 'http://localhost:8080/nbi/api/v4' +And header Target = targetHeader And request data[0] When method post Then status 201 @@ -384,7 +384,7 @@ And match $.id contains '#notnull' And match $.state == 'acknowledged' And def serviceOrderId = $.id Given path 'serviceOrder',serviceOrderId -And header Target = 'http://localhost:8080/nbi/api/v4' +And header Target = targetHeader When method get Then status 200 diff --git a/src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature b/src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature index 52cc91f..6639d37 100644 --- a/src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature +++ b/src/test/resources/karatetest/features/05--ListenerResourceTestTarget.feature @@ -35,18 +35,18 @@ function(s) { Scenario: testcreateEventSubscription Given path 'hub' -And header Target = 'http://localhost:8080/nbi/api/v4' +And header Target = targetHeader And request data[0] When method post Then status 201 And def hubId = $.id -And header Target = 'http://localhost:8080/nbi/api/v4' +And header Target = targetHeader Given path 'hub',hubId When method get Then status 200 And match hubId == $.id Given path 'hub',hubId -And header Target = 'http://localhost:8080/nbi/api/v4' +And header Target = targetHeader When method delete Then status 204 @@ -56,14 +56,14 @@ Given path 'test/listener' When method delete Then status 204 Given path 'hub' -And header Target = 'http://localhost:8080/nbi/api/v4' +And header Target = targetHeader And request { callback : '#(listenerUrl)' , query : 'eventType = ServiceOrderCreationNotification' } When method post Then status 201 And def hubId = $.id Given path 'serviceOrder' And request serviceOrderData[17] -And header Target = 'http://localhost:8080/nbi/api/v4' +And header Target = targetHeader When method post Then status 201 And def serviceOrderId = $.id @@ -80,7 +80,7 @@ Given path 'serviceOrder',serviceOrderId When method delete Then status 204 Given path 'hub',hubId -And header Target = 'http://localhost:8080/nbi/api/v4' +And header Target = targetHeader When method delete Then status 204 Given path 'test/listener',eventId |