This page contains collection consisting of different scenarios of Target Uploads which can be done to test in any environments.
These sheets have been created based on following assumptions :
Url - https://unified-qa.digit.org
locale - en_MZ
msgId - 1710912592752|en_MZ
hierarchy Type - ADMIN
project Type - LLIN-mz
Import environment variable file and collection file in Postman.
Successful run scenario:
With a valid range of numbers in the 'Target' column.
Example:
Negative run scenario:
With an empty 'Target' column.
Example:
With invalid values in the 'Target' column (max, min, date, negative, zero, decimal values).
Collection runner result - Passed.
District | Post administrative | Locality | Village | Household Target at village level (Mandatory and to be entered by the user) |
---|---|---|---|---|
District | Post administrative | Locality | Village | Household Target at village level (Mandatory and to be entered by the user) |
---|---|---|---|---|
District | Post administrative | Locality | Village | Household Target at village level (Mandatory and to be entered by the user) |
---|---|---|---|---|
Yarnee
Klagbe Clinic
Klagbe Town
Pailey Towns
101
Yarnee
Klagbe Clinic
Klagbe Town
Pailey test town
102
Yarnee
Klagbe Clinic
Klagbe Town
Pailey Towns
Yarnee
Klagbe Clinic
Klagbe Town
Pailey test town
Yarnee
Klagbe Clinic
Klagbe Town
Pailey Towns
-1
Yarnee
Klagbe Clinic
Klagbe Town
Pailey test town
0
Yarnee
Klagbe Clinic
Klagbe Town
Pailey test town
1.11
Yarnee
Klagbe Clinic
Klagbe Town
Pailey test town
AB$$
Yarnee
Klagbe Clinic
Klagbe Town
Pailey test town
12/04/24
Yarnee
Klagbe Clinic
Klagbe Town
Pailey test town
1000000000
This step involves executing the Postman collection for collective creation of hierarchical data, file uploads, template generation, validation, and campaign creation within the same
Import the environment variable file and collection file in Postman.
Click on the Import button and drop both files.
Go to the Environment tab on the left side and click on it.
Certain values of environment variables should be changed depending on the following:
URL: This depends on the environment being used (for example, development, staging, production).
tenantid: Identifies the specific tenant for which the operations are being performed.
projecttype: Specifies the type of project, which can be either "LLIN-mz" or "MR-DN" (MDMS configuration).
locale: Defines the locale/language for localization purposes (e.g., en_IN for English in India, en_MZ for English in Mozambique).
msgId: Unique identifier combined with locale (e.g., 1710912592752|en_MZ). In msg id, change as per the locale used.
Go to the collection tab on the left side and click on it.
Start executing the script one by one.
In Filestore upload API, upload the Excel sheet in the file field by uploading the valid file. You will get a filestore id in response.
For example, A valid file can be created - if hierarchyType is "MH" and the sheet has 6 levels consisting of COUNTRY, PROVINCE, DISTRITO, POST ADMINISTRATIVE, LOCALITY and VILLAGE. Change the sheet name to MH_COUNTRY, MH_PROVINCE, MH_DISTRITO, MH_POST ADMINISTRATIVE, MH_LOCALITY, and MH_VILLAGE and all the boundaries as per hierarchy and upload the Excel sheet.
The sample sheet with valid data is given below:
Based on the campaign type, create a draft campaign by changing the variable of project type.
From 13. check the Excel with filestore Target API, and click on the filestore link by clicking on ctrl+click. It will download the target file.
From 14. filestore upload target API. After downloading the file, upload the valid file by filling in the target column in the sheet. You will get a filestore id in response.
Sample Sheet:
From 17, check the Excel with filestore API. Click on the filestore link (ctrl+click). It will download the facility file.
From 18, filestore upload Facility API; after downloading the file, upload the valid file by filling in the facility usage and boundary code column in the sheet. You will get a filestore id in response.
Sample Sheet:
From 21, check the Excel with filestore API, and click on the filestore link by pressing ctrl+click. It will download the user file.
From 22, filestore upload User API. After downloading the file, upload the valid file by filling in all columns in the sheet. You will get a filestore id in response.
Sample Sheet:
From 29, you have to create a campaign as per the campaign type i.e. LLIN/IRS and MRDN.
Based on Campaign create curl of campaign type, delivery rules and additional details are specified. change dates wherever required.
From 32, check user creds Excel. You will be able to get the user credentials Excel sheet by clicking on the filestore link (ctrl+click).
In the user credentials sheet, you will be able to see the username and password to log into the app.
Sample Sheet:
This page contains collection consisting of different scenarios of Facility Uploads which can be done to test in any environments.
These sheets have been created based on following assumptions :
Url - https://unified-qa.digit.org
locale - en_MZ
msgId - 1710912592752|en_MZ
hierarchy Type - ADMIN
project Type - LLIN-mz
Import environment variable file and collection file in Postman:
Successful run scenarios:
Valid file with correct values in all columns.
Example:
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
With a valid file with a missing row in between.
Example:
Negative run scenarios:
With an empty "Facility Usage" column.
Example:
With all inactive values for the "Facility usage" column.
Example:
With an empty "Boundary Code" column.
Example:
With duplicate names in the "Facility Name" column.
Example:
With an empty "Facility Name" column.
Example:
With an invalid value in the "Facility Name" column.
With an empty "Facility Type" column.
With an empty "Facility Status" column.
With empty and invalid values in the 'Capacity' column (max, min, date, negative, zero values).
With empty and invalid values in the "Boundary Code" column.
Collection runner result -passed:
This page contains collection consisting of different scenarios of User Uploads which can be done to test in any environments.
These sheets have been created based on following assumptions:
URL -
locale - en_MZ
msgId - 1710912592752|en_MZ
hierarchy Type - ADMIN
project Type - LLIN-mz
Import the environment variable file and collection file in Postman.
Successful run scenario:
When a user adds valid data to the user file.
Example:
When a user uploads a valid sheet with a missing row in between
Example:
Negative run scenarios:
With an empty "Name of the Person (Mandatory)" column.
Example:
With less than 2 letters in "the "Name of the Person (Mandatory)" column.
Example:
Without phone number.
Example:
With invalid values in the phone number column.
Example:
With the same phone number.
Example:
Without data in the role column.
Example:
Without data in the Employment Type column.
Example:
With an empty Boundary Code column.
Example:
With invalid values in the Boundary Code column.
Example:
Test Run collection -Passed
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Facility Name | Facility Type | Facility Status | Capacity (Units: Bales for Bednets/ SPAQ Blister for SMC) | Boundary Code (Mandatory) | Facility Usage |
---|---|---|---|---|---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Name of the Person (Mandatory) | Phone Number (Mandatory) | Role (Mandatory) | Employment Type (Mandatory) | Boundary Code (Mandatory) |
---|
Auth token: Obtains credentials required to execute the collection.
Create boundary-hierarchy-definition: Creates a new hierarchy definition.
Search boundary-hierarchy-definition: Searches for a hierarchy definition created by the user.
F ilestore upload: Uploads boundaries stored in an Excel file.
Boundary bulk upload: Uploads boundaries for previously created hierarchies.
Boundary relationship search API: Searches relationships of boundary uploads within a specified hierarchy.
Upsert localisations: Inserts or updates localizations for headers related to hierarchy names in a spreadsheet.
Search Localisations: Verifies if localisations have been successfully created.
Campaign create draft: Initiates the creation of a campaign with project type, name, start/end dates, delivery rules, and selected boundaries.
Campaign search: Searches the drafted campaign
Template Generate API - boundary: Generates a template for uploading targets.
Template Download API - boundary: Retrieves Filestore ID generated from template generate API for boundary templates.
Get Excel: Fetches and downloads the Excel file associated with a Filestore ID.
Filestore upload: Uploads a target file by filling in all necessary data.
Template Generate API - facility: Generates a template for uploading facilities.
16.Template Download API - facility: Retrieves Filestore ID generated from Template Generate API for facility templates.
Get Excel: Fetches and downloads the Excel file associated with a Filestore ID.
Filestore upload: Uploads a facility file by filling in all necessary data.
Template Generate API - user: Generates a template for uploading users.
Template Download API - user: Retrieves Filestore ID generated from Template Generate API for user templates.
Get Excel: Fetches and downloads the Excel file associated with a Filestore ID.
Filestore upload: Uploads a user file by filling in all necessary data.
Validate resource boundary: Checks the correctness of an uploaded boundary file.
Search API: Searches for the validated boundary file.
Validate resource facility: Checks the correctness of an uploaded facility file.
Search API: Searches for the validated facility file.
Validate resource user: Checks the correctness of an uploaded user file.
Search API: Searches for the validated user file.
Campaign create: Creates a campaign using resource IDs and Filestore IDs validated through previous APIs.
Campaign search API: Searches for a campaign and checks its status (creating, created, or failed).
Search API - user creds: Fetches user credentials resource ID.
Check user creds Excel.
Facility bednet for MZ
Storing Resource
Permanent
200
ADMIN_MO
Active
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
ADMIN_MO_07_06_03_KLAGBE CLINIC
Inactive
Facility bednet for MZ
Storing Resource
Permanent
200
ADMIN_MO
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
ADMIN_MO_07_06_03_KLAGBE CLINIC
Facility bednet for MZ
Storing Resource
Permanent
200
ADMIN_MO
Inactive
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
ADMIN_MO_07_06_YARNEE
Inactive
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
ADMIN_MO_07_06_03_KLAGBE CLINIC
Inactive
Facility bednet for MZ
Storing Resource
Permanent
200
Active
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
Inactive
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
Inactive
FAC1
Storing Resource
Permanent
200
ADMIN_MO
Active
FAC1
Storing Resource
Permanent
200
ADMIN_MO_07_06_YARNEE
Active
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
ADMIN_MO_07_06_03_KLAGBE CLINIC
Inactive
Storing Resource
Permanent
200
ADMIN_MO
Active
Storing Resource
Permanent
200
ADMIN_MO_07_06_YARNEE
Inactive
Storing Resource
Permanent
200
ADMIN_MO_07_06_03_KLAGBE CLINIC
Inactive
//////
Storing Resource
Permanent
200
ADMIN_MO
Active
Facility bednet for MZ
Permanent
200
ADMIN_MO
Active
Facility bednet MDA-LF-Nairobi
Permanent
200
ADMIN_MO_07_06_YARNEE
Inactive
Facility bednet MDA-LF-Nairobi
Permanent
200
ADMIN_MO_07_06_03_KLAGBE CLINIC
Inactive
Facility bednet for MZ
Storing Resource
200
ADMIN_MO
Active
Facility bednet MDA-LF-Nairobi
Storing Resource
200
ADMIN_MO_07_06_YARNEE
Inactive
Facility bednet MDA-LF-Nairobi
Storing Resource
200
ADMIN_MO_07_06_03_KLAGBE CLINIC
Inactive
Facility bednet for MZ
Storing Resource
Permanent
-11
ADMIN_MO
Active
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
0
ADMIN_MO_07_06_YARNEE
Inactive
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
12/03/24
ADMIN_MO_07_06_03_KLAGBE CLINIC
Inactive
Facility bednet for MZ
Storing Resource
Permanent
200
2454
Active
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
aaa
Inactive
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
111 CLINIC
Inactive
Name | 5555627761 | Distributor | Permanent | ADMIN_MO_07_MAPUTO CITY |
Name | 5555627761 | Distributor | Permanent | ADMIN_MO_07_MAPUTO CITY |
5555627761 | Distributor | Permanent | ADMIN_MO_07_MAPUTO CITY |
N | 5555627761 | Distributor | Permanent | ADMIN_MO_07_MAPUTO CITY |
Name | Distributor | Permanent | ADMIN_MO_07_MAPUTO CITY |
Name | 6347374 | Distributor | Temporary | ADMIN_MO_07_MAPUTO CITY |
Name1 | ABC23 | Distributor | Permanent | ADMIN_MO_07_MAPUTO CITY |
Name | 6347374748 | Distributor | Temporary | ADMIN_MO_07_MAPUTO CITY |
Name1 | 6347374748 | Distributor | Permanent | ADMIN_MO_07_MAPUTO CITY |
Name | 6347374748 | Temporary | ADMIN_MO_07_MAPUTO CITY |
Name1 | 6347374748 | Permanent | ADMIN_MO_07_MAPUTO CITY |
Name | 6347374748 | Distributor | ADMIN_MO_07_MAPUTO CITY |
Name1 | 6347374748 | Distributor | ADMIN_MO_07_MAPUTO CITY |
Name | 6347374748 | Distributor | Temporary |
Name1 | 6347374748 | Distributor | Permanent |
Name | 6347374748 | Distributor | Temporary | ABC |
Name1 | 6347374748 | Distributor | Permanent | 111 |
Facility bednet for MZ
Storing Resource
Permanent
200
ADMIN_MO
Active
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
ADMIN_MO_07_06_YARNEE
Inactive
Facility bednet MDA-LF-Nairobi
Storing Resource
Permanent
200
ADMIN_MO_07_06_03_KLAGBE CLINIC
Inactive