Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

This page describes the functional test cases planned for the Frankfurt release.

Function Test Cases

Catalog Management API

Test case IDDescriptionTest scenarioExpected resultStatus
T100Fetch NS package which is distributed from SDCPOST /api/catalog/v1/nspackagesResponse code:201
T101Search NS packagesGET /api/catalog/v1/nspackages

Response code:200

Body: NS package list


T102Search a NS package according to csarIdGET /api/catalog/v1/nspackages/{{csarId}}

Response code:200

Body: NS package


T103Delete a NS package according to csarIdDelete /api/catalog/v1/nspackages/{csarId}Response code:204
T104Fetch VNF package from SDCPOST /api/catalog/v1/vnfpackagesResponse code:201

VNF Management API

Test caseDescriptionTest scenarioExpected resultStatus
T200Create a VNF POST /api/vnfpkgm/v1/vnf_packagesResponse code:201
T201Search VNF packagesGET /api/vnfpkgm/v1/vnf_packages

Response code:200

Body: VNF package list


T202Search a VNF package according to vnfPkgIdGET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}

Response code:200

Body: VNF package


T203Update the content of VNF package for given vnfPkgIdPUT /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_contentResponse code:201
T204Get the content of VNF package for given vnfPkgIdGET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/package_content

Response code:200

Body: content of VNF package


T205Get the vnfd of VNF package for given vnfPkgIdGET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}1/vnfd

Response code:200

Body:  vnfd of VNF package


T206Get the artifact from VNF package for given vnfPkgId & artifactPathGET /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}/artifacts/{{artifactPath}}

Response code:200

Body: artifact


T207Delete VNF packages according to vnfPkgIdDELETE /api/vnfpkgm/v1/vnf_packages/{{vnfPkgId}}Response code:204
T208Subscribe the notification related VNF package POST /api/vnfpkgm/v1/subscriptionsResponse code:201
T209Get the subscriptions of VNF package GET /api/vnfpkgm/v1/subscriptions

Response code:200

Body: subscription list


T210Get a subscription of VNF package according to subscriptionIdGET /api/vnfpkgm/v1/subscriptions/{{subscriptionId}}

Response code:200

Body: subscription


T211Delete a subscription of VNF package according to subscriptionIdDELETE /api/vnfpkgm/v1/subscriptions/{{subscriptionId}}Response code:204

NSD Management API 

Test caseDescriptionTest scenarioExpected resultStatus
T300Create a NS POST /api/nsd/v1/ns_descriptorsResponse code:201
T301Search NS packagesGET /api/nsd/v1/ns_descriptors

Response code:200

Body: NS package list


T302Search a NS package according to nsdInfoIdGET /api/nsd/v1/ns_descriptors/{{nsdInfoId}}

Response code:200

Body: NS package


T303Update the content of NS package for given nsdInfoIdPUT /api/nsd/v1/ns_descriptors/{{nsdInfoId}}/nsd_contentResponse code:201
T304Get the content of NS package for given nsdInfoIdGET /api/nsd/v1/ns_descriptors/{{nsdInfoId}}/nsd_content

Response code:200

Body: content of NS package 


T305Delete NS packages according to nsdInfoIdDELETE /api/nsd/v1/ns_descriptors/{{nsdInfoId}}Response code:204
T306Create a PNF POST /api/nsd/v1/pnf_descriptorsResponse code:201
T307Search PNF packagesGET /api/nsd/v1/pnf_descriptors

Response code:200

Body: PNF package list


T308Search a PNF package according to pnfdInfoIdGET /api/nsd/v1/pnf_descriptors/{{pnfdInfoId}}

Response code:200

Body: PNF package


T309Update the content of PNF package for given pnfdInfoIdPUT /api/nsd/v1/pnf_descriptors/{{pnfdInfoId}}/pnfd_contentResponse code:201
T310Get the content of PNF package for given pnfdInfoIdGET /api/nsd/v1/pnf_descriptors/{{pnfdInfoId}}/pnfd_content

Response code:200

Body: content of PNF package


T311Delete PNF packages according to pnfdInfoIdDELETE /api/nsd/v1/pnf_descriptors/{{pnfdInfoId}}Response code:204

Parser API

Test caseDescriptionTest scenarioExpected resultStatus
T400Parse package POST /api/parser/v1/parserResponse code:201
T401Parse NS package POST /api/parser/v1/parsernsdResponse code:201
T402Parse VNF package POST /api/parser/v1/parservnfdResponse code:201
T403Parse PNF package POST /api/parser/v1/parserpnfdResponse code:201
  • No labels