masterdata.GenderSearch.GenderSearch.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!
GenderSearch:
Masterdata_GenderSearch_Valid_Smoke:
endPoint: /v1/masterdata/gendertypes/search
uniqueIdentifier: TC_Masterdata_GenderSearch_01
description: Search gender details by all valid data
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderSearch/search
outputTemplate: masterdata/GenderSearch/searchResult
input: '{
"filters": [],
"sort": [{
"sortField": "genderName",
"sortType": "ASC"
}],
"pageStart": 0,
"pageFetch": 10,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
Masterdata_GenderSearch_valid_lang:
endPoint: /v1/masterdata/gendertypes/search
uniqueIdentifier: TC_Masterdata_GenderSearch_02
description: Search gender details by languageCode
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderSearch/search
outputTemplate: masterdata/GenderSearch/searchResult
input: '{
"filters": [{
"columnName": "code",
"type": "equals",
"value": "FLE"
}
],
"sort": [
{
"sortField": "genderName",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 10,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
Masterdata_GenderSearch_Valid_langCodeAsEng_sortBy_code:
endPoint: /v1/masterdata/gendertypes/search
uniqueIdentifier: TC_Masterdata_GenderSearch_03
description: Search gender details by languageCode eng and sort by sortType ASC order
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderSearch/search
outputTemplate: masterdata/GenderSearch/searchResult
input: '{
"filters": [],
"sort": [{
"sortField": "code",
"sortType": "ASC"
}],
"pageStart": 0,
"pageFetch": 10,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
Masterdata_GenderSearch_InvalidSortFieldAsEmpty:
endPoint: /v1/masterdata/gendertypes/search
uniqueIdentifier: TC_Masterdata_GenderSearch_04
description: Search gender details by languageCode eng and empty sortField
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderSearch/search
outputTemplate: masterdata/error
input: '{
"filters": [],
"sort": [{
"sortField": "",
"sortType": "ASC"
}],
"pageStart": 0,
"pageFetch": 10,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-314",
"message": "Missing sort field or sort type values"
}
]
}'
Masterdata_GenderSearch_InvalidSortFieldAsNonExisting:
endPoint: /v1/masterdata/gendertypes/search
uniqueIdentifier: TC_Masterdata_GenderSearch_05
description: Search gender details by languageCode eng and invalid sortField
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderSearch/search
outputTemplate: masterdata/error
input: '{
"filters": [],
"sort": [{
"sortField": "is_Active",
"sortType": "ASC"
}],
"pageStart": 0,
"pageFetch": 10,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-357",
"message": "Invalid sort field is_Active"
}
]
}'
Masterdata_GenderSearch_InvalidSortTypeAsEmpty:
endPoint: /v1/masterdata/gendertypes/search
uniqueIdentifier: TC_Masterdata_GenderSearch_06
description: Search gender details by languageCode eng and empty sortType
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderSearch/search
outputTemplate: masterdata/error
input: '{
"filters": [],
"sort": [{
"sortField": "genderName",
"sortType": ""
}],
"pageStart": 0,
"pageFetch": 10,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-314",
"message": "Missing sort field or sort type values"
}
]
}'
Masterdata_GenderSearch_InvalidRequestTimeAsEmpty:
endPoint: /v1/masterdata/gendertypes/search
uniqueIdentifier: TC_Masterdata_GenderSearch_07
description: Search gender details by languageCode eng and empty requesttime
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderSearch/search
outputTemplate: masterdata/error
input: '{
"filters": [],
"sort": [{
"sortField": "genderName",
"sortType": "ASC"
}],
"pageStart":0,
"pageFetch": 10,
"languageCode": "eng",
"requesttime": ""
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : requesttime"
}
]
}'
Masterdata_GenderSearch_Valid_Searchby_code_FLE:
endPoint: /v1/masterdata/gendertypes/search
uniqueIdentifier: TC_Masterdata_GenderSearch_08
description: Search gender details by languageCode eng and code FLE(female)
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/GenderSearch/search
outputTemplate: masterdata/GenderSearch/searchResult
input: '{
"filters": [ {
"columnName": "code",
"type": "equals",
"value": "FLE"
}],
"sort": [{
"sortField": "genderName",
"sortType": "ASC"
}],
"pageStart":0,
"pageFetch": 10,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy