View file |
---|
name | 5G - PNF Software Update.mp4 |
---|
height | 250 |
---|
|
Test Cases Definitions
Test ID | Test Name | Test Description | Expected Results |
---|
T001 | upgrade-pre-check API | Use APPC LCM API to POST /operations/LCM:upgrade-pre-check with the following request body: Code Block |
---|
{
"input": {
"common-header": {
"timestamp": "2018-10-10T09:40:04.244Z",
"api-ver": "2.00",
"originator-id": "664be3d2-6c12-4f4b-a3e7-c349acced203",
"request-id":"664be3d2-6c12-4f4b-a3e7-c349acced203",
"sub-request-id": "1",
"flags": {
"force" : "TRUE",
"ttl" : 60000
}
},
"action": "UpgradePreCheck",
"action-identifiers": {
"vnf-id":"5gDU0001"
},
"payload": "{\"pnf-flag\":\"true\", \"pnf-name\": \"5gDU0001\",\"pnfId\": \"5gDU0001\", \"ipaddress-v4-oam\": \"139.159.228.37\",\"oldSwVersion\": \"v1\", \"targetSwVersion\": \"v2\", \"ruleName\": \"r001\", \"Id\": \"10\", \"additionalData\":\"{}\"}"}}
|
| Response status 400 |
T002 | upgrade-software API | Use APPC LCM API to POST /operations/LCM:upgrade-software with the following request body: Code Block |
---|
{
"input": {
"common-header": {
"timestamp": "2018-10-10T09:40:04.244Z",
"api-ver": "2.00",
"originator-id": "664be3d2-6c12-4f4b-a3e7-c349acced203",
"request-id":"664be3d2-6c12-4f4b-a3e7-c349acced203",
"sub-request-id": "3",
"flags": {
"force" : "TRUE",
"ttl" : 60000
}
},
"action": "UpgradeSoftware",
"action-identifiers": {
"vnf-id":"5gDU0001"
},
"payload": "{\"pnf-flag\":\"true\", \"pnf-name\": \"5gDU0001\",\"pnfId\": \"5gDU0001\", \"ipaddress-v4-oam\": \"139.159.228.37\",\"oldSwVersion\": \"v1\", \"targetSwVersion\": \"v2\", \"Id\": \"10\", \"additionalData\":\"{}\"}"}}
|
| Response status 400 |
T003 | upgrade-post-check API | Use APPC LCM API to POST /operations/LCM:upgrade-software with the following request body: Code Block |
---|
{
"input": {
"common-header": {
"timestamp": "2018-10-10T09:40:04.244Z",
"api-ver": "2.00",
"originator-id": "664be3d2-6c12-4f4b-a3e7-c349acced203",
"request-id":"664be3d2-6c12-4f4b-a3e7-c349acced203",\
"sub-request-id": "2",
"flags": {
"force" : "TRUE",
"ttl" : 60000
}
},
"action": "UpgradePostCheck",
"action-identifiers": {
"vnf-id":"5gDU0001"
},
"payload": "{\"pnf-flag\":\"true\", \"pnf-name\": \"5gDU0001\",\"pnfId\": \"5gDU0001\", \"ipaddress-v4-oam\": \"139.159.228.37\",\"oldSwVersion\": \"v1\", \"targetSwVersion\": \"v2\", \"ruleName\": \"r102\", \"Id\": \"10\", \"additionalData\":\"{}\"}"}}
|
| Response status 400 |
Test Case Recording
View file |
---|
name | 5G - PNF Software Update.mp4 |
---|
height | 250 |
---|
|
Test Setup
1. Set up SDNC sdnc_ansible_container:
...
Test Status
Test ID | Test Name | Test Result | Pass/Fail |
---|
T001 | upgrade-pre-check API | Received response code 400 |
|
T002 | upgrade-software API | Received response code 400 |
|
T003 | upgrade-post-check API | Received response code 400 |
|