masterdata.DeviceSpecFilter.DeviceSpecFilter.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!
DeviceSpecFilter:
MasterData_DeviceSpecFilter_Unique_Name_eng_smoke:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_01
description: Filter Device Specification by columnName name with type unique
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilterResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "Fingerprint Scanner"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "Fingerprint Scanner"
}
]
}'
MasterData_DeviceSpecFilter_All_Name_eng_smoke:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_02
description: Filter Device Specification by columnName name with type all
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilterResult
input: '{
"filters": [{
"columnName": "name",
"type": "all",
"text": "Fingerprint Scanner"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "Fingerprint Scanner"
}
]
}'
MasterData_DeviceSpecFilter_Unique_Brand_eng_smoke:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_03
description: Filter Device Specification by columnName brand and type unique
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilterResult
input: '{
"filters": [{
"columnName": "brand",
"type": "unique",
"text": "Techno DeviceSpec"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "brand",
"fieldValue": "Techno DeviceSpec"
}
]
}'
MasterData_DeviceSpecFilter_All_Brand_eng_smoke:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_04
description: Filter Device Specification by columnName brand and type all
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/NilFilterResult
input: '{
"filters": [{
"columnName": "brand",
"type": "all",
"text": "hogwarts"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"totalCount": "0"
}'
MasterData_DeviceSpecFilter_Unique_Model_smoke:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_05
description: Filter Device Specification by columnName model and type unique
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilterResult
input: '{
"filters": [{
"columnName": "model",
"type": "unique",
"text": "2020"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "model",
"fieldValue": "2020"
}
]
}'
MasterData_DeviceSpecFilter_Unique_IsActive_smoke:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_06
description: Filter Device Specification by columnName isActive with type unique
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilterResult
input: '{
"filters": [{
"columnName": "isActive",
"type": "unique",
"text": "true"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "isActive",
"fieldValue": "true"
}
]
}'
MasterData_DeviceSpecFilter_Invalid_RequestTime_neg:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_07
description: Filter Device Specification by invalid requesttime
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "Cam"
}],
"languageCode": "eng",
"requesttime": "2019-7-3T05:22:35.845"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : requesttime"
}
]
}'
MasterData_DeviceSpecFilter_Invalid_Value_Name_neg:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_08
description: Filter Device Specification by columnName name and invalid text
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilterResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "Language"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
MasterData_DeviceSpecFilter_Invalid_FilterType_neg:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_09
description: Filter Device Specification by columnName name with invalid text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "equal",
"text": "Cam"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-324",
"message": "Received Filter Type not supported"
}
]
}'
MasterData_DeviceSpecFilter_inValid_blank_FilterType_neg:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_10
description: Filter Device Specification by columnName name and empty type
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "",
"text": "Cam"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
MasterData_DeviceSpecFilter_inValid_columnName:
endPoint: /v1/masterdata/devicespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceSpecFilter_11
description: Filter Device Specification by invalid columnName
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceSpecFilter/deviceSpecFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "fbheafg",
"type": "unique",
"text": "Cam"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy