diff options
author | Vodafone <onap@vodafone.com> | 2019-03-25 17:38:23 +0530 |
---|---|---|
committer | Matthieu Geerebaert <matthieu.geerebaert@orange.com> | 2019-04-12 14:13:40 +0200 |
commit | ff5433e350678f5f45e8b2aa14cdb00f9cecfceb (patch) | |
tree | 002fc90357697b9b4bcfa96279731873a7b3bcc4 /src/test/resources/karatetest/features/03--Subscriber.feature | |
parent | 5ad4e649d9c634309447fda7b867719040c1fd56 (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/03--Subscriber.feature')
-rw-r--r-- | src/test/resources/karatetest/features/03--Subscriber.feature | 36 |
1 files changed, 0 insertions, 36 deletions
diff --git a/src/test/resources/karatetest/features/03--Subscriber.feature b/src/test/resources/karatetest/features/03--Subscriber.feature index ea8c24a..1d9bfdf 100644 --- a/src/test/resources/karatetest/features/03--Subscriber.feature +++ b/src/test/resources/karatetest/features/03--Subscriber.feature @@ -9,7 +9,6 @@ Background: * call Context.startServers(); * def data = read('../data/subscriber.json') * def serviceOrderData = read('../data/serviceOrder.json') -* def eventData = read('../data/Event.json') * configure retry = { count: 10, interval: 500 } * def checkDateFormat = """ @@ -250,38 +249,3 @@ Then status 204 Given path 'test/listener',eventId When method delete Then status 204 - - -Scenario: testHubAndListenerResourceWhenTargetURLIsPresent -Given path 'hub' -And header targetURL = '127.0.0.1' -And request data[3] -When method post -Then status 201 -And def location = responseHeaders['Location'][0] -Given path "listener" -And request eventData[0] -When method post -Then status 200 -Given path "test/listener/12345" -When method get -Then status 200 -And match $ contains -""" -{ - "eventType": "ServiceOrderStateChangeNotification", - "eventDate": "2019-03-27T14:58:32.740Z", - "eventId": "12345", - "event": { - "id": "testEventId", - "href": "www.testHref.com", - "externalId": "testExternalId", - "state": "acknowledged", - "orderDate": "2019-03-27T04:58:32.740Z" - - } -} -""" -Given url location -When method delete -Then status 204 |