masterdata.FilterMachineSpec.FilterMachineSpec.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!
FilterMachineSpec:
Masterdata_FilterMachineSpec_Valid_Smoke:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_01
description: Filter Machine Spec details by all valid data
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/FilterMachineSpec/filterMachineSpecResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "HP"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "HP"
}
]
}'
Masterdata_FilterMachineSpec_Valid_col_as_name_filterType_all:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_02
description: Filter Machine Spec details by type all valid columnName and text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/FilterMachineSpec/filterMachineSpecResult
input: '{
"filters": [{
"columnName": "name",
"type": "all",
"text": "HP"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "HP"
}
]
}'
Masterdata_FilterMachineSpec_Valid_name_tro_filterType_all:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_03
description: Filter Machine Spec details by type all valid columnName and text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/FilterMachineSpec/filterMachineSpecResult
input: '{
"filters": [{
"columnName": "name",
"type": "all",
"text": "HP"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "$IGNORE$"
}
]
}'
Masterdata_FilterMachineSpec_Valid_name_tro_filterType_unique:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_04
description: Filter Machine Spec details by filter type unique valid columnName and text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/FilterMachineSpec/filterMachineSpecResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "HP"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "name",
"fieldValue": "$IGNORE$"
}
]
}'
Masterdata_FilterMachineSpec_Valid_col_brand:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_05
description: Filter Machine Spec details by filter type unique valid columnName brand and text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/FilterMachineSpec/filterMachineSpecResult
input: '{
"filters": [{
"columnName": "brand",
"type": "unique",
"text": "HP"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "brand",
"fieldValue": "$IGNORE$"
}
]
}'
Masterdata_FilterMachineSpec_Valid_col_model:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_06
description: Filter Machine Spec details by filter type all valid columnName model and text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/FilterMachineSpec/filterMachineSpecResult
input: '{
"filters": [{
"columnName": "model",
"type": "all",
"text": "1234"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"filters": [
{
"fieldID": "model",
"fieldValue": "1234"
}
]
}'
Masterdata_FilterMachineSpec_Valid_filterText_blank:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_07
description: Filter Machine Spec details by filter type unique valid columnName and blank text
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/FilterMachineSpec/filterMachineSpecResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": ""
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
Masterdata_FilterMachineSpec_inValid_filterType_blank:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_08
description: Filter Machine Spec details by filter type empty valid columnName and text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "",
"text": "POA"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-322",
"message": "Filter Type cannot be empty or null"
}
]
}'
Masterdata_FilterMachineSpec_inValid_filterColumnName_blank:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_09
description: Filter Machine Spec details by filter type all blank columnName and valid text
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "",
"type": "unique",
"text": "POA"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "request.filters[0].columnName: must not be blank"
}
]
}'
Masterdata_FilterMachineSpec_inValid_RequestTime_format:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_10
description: Filter Machine Spec details by invalid requesttime format
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "POA"
}],
"languageCode": "eng",
"requesttime": "2018-12-1006:12:52.994Z"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-999",
"message": "Invalid Format in field : requesttime"
}
]
}'
Masterdata_FilterMachineSpec_inValid_filterColumnName:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_11
description: Filter Machine Spec details by invalid columnName
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "fbheafg",
"type": "unique",
"text": "POA"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-317"
}
]
}'
Masterdata_FilterMachineSpec_inValid_filterType:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_12
description: Filter Machine Spec details by invalid filter type
role: admin
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/error
input: '{
"filters": [{
"columnName": "name",
"type": "fbheafg",
"text": "POA"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
"errors": [
{
"errorCode": "KER-MSD-324",
"message": "Received Filter Type not supported"
}
]
}'
Masterdata_FilterMachineSpec_inValid_FilterText:
endPoint: /v1/masterdata/machinespecifications/filtervalues
uniqueIdentifier: TC_Masterdata_FilterMachineSpec_13
description: Filter Machine Spec details by invalid filter text value
role: admin
checkErrorsOnlyInResponse: true
templateFields: ["languageCode"]
restMethod: post
inputTemplate: masterdata/FilterMachineSpec/filterMachineSpec
outputTemplate: masterdata/NilFilterResult
input: '{
"filters": [{
"columnName": "name",
"type": "unique",
"text": "fbheafg"
}],
"languageCode": "eng",
"requesttime": "$TIMESTAMP$"
}'
output: '{
}'
© 2015 - 2025 Weber Informatics LLC | Privacy Policy