Sample REST End-To-End Test Plan

This is a sample of the test cases used to test all of the Web Services and Messages needed to couple over the ESB.

Please download the latest version when you are ready to test with us:

Message/Service Description Data List Expected Results Pass/Fail Actual Results
Allocation
AllocateChild Allocate 4 children in:
  • 4 programs or projects
  • 4 local church partners
  • 4 communities
  • 2 countries
  GP receives messages for each allocated child    
REST Get Child Information V1 For each child        
REST Get Child Case Study V1 For each child        
REST Get Child Image V1 For each child        
REST Get Program Implementor V1 For each new project        
REST Get CDSP Implementor V1 For each new project        
REST Get Project Age Groups V1 For each new project      
REST Get Local Church Partner V1 For each new church partner        
REST Get Community V1 For each new community        
REST Get Country V1 For each new country        
Commitments
CreateConstituent Sent from GP
Must wait for a ConstituentCreated message before creating a commitment
  ConstituentCreated message received for each message sent    
CreateCommitment (ChildSponsorship)     CommitmentCreated message received for each message sent    
CreateCommitment (ChildCorrespondenceSponsorship)     CommitmentCreated message received for each message sent    
Depart and Reinstatement Scenarios
DepartChild This is a sponsored child. This message comes from Compass. This child will be reinstated.        
REST Get Child Exit Details V1 For the departed child        
AllocateChild This message comes from Compass. This is the departed child. The child may have a different child key.        
REST Get Child Information V1 For each child        
REST Get Child Case Study V1          
REST Get Child Image V1 For each child        
REST Get Program Implementor V1 For each new project        
REST Get CDSP Implementor V1 For each new project        
REST Get Project Age Groups V1 For each new project        
REST Get Local Church Partner V1 For each new church partner        
REST Get Community V1 For each new community        
REST Get Country V1 For each new country        
Marketing Deallocation Scenario
DeallocateChild (not a transfer) De-allocate unsponsored child. Marketing provides 3 child keys to de-allocate.
This message is a confirmation from Compass that the de-allocation has happened.
  DeallocateChild message is sent from GMC to GP and does not expect a response    
Transfer Scenario
DeallocateChild (transfer) Deallocate a child that transferred to a different project with a new church partner. This is initiated by Compass. GP receives message    
AllocateChild Allocate the transferred child.
This test case is used when a child transfers to a different ICP and the GP receives a new child key. The test is to ensure that the GP knows this is the same child.
  IP receives message    
Update Child Scenarios From Compass
UpdateChild Message comes from Compass   GP receives messages. The Update Child message informs the GP that child information has been updated and the service specified in the Event element should be called to get new information    
REST Get Child Information V1 For each child        
REST Get Child Case Study V1          
REST Get Child Image V1 For each child        
Update Project Scenarios From Compass
UpdateProject i.e. the church started having family fun nights. This is sent when a program row is updated in Compass.        
REST Get CDSP Implementor V1 For updated project        
REST Get Program Implementor V1 For updated project        
REST Get Project Age Groups V1 For updated project        
REST Get Local Church Partner V1          
Update Project Suspended Scenarios From Compass
UpdateProject Suspended project (in comments only).
In comments, the project is suspended. Project is still active.
       
REST Get CDSP Implementor V1 For updated project        
Constituent Email Scenarios
CreateEmail (new) For each constituent. A ConstituentCreated message must have been received.   EmailCreated message received for each message sent out    
UpdateEmail (new email) For a constituent that does not have an email. A ConstituentCreated message must have been received.   EmailUpdated message received for each message sent out    
CreateEmail (update) For an existing email   EmailCreated message received for each message sent out    
UpdateEmail (update email) Update existing email   EmailUpdated message received for each messages sent out    
Constituent Change Scenarios
UpsertConstituent (insert) This constituent is not in the system.   ConstituentUpserted message received for each message sent out    
UpsertConstituent (update) Update of existing Constituent   ConstituentUpserted message received for each message sent out    
Sponsor Cancels and Then Comes Back for the Same Child Scenario
CancelCommitment Cancelled commitment   CommitmentCanceled message received for each message sent out    
UpsertConstituent Wait for ConstituentUpserted response   ConstituentCreated message received for each message sent out    
CreateCommitment (ChildSponsorship) Commitment created to the same child   CommitmentCreated message received for each message sent out    
Gift Scenarios
CreateGift (BirthdayGift) Test limits of GP system   GiftCreated message received for each message sent out    
CreateGift (FamilyGift) Test limits of GP system   GiftCreated message received for each message sent out    
CreateGift (GeneralChildGift) Test limits of GP system   GiftCreated message received for each message sent out    
CreateGift (ProjectGift) Test limits of GP system   GiftCreated message received for each message sent out    
CreateGift (FinalOrGraduationGift) Test limits of GP system   GiftCreated message received for each message sent out    
Child Image Tests
GetChildImage (ImageType is Fullshot)          
GetChildImage (ImageType is Headshot)          
GetChildImage (ImageType is Portrait)          
GetChildImage (ImageType is Raw)     Returns four fields that identify the head. Ignores all other parameters.    
Load Tests
Xx Children Allocated          
Xx Commitments Created          

0 Comments

New comments are not being accepted at this time.

Docs Navigation