masterdata.FilterTemplateDetails.FilterTemplateDetails.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!
FilterTemplateDetails:
MasterData_FilterTemplateDetails_All_Valid_Smoke:
endPoint: /v1/masterdata/templates/filtervalues
uniqueIdentifier: TC_Masterdata_FilterTemplateDetails_01
description: Filter Template details by filter type unique and all valid data
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetails
outputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetailsResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "test template"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "$IGNORE$",
"fieldValue": "$IGNORE$"
}
]
}'
MasterData_FilterTemplateDetails_FilterType_all:
endPoint: /v1/masterdata/templates/filtervalues
uniqueIdentifier: TC_Masterdata_FilterTemplateDetails_02
description: Filter Template details by filter type all and valid data
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetails
outputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetailsResult
input: '{
"filters": [{
"columnName": "name",
"type": "all",
"text": "test template"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "$IGNORE$",
"fieldValue": "$IGNORE$"
}
]
}'
MasterData_FilterTemplateDetails_Invalid_filterType:
endPoint: /v1/masterdata/templates/filtervalues
uniqueIdentifier: TC_Masterdata_FilterTemplateDetails_03
description: Filter Template details by invalid filter type value
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetails
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "ghji",
"text": "authorization"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-324",
"message": "Received Filter Type not supported"
}
]
}'
MasterData_FilterTemplateDetails_invalid_text:
endPoint: /v1/masterdata/templates/filtervalues
uniqueIdentifier: TC_Masterdata_FilterTemplateDetails_04
description: Filter Template details by invalid filter text value
role: admin
checkErrorsOnlyInResponse: true
templateFields: []
restMethod: post
inputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetails
outputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetailsResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "abcsdn"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": []
}'
MasterData_FilterTemplateDetails_empty_filterType:
endPoint: /v1/masterdata/templates/filtervalues
uniqueIdentifier: TC_Masterdata_FilterTemplateDetails_05
description: Filter Template details by empty filter text value
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetails
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "",
"text": "Template for authorization"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
MasterData_FilterTemplateDetails_empty_columnName:
endPoint: /v1/masterdata/templates/filtervalues
uniqueIdentifier: TC_Masterdata_FilterTemplateDetails_06
description: Filter Template details by empty filter columnName
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetails
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "",
"type": "unique",
"text": "Template for authorization"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.filters[0].columnName: must not be blank"
}
]
}'
MasterData_FilterTemplateDetails_invalid_columnName:
endPoint: /v1/masterdata/templates/filtervalues
uniqueIdentifier: TC_Masterdata_FilterTemplateDetails_07
description: Filter Template details by invalid filter columnName
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/FilterTemplateDetails/filterTemplateDetails
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "fbheafg",
"type": "unique",
"text": "Template for authorization"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317",
"message": "$IGNORE$"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy