masterdata.DeviceFilter.DeviceFilter.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!
DeviceFilter:
MasterData_DeviceFilter_Name_eng_Unique_smoke:
endPoint: /v1/masterdata/devices/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceFilter_01
description: Filter devices by columnName name with type unique
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceFilter/deviceFilter
outputTemplate: masterdata/DeviceFilter/deviceFilterResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "Mock IRIS Scanner"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "Mock IRIS Scanner"
}
]
}'
MasterData_DeviceFilter_Name_eng_All_smoke:
endPoint: /v1/masterdata/devices/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceFilter_02
description: Filter devices by columnName name and type all
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceFilter/deviceFilter
outputTemplate: masterdata/DeviceFilter/deviceFilterResult
input: '{
"filters": [{
"columnName": "name",
"type": "all",
"text": "Mock IRIS Scanner"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "Mock IRIS Scanner"
}
]
}'
MasterData_DeviceFilter_MacAddress_Unique_smoke:
endPoint: /v1/masterdata/devices/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceFilter_03
description: Filter devices by columnName macAddress and type unique
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceFilter/deviceFilter
outputTemplate: masterdata/DeviceFilter/deviceFilterResult
input: '{
"filters": [{
"columnName": "macAddress",
"type": "unique",
"text": "D4-3D-7E-C0-8C-4A"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "macAddress",
"fieldValue": "D4-3D-7E-C0-8C-4A"
}
]
}'
MasterData_DeviceFilter_MacAddress_All_smoke:
endPoint: /v1/masterdata/devices/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceFilter_04
description: Filter devices by macAddress with type all
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceFilter/deviceFilter
outputTemplate: masterdata/DeviceFilter/deviceFilterResult
input: '{
"filters": [{
"columnName": "macAddress",
"type": "all",
"text": "D4-3D-7E-C0-8C-4A"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "macAddress",
"fieldValue": "D4-3D-7E-C0-8C-4A"
}
]
}'
MasterData_DeviceFilter_SerialNum_Unique_smoke:
endPoint: /v1/masterdata/devices/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceFilter_05
description: Filter devices by columnName serialNum with type Unique
role: globalAdmin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceFilter/deviceFilter
outputTemplate: masterdata/DeviceFilter/deviceFilterResult
input: '{
"filters": [{
"columnName": "serialNum",
"type": "unique",
"text": "12.68498.96"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
MasterData_DeviceFilter_Invalid_RequestTime:
endPoint: /v1/masterdata/devices/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceFilter_06
description: Filter devices by invalid Request Time
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceFilter/deviceFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "Mock IRIS Scanner"
}],
"languageCode": "eng",
"requesttime": "2019-7-3T05:22:35.845"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : requesttime"
}
]
}'
MasterData_DeviceFilter_inValid_columnName:
endPoint: /v1/masterdata/devices/filtervalues
uniqueIdentifier: TC_Masterdata_DeviceFilter_07
description: Filter devices by invalid columnName
role: globalAdmin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceFilter/deviceFilter
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "fbheafg",
"type": "unique",
"text": "Mock IRIS Scanner"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy