A | B | C | D | E | F | G | H | I | J | K | L | M | N | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Impact | LR SW Release Version | Feature Version | Service Tested | Test Objective | Input Details | Test Input | Testing Procedure | Expected Output | Expected System Behavior | Test Output | Pass/Fail | Tested By | Date tested |
2 | 1 | Distibute: Node to Node replication | Verify that all the documents of resource_data and distributable of "doc_type" are replicated from a source node to the target node. Distributed resource_data documents must have the "node_timestamp" close to the current UTC time. | 1. A defined set of resource data on the source node (sourceNode) | A set of resource metadata on Node 1 | 1. Configure two nodes (sourceNode and targetNode) using the setup_node.py script to be on the same community and network. 2. Delete the resource_data database on the targetNode couchdb 3.Delete the resource_data dabase on the source node couchdb. | distribuatable data documents from the source node is replicated to the target node. Check the number of records on each machine using the Status API and verify that they match | PASS | PASS | John Poyau | 10/15/2011 | |||
3 | 1 | Node to Node Replication of Resource Data | Verify that data is not replicated to nodes that are not specified for replication in the node configuration | 1. A defined set of resource data on the source node (sourceNode) | A set of resource metadata on Node 1 | Delete all resource data from Node 2. Configure Node 1 with no Node 1->Node 2 replication rule. Run distribute script | Data from Node 1 is not replicated to Node 2 | PASS | PASS | John Poyau | 10/15/2011 | |||
4 | 1 | Data distribution Between Gateway nodes in an Open Community | Verify that data distribution happens between networks in the same Open community | A defined set of resource data on the source node(SourceNode) resource_data database destination node (TargetNode) resource_data database is empty | A set of defined Resource MetaData on Node 3. A set of Defined Resource Metadata on Node 4. | Run Distribute Script on Node 3. | Distribute is successful. | PASS | John Poyau | 10/15/2011 | ||||
5 | 1 | Data distribution Between Gateway nodes in an Open Community when the Gateway Connection is false | Verify that data distribution does not happen between networks in the same Open community if the Gateway connection is false | A set of defined Resource MetaData on Node 3. A set of Defined Resource Metadata on Node 4. | Run Distribute Script on Node 3. | Distribute fails. | Pass | John Poyau | 10/15/2011 | |||||
6 | 1 | Data distribution between open communities using Gateway nodes | Verify that data distribution happens between open communities using the appropriate gateways | Resource Metadata on LRDev Node 3 and ADL. | Configure LRDev testbed to be Open(default). Configure ADL testbed to be Open. Create distribute rule in LRDev Node 3 for Node 3-> ADL Gateway. Create a publish script with uniqe IDs not present in ADL. Publish this data. Create a Publish script with a few unique IDs not present in ADL and a few IDs that are present in ADL. Verify that Publish happens without duplication of data on ADL. | Distribute should succesfully occur for 1. Distribute should fail for 2. | PASS | John Poyau | 10/19/2011 | |||||
7 | 1 | Data distribution between networks in a closed community | Verify that data distribution happens according to configuration between netwroks in a closed community | Distribute is successful | John Poyau | |||||||||
8 | 1 | Data distribution between closed communites does not happen | Verify that distribution does not happen when attempted between closed communities | Distribute fails and returns correct error code | John Poyau | |||||||||
9 | 1 | Data distribution between a closed community and an Open community does not happen | Verify that distribution does not happen when attempted between a closed community and an open community. If distribute is appempted from a closed community to an open community, it fails. If distribute is attempted from an open community to a closed community, it fails. | A defined set of resource data on the source node(SourceNode) resource_data database destination node (TargetNode) resource_data database is empty destination node (TargetNode) node database contains a filter description document | Distribute fails and returns correct error code | John Poyau | 10/17/2011 | |||||||
10 | 2 | More than one Gateway connection from a Gateway | Verify that data distribution works only when there is one gateway connection to a gateway | Configure Nodes 3 and 4 as gateway nodes.Configure Node 4->Node-.Gateway_Connection as True and configure Node 3->Node-.Gateway_Connection as True. Configure Node 3 with Node 3->Node 4 distribution rule. Populate Node 3 with a set of defined Resource MetaData. | A set of defined meatdata on each of Node 3, Node 4 and ADL Gateway | Run distribute from Node 3. | Distribute fails | PASS | John Poyau | 10/17/2011 | ||||
11 | Distribute: Filter | Verify that only documents that conforms to destination node filter rules are replicated | A defined set of resource data on the source node(SourceNode) resource_data database destination node (TargetNode) resource_data database is empty destination node (TargetNode) node database contains a filter description document | Only documents that conform the target node filter rules are replicated | PASS | PASS | John Poyau | 10/13/2011 | ||||||
12 | ||||||||||||||
13 | ||||||||||||||
14 | Service Description | Verify the service description document adheres to the specification's service description | http://lrtest02.learningregistry.org/services | Scroll down to the document that matches "service_name: Resource Data Distribution" | 1. Verify doc_type = "service_description" 2. Verify doc_version = "0.20.0" 3. Verify doc_scope = "node" 4. Verify active = "true" 5. Verify service_id = "<uniqueid>" 6. Verify service_type = "distribute" 7. Verify service_name = "Resource Data Distribution" 8. Verify service_description = "Service used to distribute resource documents from one node to other nodes" 9. Verify service_version = "0.23.0" 10. Verify service_endpoint = "<node-service-endpoint-URL>" 11. Verify service_auth is correctly formatted 12. Verify service_authz values is correct 13. Verify service_key value is correct 14. Verify service_https value is correct 15. Verify irrelevant keys and values are not listed in the service description document | { "doc_type": "service_description", "doc_version": "0.20.0", "doc_scope": "node", "active": true, "service_id": "<uniqueid>", "service_type": "distribute", "service_name": "Resource Data Distribution", ▲"service_description": "Service used to distribute resource documents from one node to other nodes", "service_version": ▲"0.23.0", "service_endpoint": "<node-service-endpoint-URL>", "service_auth": // service authentication and authorization descriptions { "service_authz": ["<authvalue>"], // authz values for the service "service_key": <T/F>, // does service use an access key "service_https": <T/F> // does service require https } } | All keys and values are correct | { doc_type: "service_description" service_version: "0.1" service_name: "Resource Data Distribution" service_type: "distribute" doc_version: "0.20.0" service_endpoint: "http://lrtest02.learningregistry.org/Resource Data Distribution" service_data: { } service_description: "distribute Resource Data Distribution service" service_auth: -{ service_https: false service_key: false service_authz: null } active: true doc_scope: "node" service_id: "e28ad0d0de704a7fa6bd286067d7c0b0" } | Fail | Damon Regan | 10/27/2011 |