summaryrefslogtreecommitdiffstats
path: root/src/test/resources/karatetest/features/02--ServiceOrder.feature
diff options
context:
space:
mode:
authorVodafone <onap@vodafone.com>2019-03-25 17:38:23 +0530
committerMatthieu Geerebaert <matthieu.geerebaert@orange.com>2019-04-12 14:13:40 +0200
commitff5433e350678f5f45e8b2aa14cdb00f9cecfceb (patch)
tree002fc90357697b9b4bcfa96279731873a7b3bcc4 /src/test/resources/karatetest/features/02--ServiceOrder.feature
parent5ad4e649d9c634309447fda7b867719040c1fd56 (diff)
CCVPN (East-west Interface)
Change-Id: I11dbe477db3310ef054b2e894e8005b0f8e4be96 Issue-ID: EXTAPI-204 Co-authored-by: madhuri.verma@vodafone.com Signed-off-by: Vodafone <onap@vodafone.com>
Diffstat (limited to 'src/test/resources/karatetest/features/02--ServiceOrder.feature')
-rw-r--r--src/test/resources/karatetest/features/02--ServiceOrder.feature27
1 files changed, 13 insertions, 14 deletions
diff --git a/src/test/resources/karatetest/features/02--ServiceOrder.feature b/src/test/resources/karatetest/features/02--ServiceOrder.feature
index 756a00e..4b4891d 100644
--- a/src/test/resources/karatetest/features/02--ServiceOrder.feature
+++ b/src/test/resources/karatetest/features/02--ServiceOrder.feature
@@ -359,6 +359,19 @@ Given path 'serviceOrder',serviceOrderId16
When method delete
Then status 204
+Scenario: testCheckServiceOrderWithTargetHeader
+Given path 'serviceOrder'
+And header Target = 'http://localhost:8080/nbi/api/v4'
+And request data[0]
+When method post
+Then status 201
+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'
+When method get
+Then status 200
Scenario: testCheckServiceOrderWithCustomerAAINotResponding
* call Context.removeWireMockMapping("/aai/v14/business/customers/customer/new");
@@ -436,17 +449,3 @@ Given path 'serviceOrder',serviceOrderId
When method get
Then status 200
* call Context.startServers();
-
-Scenario: testCheckServiceOrderWithTargetURLPresent
-Given path 'serviceOrder'
-And header targetURL = '127.0.0.1'
-And request data[0]
-When method post
-Then status 201
-And match $.id contains '#notnull'
-And match $.state == 'acknowledged'
-And def serviceOrderId = $.id
-Given path 'serviceOrder', serviceOrderId
-And header targetURL = '127.0.0.1'
-When method get
-Then status 200 \ No newline at end of file