masterdata.GenderFilter.GenderFilter.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!
GenderFilter:
Masterdata_GenderFilter_Valid_col_name_withText:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_01
description: Filter gender details with valid data
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/GenderFilter/genderFilterResult
input: '{
"filters": [{
"columnName": "genderName",
"type": "All",
"text": "TestGenderName"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "genderName",
"fieldValue": "$IGNORE$"
}
]
}'
Masterdata_GenderFilter_ValidColNameAsCodeForAllType_Request_Contains_Smoke:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_02
description: Filter gender details valid columnName code,, type all
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/GenderFilter/genderFilterResult
input: '{
"filters": [{
"columnName": "code",
"type": "All",
"text": "Genderdummy"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "code",
"fieldValue": "Genderdummy"
}
]
}'
Masterdata_GenderFilter_ValidColNameAsCodeForUniqueType_Request_Contains_Smoke:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_03
description: Filter gender details by valid columnName code, type unique
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/GenderFilter/genderFilterResult
input: '{
"filters": [{
"columnName": "code",
"type": "unique",
"text": "Genderdummy"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "code",
"fieldValue": "Genderdummy"
}
]
}'
Masterdata_GenderFilter_ValidTextAsEmpty_Smoke:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_04
description: Filter gender details by empty filter type
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "code",
"type": "",
"text": "Genderdummy"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
Masterdata_GenderFilter_ValidColNameAsLangCodeForAllType_Request_Contains_Smoke:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_05
description: Filter gender details by filter langCode and type all
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/GenderFilter/genderFilterResult
input: '{
"filters": [{
"columnName": "langCode",
"type": "All",
"text": "true"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": []
}'
Masterdata_GenderFilter_InValidColumnNameAsEmpty:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_06
description: Filter gender details by empty columnName
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "",
"type": "All",
"text": "TestGenderName"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.filters[0].columnName: must not be blank"
}
]
}'
Masterdata_GenderFilter_InValidColumnNameAsNonExistingValue:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_07
description: Filter gender details by non existing columnName
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "lang_code",
"type": "All",
"text": "TestGenderName"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317",
"message": "$IGNORE$"
}
]
}'
Masterdata_GenderFilter_InValidTypeAsNonExisting:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_08
description: Filter gender details by non existing filter type
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "genderName",
"type": "between",
"text": "TestGenderName"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-324",
"message": "Received Filter Type not supported"
}
]
}'
Masterdata_GenderFilter_InValidTextAsNonExisting:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_09
description: Filter gender details by non existing filter text
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/GenderFilter/genderFilterResult
input: '{
"filters": [{
"columnName": "genderName",
"type": "All",
"text": "abdhsg"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": []
}'
Masterdata_GenderFilter_InValidRequestTimeAsEmpty:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_10
description: Filter gender details by invalid requesttime format
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "genderName",
"type": "All",
"text": "TestGenderName"
}],
"languageCode": "eng",
"requesttime": ""
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : requesttime"
}
]
}'
Masterdata_GenderFilter_InValidTypeAsEmpty:
endPoint: /v1/masterdata/gendertypes/filtervalues
uniqueIdentifier: TC_Masterdata_GenderFilter_11
description: Filter gender details by empty filter type
role: admin
templateFields: ["text"]
restMethod: post
inputTemplate: masterdata/GenderFilter/genderFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "genderName",
"type": "",
"text": "TestGenderName"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy