- Previous: USA Web Child State
- Up: Compassion API Library
- Next: REST Get CDSP Implementor V1
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:
|
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 |
- Previous: USA Web Child State
- Up: Compassion API Library
- Next: REST Get CDSP Implementor V1
Docs Navigation
- Compassion API Library
- Standards Documents
- Legacy APIs (Deprecating)
- Web Services Handshake (Legacy) - Notification and Command Messages
- Public API
- Private IPG APIs
- Private REST Services
- REST Get CDSP Implementor V1
- REST Get Child Case Study V1
- REST Get Child Exit Details V1
- REST Get Child Image V1
- REST Get Child Information V1
- REST Get Community V1
- REST Get Country V1
- REST Get CSP Implementor V1
- REST Get Local Church Partner V1
- REST Get Program Implementor V1
- REST Get Project Age Groups V1
- REST Get Child Image V1 - 2015/03
- Private Messaging APIs
- Quick Start Guide
- OffRamp Prerequisites and Setup
- IP OnRamp Service Configuration
- Available Message Types
- Message and Service Relationships
- Troubleshooting
- General Error Messages from Compass Party Host
- EsdMessageErrorMOE Sample
- Sample REST End-To-End Test Plan
- SOAP Wrapper Sample for Messages to GMC
- Allocate Child Message
- Cancel Commitment Message
- Commitment Canceled Message
- Commitment Created Message
- Constituent Created Message
- Constituent Updated Message
- Constituent Upserted Message
- Create Commitment Message
- Create Constituent Message
- Create Email Message
- Create Gift Message
- Deallocate Child Message
- Depart Child Message
- Email Created Message
- Email Updated Message
- Gift Created Message
- Update Child Message
- Update Constituent Message
- Update Email Message
- Upsert Constituent Message
- Update Project Message
- Private SOAP Services
- SOAP Get Child Exit Detail 201211
- SOAP Get Child Exit Detail 201310
- SOAP Get CDSP Implementor 201309
- SOAP Get Child Image 201211
- SOAP Get Child Case Study 201310
- SOAP Get Child Case Study 201412
- SOAP Get Child Information 201211
- SOAP Get Child Information 201310
- SOAP Get Community 201309
- SOAP Get Country Information 201104
- SOAP Get Local Church Partner 201309
- SOAP Get Program Implementor 201303
- SOAP Get Program Implementor 201309
- SOAP Get Project Age Group 201309
- Service Overview
- SOAP Get CSP Implementor 201309
- SOAP Get Child Image 201503
- Private USA APIs
- Private USA Web APIs
- private cornerstone connect messaging
- private cornerstone test
- public api
0 Comments
New comments are not being accepted at this time.