masterdata.BiometricAttributes.BiometricAttributes.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!
BiometricAttributes:
MasterData_BiometricAttributes_All_Valid_Smoke_sid:
endPoint: /v1/masterdata/biometricattributes
uniqueIdentifier: TC_Masterdata_BiometricAttributes_01
description: Create Biometric Attribute with valid data
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["langCode"]
restMethod: post
inputTemplate: masterdata/BiometricAttributes/biometricAttributes
outputTemplate: masterdata/BiometricAttributes/biometricAttributesResult
input: '{
"code": "TST",
"name": "Test",
"description": "Auto Test",
"biometricTypeCode": "PHT",
"langCode": "eng",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"code": "TST"
}'
MasterData_BiometricAttributes_Invalid_empty_biometricTypeCode:
endPoint: /v1/masterdata/biometricattributes
uniqueIdentifier: TC_Masterdata_BiometricAttributes_02
description: Create Biometric Attributes with empty Biometric Type code value
role: admin
templateFields: ["langCode"]
restMethod: post
inputTemplate: masterdata/BiometricAttributes/biometricAttributes
outputTemplate: masterdata/error
input: '{
"code": "TST",
"name": "Test",
"description": "Auto Test",
"biometricTypeCode": "",
"langCode": "eng",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.biometricTypeCode: Should not be blank or size must be between 1 and 36"
}
]
}'
MasterData_BiometricAttributes_Invalid_biometricTypeCode:
endPoint: /v1/masterdata/biometricattributes
uniqueIdentifier: TC_Masterdata_BiometricAttributes_03
description: Create Biometric Attributes with invalid Biometric Type code value
role: admin
templateFields: ["langCode"]
restMethod: post
inputTemplate: masterdata/BiometricAttributes/biometricAttributes
outputTemplate: masterdata/error
input: '{
"code": "TST",
"name": "Test",
"description": "Auto Test",
"biometricTypeCode": "ABC",
"langCode": "eng",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-APP-103"
}
]
}'
MasterData_BiometricAttributes_empty_langCode:
endPoint: /v1/masterdata/biometricattributes
uniqueIdentifier: TC_Masterdata_BiometricAttributes_04
description: Create Biometric Attributes with empty lang code value
role: admin
restMethod: post
inputTemplate: masterdata/BiometricAttributes/biometricAttributes
outputTemplate: masterdata/error
input: '{
"code": "TST",
"name": "Test",
"description": "Auto Test",
"biometricTypeCode": "PHT",
"langCode": "",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Language Code is Invalid"
}
]
}'
MasterData_BiometricAttributes_Invalid_langCode:
endPoint: /v1/masterdata/biometricattributes
uniqueIdentifier: TC_Masterdata_BiometricAttributes_05
description: Create Biometric Attributes with invalid lang code value
role: admin
restMethod: post
inputTemplate: masterdata/BiometricAttributes/biometricAttributes
outputTemplate: masterdata/error
input: '{
"code": "TST1",
"name": "Test",
"description": "Auto Test",
"biometricTypeCode": "PHT",
"langCode": "abc",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Language Code is Invalid"
}
]
}'
MasterData_BiometricAttributes_empty_code:
endPoint: /v1/masterdata/biometricattributes
uniqueIdentifier: TC_Masterdata_BiometricAttributes_06
description: Create Biometric Attributes with empty code value
role: admin
templateFields: ["langCode"]
restMethod: post
inputTemplate: masterdata/BiometricAttributes/biometricAttributes
outputTemplate: masterdata/error
input: '{
"code": "",
"name": "Test",
"description": "Auto Test",
"biometricTypeCode": "PHT",
"langCode": "eng",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.code: Should not be blank or size must be between 1 and 36"
}
]
}'
MasterData_BiometricAttributes_Invalid_empty_name:
endPoint: /v1/masterdata/biometricattributes
uniqueIdentifier: TC_Masterdata_BiometricAttributes_07
description: Create Biometric Attributes with empty name value
role: admin
templateFields: ["langCode"]
restMethod: post
inputTemplate: masterdata/BiometricAttributes/biometricAttributes
outputTemplate: masterdata/error
input: '{
"code": "TST",
"name": "",
"description": "Auto Test",
"biometricTypeCode": "PHT",
"langCode": "eng",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.name: Should not be blank or size must be between 1 and 64"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy