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 »

High Level Test Cases and Status: DMAAP Data Router

#Test CaseStatus
1Create feed

PASS

2Subscribe to feed

PASS

3Subscribe to feed with privileged subscription

PASS

4Publish file to feed

PASS

5Verify subscriber receives published file

PASS

6Verify published file remains on privileged subscriber and delete it

PASS

7Update subscription

PASS

8Update feed

PASS

9Delete subscription

PASS

10Delete feed

PASS

Detailed Description Data Router Feature Test Cases:

Test Case IDData_Router_01
Test Case NameCreate feed
DescriptionConfirm that a feed can be created by sending a POST request to the data-router provisioning server
ReleaseCasablanca
Pre-conditionsAll components of data-router are running
Testing Steps
StepExpected Result
  1. Send POST request with 58229743 in body to https://dmaap-dr-prov:8443/

Response:

{"suspend":false,"groupid":0,"description":"Default 
feed","version":"m1.0","authorization":{"endpoint_addrs":[],"classification":"unclassified","endpoint_ids":[{"password":"dradmin","id":"dradmin"}]},"name":"DefaultFeedPM","business_description":"Default
 Feed","publisher":"dradmin","links":{"subscribe":"https://dmaap-dr-prov/subscribe/1","log":"https://dmaap-dr-prov/feedlog/1","publish":"https://dmaap-dr-prov/publish/1","self":"https://dmaap-dr-prov/feed/1"}}

Response Code: 201

Conclusion (Pass/Fail)PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite/425/
Testing LabEricsson Lab / CSIT



Test Case IDData_Router_02
Test Case NameSubscribe to feed
DescriptionConfirm that a subscription to  a feed can be created by sending a POST request to the data-router provisioning server
ReleaseCasablanca
Pre-conditionsAll components of data-router are running
Testing Steps
StepExpected Result
  1. Send POST request with 58229743 in body to https://dmaap-dr-prov:8443/subscribe/<feedId>

Response:

{"suspend":false,"delivery":{"use100":true,"password":"PASSWORD","user":"LOGIN","url":"http://172.18.0.3:7070"},"subscriber":"dradmin","groupid":1,"metadataOnly":false,"links":{"feed":"https://dmaap-dr-prov/feed/1","log":"https://dmaap-dr-prov/sublog/1","self":"https://dmaap-dr-prov/subs/1"},"created_date":1550575240780}

Response Code: 201

Conclusion (Pass/Fail)PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite/425/
Testing LabEricsson Lab / CSIT
Test Case IDData_Router_03
Test Case NameSubscribe to feed
DescriptionConfirm that a subscription to  a feed can be created by sending a POST request to the data-router provisioning server
ReleaseCasablanca
Pre-conditionsAll components of data-router are running
Testing Steps
StepExpected Result
  1. Send POST request with 58229743 in body to https://dmaap-dr-prov:8443/subscribe/<feedId>

Response:

{"suspend":false,"delivery":{"use100":true,"password":"PASSWORD","user":"LOGIN","url":"http://172.18.0.3:7070"},"subscriber":"dradmin","groupid":1,"metadataOnly":false,"links":{"feed":"https://dmaap-dr-prov/feed/1","log":"https://dmaap-dr-prov/sublog/1","self":"https://dmaap-dr-prov/subs/1"},"created_date":1550575240780}

Response Code: 201

Conclusion (Pass/Fail)PASS - https://jenkins.onap.org/view/dmaap/job/dmaap-datarouter-master-csit-dr-suite/425/
Testing LabEricsson Lab / CSIT

JSON Objects

{
	"name": "CSIT_Test", 
	"version": "m1.0", 
	"description": "CSIT_Test", 
	"business_description": "CSIT_Test", 
	"suspend": false, 
	"deleted": false, 
	"changeowner": true, 
	"authorization": {
		"classification": "unclassified", 
		"endpoint_addrs": [],             // List of IP Addresses that can publish to this feed 
		"endpoint_ids": [{
			"password": "dradmin", 	  // Any application that publishes to this feed must use these credentials
			"id": "dradmin"
		}]
	}
}

{
	"delivery":{
		"url":"https://{subscriber_ip}:7070/",  // IP Address of subscriber and port that can be accessed through
		"user":"LOGIN", 						// Credentials used to send file to this subscriber
		"password":"PASSWORD", 
		"use100":true
	}, 
	"metadataOnly":false, 
	"suspend":false, 
	"groupid":29, 
	"subscriber":"dradmin"
}


  • No labels