masterdata.ValidDocument.CreateValidDocument.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!
CreateValidDocument:
MasterData_CreateValidDocument_All_Valid_Smoke:
endPoint: /v1/masterdata/validdocuments
uniqueIdentifier: TC_Masterdata_CreateValidDocument_01
description: Create valid document details with valid data
role: admin
restMethod: post
inputTemplate: masterdata/ValidDocument/validDocument
outputTemplate: masterdata/ValidDocument/validDocumentResult
input: '{
"docTypeCode": "doc_auto_test",
"docCategoryCode": "POA",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"docTypeCode": "doc_auto_test",
"docCategoryCode": "POA"
}'
MasterData_CreateValidDocument_Invalid_InputParameter_docTypeCode_Missing:
endPoint: /v1/masterdata/validdocuments
uniqueIdentifier: TC_Masterdata_CreateValidDocument_02
description: Create valid document details with the parameter document type code as missing
role: admin
restMethod: post
inputTemplate: masterdata/ValidDocument/validDocument
outputTemplate: masterdata/error
input: '{
"docTypeCode": "",
"docCategoryCode": "POA",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.docTypeCode: Should not be blank or size must be between 1 and 36"
}
]
}'
MasterData_CreateValidDocument_Invalid_InputParameter_docCategoryCode_Missing:
endPoint: /v1/masterdata/validdocuments
uniqueIdentifier: TC_Masterdata_CreateValidDocument_03
description: Create valid document details with the parameter document category code as missing
role: admin
restMethod: post
inputTemplate: masterdata/ValidDocument/validDocument
outputTemplate: masterdata/error
input: '{
"docTypeCode": "doc_auto_test",
"docCategoryCode": "",
"isActive": true,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.docCategoryCode: Should not be blank or size must be between 1 and 36"
}
]
}'
MasterData_CreateValidDocument_Invalid_isActive:
endPoint: /v1/masterdata/validdocuments
uniqueIdentifier: TC_Masterdata_CreateValidDocument_04
description: Create valid document details with parameter is active as invalid
role: admin
restMethod: post
inputTemplate: masterdata/ValidDocument/validDocument
outputTemplate: masterdata/error
input: '{
"docTypeCode": "doc_auto_test",
"docCategoryCode": "POA",
"isActive": abc,
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : "
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy