Table of Contents
This page describes the functional test cases planned for the Frankfurt release.
Function Test Cases
Catalog Management API
...
Table of Contents
This page describes the functional test cases planned for the Frankfurt release.
Function Test Cases
Catalog Management API
Test case ID | Description | Test scenario | Expected result | Status |
---|---|---|---|---|
T100 | Fetch NS package which is distributed from SDC NS package should exists in SDC catalog and is distributed. | POST /api/catalog/v1/nspackages { | Response code:201 | |
T101 | Search NS packages | GET /api/catalog/v1/nspackages | Response code:200 Body: NS package list | |
T102 | Search a NS package according to csarId | GET /api/catalog/v1/nspackages/{{csarId}} | Response code:200 Body: NS package | |
T103 | Delete a NS package according to csarId | Delete /api/catalog/v1/nspackages/{csarId} | Response code:204 | |
T104 | Fetch VNF package from SDC | POST /api/catalog/v1/vnfpackages { | Response code:201 |
VNF Management API
Test case | Description | Test scenario | Expected result | Status |
---|---|---|---|---|
T200 | Create a VNF | POST /api/vnfpkgm/v1/vnf_packages { | Response code:201 | |
T201 | Search VNF packages | GET /api/vnfpkgm/v1/vnf_packages | Response code:200 Body: VNF package list | |
T202 | Search a VNF package according to vnfPkgId | GET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}} | Response code:200 Body: VNF package | |
T203 | Update the content of VNF package for given vnfPkgId | PUT /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_content | Response code:201 | |
T204 | Get the content of VNF package for given vnfPkgId | GET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_content | Response code:200 Body: content of VNF package | |
T205 | Get the vnfd of VNF package for given vnfPkgId | GET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}1/vnfd | Response code:200 Body: vnfd of VNF package | |
T206 | Get the artifact from VNF package for given vnfPkgId & artifactPath | GET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/artifacts/{{artifactPath}} | Response code:200 Body: |
artifact | ||
T207 | Delete VNF packages according to vnfPkgId | DELETE /api/ |
vnfpkgm/v1/ |
vnf_packages/{{ |
vnfPkgId}} | Response code: |
Body: NS package
204 | ||
T208 | Subscribe the notification related VNF package | POST /api/ |
vnfpkgm/v1/ |
subscriptions | Response code: |
201 |
T209 | Get the subscriptions of VNF package | GET /api/ |
vnfpkgm/v1/ |
subscriptions | Response code: |
VNF Management API
200 Body: subscription list | ||
T210 | Get a subscription of VNF package according to subscriptionId | GET /api/vnfpkgm/v1 |
/subscriptions/{{subscriptionId}} | Response code: |
200 Body: subscription | ||
T211 | Delete a subscription of VNF package according to subscriptionId | DELETE /api/vnfpkgm/v1/ |
Response code:200
Body: VNF package list
subscriptions/{{subscriptionId}} | Response code:204 |
NSD Management API
Test case | Description | Test scenario | Expected result | Status |
---|---|---|---|---|
T300 | Create a NS | POST /api/nsd/v1/ns_descriptors { | Response code: |
Body: VNF package
201 | ||
T301 | Search NS packages | GET /api/ |
nsd/v1/ |
ns_descriptors | Response code: |
200 Body: NS package list | ||
T302 | Search a NS package according to nsdInfoId | GET /api/ |
nsd/v1/ |
ns_ |
descriptors/{{ |
nsdInfoId}} |
Response code:200 Body: |
NS package |
T303 |
Update the content of NS package for |
given nsdInfoId |
PUT /api/ |
nsd/v1/ |
ns_ |
descriptors/{{ |
nsdInfoId}} |
/ |
nsd_content | Response code |
Body: vnfd of VNF package
:201 | ||
T304 | Get the content of NS package for given nsdInfoId | GET /api/ |
nsd/v1/ |
ns_ |
descriptors/{{ |
nsdInfoId}}/ |
nsd_content | Response code:200 Body: |
content of NS package | ||
T305 | Delete NS packages according to nsdInfoId | DELETE /api/ |
nsd/v1/ |
ns_ |
descriptors/{{ |
nsdInfoId}} | Response code:204 |
T306 | Create a PNF | POST /api/ |
nsd/v1/ |
pnf_descriptors { | Response code:201 |
T307 | Search PNF packages | GET /api/ |
nsd/v1/ |
pnf_descriptors | Response code:200 Body: |
PNF package list |
T308 | Search a PNF package according to pnfdInfoId | GET /api/ |
nsd/v1/ |
pnf_descriptors/{{ |
pnfdInfoId}} | Response code:200 Body: |
PNF package |
T309 | Update the content of PNF package for given pnfdInfoId | PUT /api/ |
nsd/v1/ |
pnf_descriptors/{{ |
pnfdInfoId}}/pnfd_content | Response code: |
NSD Management API
201 | ||
T310 | Get the content of PNF package for given pnfdInfoId | GET /api/nsd/v1/ |
pnf_descriptors/{{pnfdInfoId}}/pnfd_content | Response |
code:200 Body: content of PNF package | ||
T311 | Delete PNF packages according to pnfdInfoId | DELETE /api/nsd/v1/ |
pnf_descriptors/{{pnfdInfoId}} | Response code: |
Body: NS package list
Response code:200
Body: NS package
Response code:200
Body: content of NS package
Response code:200
Body: PNF package list
Response code:200
Body: PNF package
Response code:200
Body: content of PNF package
...
204 |
Parser API
Test case | Description | Test scenario | Expected result | Status |
---|---|---|---|---|
T400 | Parse package Package type: VNF, PNF, NS, Service | POST /api/parser/v1/parser { | Response code:202 Parser result { | |
T401 | Parse NS package | POST /api/parser/v1/parsernsd { | Response code:202 Parser result { | |
T402 | Parse VNF package | POST /api/parser/v1/parservnfd { | Response code:202 Parser result { | |
T403 | Parse PNF package | POST /api/parser/v1/parserpnfd { | Response code:202 Parser result { |
Health Check API
Test case | Description | Test scenario | Expected result | Status | ||||
---|---|---|---|---|---|---|---|---|
T400 | Parse package | POST T500 | Check catalog endpoint | GET /api/parsercatalog/v1/parserhealth_check | Response code:201200 | T401 | Parse NS package | |
POST T501 | Check nsd endpoint | GET /api/parsernsd/v1/parsernsdhealth_check | Response code:201200 | T402 | ||||
Parse VNF package | POST T502 | Check parser endpoint | GET /api/parser/v1/parservnfdhealth_check | Response code:201200 | T403 | Parse PNF package | ||
POST T503 | Check vnfpkgm endpoint | GET /api/parservnfpkgm/v1/parserpnfdhealth_check | Response code:201200 |