diff options
Diffstat (limited to 'src/test/resources/karatetest/features/02--ServiceOrder.feature')
-rw-r--r-- | src/test/resources/karatetest/features/02--ServiceOrder.feature | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/src/test/resources/karatetest/features/02--ServiceOrder.feature b/src/test/resources/karatetest/features/02--ServiceOrder.feature index 31aeff1..756a00e 100644 --- a/src/test/resources/karatetest/features/02--ServiceOrder.feature +++ b/src/test/resources/karatetest/features/02--ServiceOrder.feature @@ -435,4 +435,18 @@ And match $.orderMessage[0] contains { code : '500' , messageInformation : 'Pro Given path 'serviceOrder',serviceOrderId When method get Then status 200 -* call Context.startServers();
\ No newline at end of file +* 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 |