Commit de606c36 authored by Elian Kraja's avatar Elian Kraja

Improvements on json payload

parent 786644a5
Pipeline #3755 passed with stage
in 0 seconds
...@@ -212,7 +212,7 @@ TC_MEC_SRV_FAIS_006_OK ...@@ -212,7 +212,7 @@ TC_MEC_SRV_FAIS_006_OK
Create a new subscription OnuAlarmSubscription Create a new subscription OnuAlarmSubscription
Check HTTP Response Status Code Is 201 Check HTTP Response Status Code Is 201
Check HTTP Response Body Json Schema Is OnuAlarmSubscription Check HTTP Response Body Json Schema Is OnuAlarmSubscription
Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType "OnuAlarmSubscription" Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType OnuAlarmSubscription
...@@ -239,7 +239,7 @@ TC_MEC_SRV_FAIS_007_OK ...@@ -239,7 +239,7 @@ TC_MEC_SRV_FAIS_007_OK
Get an individual subscription ${ONU_ALARM_SUBSCRIPTION_ID} Get an individual subscription ${ONU_ALARM_SUBSCRIPTION_ID}
Check HTTP Response Status Code Is 200 Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is OnuAlarmSubscription Check HTTP Response Body Json Schema Is OnuAlarmSubscription
Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType "OnuAlarmSubscription" Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType OnuAlarmSubscription
TC_MEC_SRV_FAIS_007_NF TC_MEC_SRV_FAIS_007_NF
...@@ -265,7 +265,7 @@ TC_MEC_SRV_FAIS_008_OK ...@@ -265,7 +265,7 @@ TC_MEC_SRV_FAIS_008_OK
Update subscription ${ONU_ALARM_SUBSCRIPTION_ID} OnuAlarmSubscriptionUpdate Update subscription ${ONU_ALARM_SUBSCRIPTION_ID} OnuAlarmSubscriptionUpdate
Check HTTP Response Status Code Is 200 Check HTTP Response Status Code Is 200
Check HTTP Response Body Json Schema Is OnuAlarmSubscription Check HTTP Response Body Json Schema Is OnuAlarmSubscription
Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType "OnuAlarmSubscription" Check Result Contains ${response['body']['OnuAlarmSubscription']} subscriptionType OnuAlarmSubscription
TC_MEC_SRV_FAIS_008_BR TC_MEC_SRV_FAIS_008_BR
......
{ {
"trafficRuleId": "elit sint id occaecat mollit", "trafficRuleId": "traffic_rule_01",
"filterType": "FLOW", "filterType": "FLOW",
"priority": 1, "priority": 1,
"trafficFilter": [ "trafficFilter": [
{ {
"srcAddress": [ "srcAddress": [
"magna tempor do", "192.168.1.1",
"nisi reprehenderit veniam adipisicing", "192.168.2.1",
"sed ut tempor voluptate esse", "192.168.3.1"
"consectetur magna culpa"
], ],
"dstAddress": [ "dstAddress": [
"dolor dolore", "192.168.1.2",
"Excepteur ut aliquip" "192.168.2.2",
"192.168.3.2"
], ],
"srcPort": [ "srcPort": [
"et anim", "30078",
"nulla in minim ea cillum", "1029",
"ipsum sunt quis qui Ut" "30089"
], ],
"dstPort": [ "dstPort": [
"dolore tempor ut voluptate dolor", "30099",
"consequat incididunt ad sed mollit", "30098",
"in amet aute non" "30097"
], ],
"protocol": [ "protocol": [
"mollit Duis", "TCP",
"irure ullamco Lorem ex tempor", "HTTP",
"ullamco in dolor incididunt", "UDP"
"elit ea ad",
"magna officia et ad"
], ],
"token": [ "token": [
"occaecat", "occaecat",
...@@ -39,84 +37,85 @@ ...@@ -39,84 +37,85 @@
"irure" "irure"
], ],
"srcTunnelAddress": [ "srcTunnelAddress": [
"ut exercitation", "159.10.1.1",
"ea", "159.10.2.1",
"magna et" "159.10.3.1"
], ],
"tgtTunnelAddress": [ "tgtTunnelAddress": [
"et anim aliqua", "159.10.1.2",
"dolor in sint consectetur culpa", "159.10.2.2",
"eu", "159.10.3.2"
"deserunt qui mollit sint commodo"
], ],
"srcTunnelPort": [ "srcTunnelPort": [
"dolore laborum", "5566",
"consequat", "5567",
"nostrud nulla", "5568"
"est id dolore commodo aliquip",
"qui dolor id dolore"
], ],
"dstTunnelPort": [ "dstTunnelPort": [
"Ut nostrud Excepteur", "5576",
"dolor culpa", "5578",
"in", "5579"
"incididunt" ],
], "qCI": 1,
"qCI": 22902321, "dSCP": 0,
"dSCP": -86264428, "tC": 1
"tC": -40655175
}, },
{ {
"srcAddress": [ "srcAddress": [
"incididunt sit qui", "192.157.1.1",
"laborum dolore voluptate exercitation", "192.157.2.1",
"ut" "192.157.3.1"
], ],
"dstAddress": [ "dstAddress": [
"pariatur sunt", "192.157.1.2",
"id elit aute ut", "192.157.2.2",
"voluptate", "192.157.3.2"
"irure laboris consectetur ullamco id",
"reprehenderit laborum"
], ],
"srcPort": [ "srcPort": [
"nisi tempor ut in", "30078",
"culpa sed" "1029",
"30089"
], ],
"dstPort": [ "dstPort": [
"amet laboris exercitation voluptate veniam" "30099",
"30098",
"30097"
], ],
"protocol": [ "protocol": [
"incididunt sint Lorem qui" "TCP",
"HTTP",
"UDP"
], ],
"token": [ "token": [
"sunt", "occaecat",
"veniam labore quis dolor", "reprehenderit esse",
"Ut ex esse deserunt" "enim ipsum Lorem",
"nulla ad sed deserunt",
"irure"
], ],
"srcTunnelAddress": [ "srcTunnelAddress": [
"cillum irure incididunt adipisicing", "159.20.1.1",
"Duis officia laboris ea dolor" "159.20.2.1",
"159.20.3.1"
], ],
"tgtTunnelAddress": [ "tgtTunnelAddress": [
"eu deserunt et", "159.20.1.2",
"cupidatat proident Excepteur nisi", "159.20.2.2",
"consequat fugiat Lorem adipisicing" "159.20.3.2"
], ],
"srcTunnelPort": [ "srcTunnelPort": [
"velit Lorem cillum ex", "5566",
"consectetur in ad", "5567",
"officia est adipisicing irure aute" "5568"
], ],
"dstTunnelPort": [ "dstTunnelPort": [
"proident velit Lorem labore do", "5576",
"magna sit sed ea", "5578",
"cillum", "5579"
"nostrud" ],
], "qCI": 2,
"qCI": -69609374, "dSCP": 0,
"dSCP": 46042141, "tC": 4
"tC": 67400065
} }
], ],
"action": "DROP", "action": "DROP",
...@@ -125,10 +124,10 @@ ...@@ -125,10 +124,10 @@
"interfaceType": "TUNNEL", "interfaceType": "TUNNEL",
"tunnelInfo": { "tunnelInfo": {
"tunnelType": "GTP_U", "tunnelType": "GTP_U",
"tunnelDstAddress": "est", "tunnelDstAddress": "169.54.61.15",
"tunnelSrcAddress": "culpa nostrud amet labore" "tunnelSrcAddress": "169.54.61.31"
}, },
"srcMacAddress": "esse", "srcMacAddress": "fc:3f:2b:42:dc:ba",
"dstMacAddress": "ut nostrud voluptate ipsum cupidatat" "dstMacAddress": "02:42:2c:58:6a:7d"
} }
} }
\ No newline at end of file
Markdown is supported
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