masterdata.UserCenterMapping.UserCenterMapping.yml Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apitest-masterdata Show documentation
Show all versions of apitest-masterdata Show documentation
Parent project of MOSIP Admin Services apitests
The newest version!
UserCenterMapping:
MasterData_UserCenterMapping_All_Valid_Smoke_FullResponse_sid:
endPoint: /v1/masterdata/usercentermapping
uniqueIdentifier: TC_Masterdata_UserCenterMapping_01
description: Create user center mapping details with valid data
role: globalAdmin
templateFields: ["name"]
restMethod: post
inputTemplate: masterdata/UserCenterMapping/userCenterMapping
outputTemplate: masterdata/UserCenterMapping/userCenterMappingResult
input: '{
"id": "$ID:CreateZoneUser_All_Valid_Smoke_Sid_userId$",
"name": "automation",
"statusCode": "active",
"regCenterId": "$ID:CreateRegCenter_allValid_smoke_sid_id$",
"isActive": true,
"langCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"name": "automation",
"statusCode": "active",
"regCenterId": "$IGNORE$",
"zoneCode": "$IGNORE$",
"zoneName": "$IGNORE$",
"regCenterName": "$IGNORE$"
}'
MasterData_UserCenterMapping_Invalid_duplicate_entry:
endPoint: /v1/masterdata/usercentermapping
uniqueIdentifier: TC_Masterdata_UserCenterMapping_02
description: Create user center mapping details with the duplicate entry
role: admin
templateFields: ["name"]
restMethod: post
inputTemplate: masterdata/UserCenterMapping/userCenterMapping
outputTemplate: masterdata/error
input: '{
"id": "auto_test_user",
"name": "automation",
"statusCode": "active",
"regCenterId": "10005",
"isActive": true,
"langCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-USR-008",
"message": "Zone user mapping not exists or not active"
}
]
}'
MasterData_UserCenterMapping_Invalid_InputParameter_regCenterId_Missing:
endPoint: /v1/masterdata/usercentermapping
uniqueIdentifier: TC_Masterdata_UserCenterMapping_03
description: Create user center mapping details with the parameter registration center ID as missing
role: admin
templateFields: ["name"]
restMethod: post
inputTemplate: masterdata/UserCenterMapping/userCenterMapping
outputTemplate: masterdata/error
input: '{
"id": "auto_test_user1",
"name": "automation",
"statusCode": "active",
"regCenterId": "",
"isActive": true,
"langCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-USR-008",
"message": "Zone user mapping not exists or not active"
}
]
}'
MasterData_UserCenterMapping_Invalid_InputParameter_Invalid_regCenterId:
endPoint: /v1/masterdata/usercentermapping
uniqueIdentifier: TC_Masterdata_UserCenterMapping_04
description: Create user center mapping details with the parameter registration center ID as invalid
role: admin
templateFields: ["name"]
restMethod: post
inputTemplate: masterdata/UserCenterMapping/userCenterMapping
outputTemplate: masterdata/error
input: '{
"id": "auto_test_user1",
"name": "automation",
"statusCode": "active",
"regCenterId": "10006",
"isActive": true,
"langCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-USR-008",
"message": "Zone user mapping not exists or not active"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy