masterdata.FilterDynamicField.FilterDynamicField.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!
FilterDynamicField:
MasterData_FilterDynamicField_Valid_Smoke:
endPoint: /v1/masterdata/dynamicfields/filtervalues
uniqueIdentifier: TC_Masterdata_FilterDynamicField_01
description: Filter Dynamic Fields By all valid data
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterDynamicField/filterDynamicField
outputTemplate: masterdata/FilterDynamicField/filterDynamicFieldResult
input: '{
"filters": [{
"columnName": "isActive",
"type": "unique",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "isActive",
"fieldValue": "true"
},
{
"fieldID": "isActive",
"fieldValue": "false"
}
],
"errors": null
}'
MasterData_FilterDynamicField_Invalid_RequestTime:
endPoint: /v1/masterdata/dynamicfields/filtervalues
uniqueIdentifier: TC_Masterdata_FilterDynamicField_02
description: Filter Dynamic Fields By invalid requesttime format
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterDynamicField/filterDynamicField
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "isActive",
"type": "unique",
"text": ""
}],
"languageCode": "eng",
"requesttime": "2019-7-3T05:22:35.845"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : requesttime"
}
]
}'
MasterData_FilterDynamicField_InValid_FilterType:
endPoint: /v1/masterdata/dynamicfields/filtervalues
uniqueIdentifier: TC_Masterdata_FilterDynamicField_03
description: Filter Dynamic Fields By invalid type
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterDynamicField/filterDynamicField
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "iSActive",
"type": "between",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-324",
"message": "Received Filter Type not supported"
}
]
}'
MasterData_FilterDynamicField_Blank_FilterType:
endPoint: /v1/masterdata/dynamicfields/filtervalues
uniqueIdentifier: TC_Masterdata_FilterDynamicField_04
description: Filter Dynamic Fields By empty type
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterDynamicField/filterDynamicField
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "isActive",
"type": "",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
MasterData_FilterDynamicField_InValid_columnName:
endPoint: /v1/masterdata/dynamicfields/filtervalues
uniqueIdentifier: TC_Masterdata_FilterDynamicField_05
description: Filter Dynamic Fields By empty text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterDynamicField/filterDynamicField
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "lang_code",
"type": "unique",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy