masterdata.DeviceTypeSearch.DeviceTypeSearch.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!
DeviceTypeSearch:
MasterData_DeviceTypeSearch_Equals_Name_eng_smoke:
endPoint: /v1/masterdata/devicetypes/search
uniqueIdentifier: TC_Masterdata_DeviceTypeSearch_01
description: Search Device type with columnName name and type equals
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearch
outputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearchResult
input: '{
"filters": [
{
"columnName": "name",
"type": "equals",
"value": "Finger Print Scanner",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "name",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"data": [
{
"isActive": "$IGNORE$",
"createdBy": "$IGNORE$",
"code": "FRS",
"langCode": "$IGNORE$",
"name": "$IGNORE$",
"description": "$IGNORE$"
}
]
}'
MasterData_DeviceTypeSearch_Equals_isActive_eng_smoke:
endPoint: /v1/masterdata/devicetypes/search
uniqueIdentifier: TC_Masterdata_DeviceTypeSearch_02
description: Search Device type with columnName isActive and type Equals
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearch
outputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearchResult
input: '{
"filters": [
{
"columnName": "isActive",
"type": "equals",
"value": "true",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
},
{
"columnName": "name",
"type": "equals",
"value": "GST",
"fromValue": "string",
"toValue": "string"
}
],
"sort": [
{
"sortField": "name",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
MasterData_DeviceTypeSearch_Contains_Name_eng_smoke:
endPoint: /v1/masterdata/devicetypes/search
uniqueIdentifier: TC_Masterdata_DeviceTypeSearch_03
description: Search Device type with columnName name and type contains
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearch
outputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearchResult
input: '{
"filters": [
{
"columnName": "name",
"type": "contains",
"value": "Finger Print Scanner",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "name",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"data": [
{
"isActive": "$IGNORE$",
"createdBy": "$IGNORE$",
"code": "FRS",
"langCode": "$IGNORE$",
"name": "$IGNORE$",
"description": "$IGNORE$"
}
]
}'
MasterData_DeviceTypeSearch_startsWith_Name_eng_smoke:
endPoint: /v1/masterdata/devicetypes/search
uniqueIdentifier: TC_Masterdata_DeviceTypeSearch_04
description: Search Device type with columnName name and type startsWith
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearch
outputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearchResult
input: '{
"filters": [
{
"columnName": "name",
"type": "startsWith",
"value": "Finger Print Scanner",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "name",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
MasterData_DeviceTypeSearch_Invalid_Value_Name_smoke:
endPoint: /v1/masterdata/devicetypes/search
uniqueIdentifier: TC_Masterdata_DeviceTypeSearch_05
description: Search Device type with invalid columnName name
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["value"]
restMethod: post
inputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearch
outputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearchResult
input: '{
"filters": [
{
"columnName": "name",
"type": "equals",
"value": "GST1",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "name",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
MasterData_DeviceTypeSearch_Invalid_ColumnName_neg:
endPoint: /v1/masterdata/devicetypes/search
uniqueIdentifier: TC_Masterdata_DeviceTypeSearch_06
description: Search Device type with invalid columnName
role: admin
templateFields: ["value"]
restMethod: post
inputTemplate: masterdata/DeviceTypeSearch/deviceTypeSearch
outputTemplate: masterdata/error
input: '{
"filters": [
{
"columnName": "12abcd21",
"type": "equals",
"value": "GST",
"fromValue": "$REMOVE$",
"toValue": "$REMOVE$"
}
],
"sort": [
{
"sortField": "name",
"sortType": "ASC"
}
],
"pageStart": 0,
"pageFetch": 1,
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317"
}
]
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy