All Downloads are FREE. Search and download functionalities are using the official Maven repository.

masterdata.SearchMachineSpec.SearchMachineSpec.yml Maven / Gradle / Ivy

The newest version!
SearchMachineSpec:
   Masterdata_SearchMachineSpec_Equals_Name_eng_smoke:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_01
      description: Search for machine spec details where the name parameter equals the specified condition
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/SearchMachineSpec/searchMachineSpecResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "equals",
        "value": "HP",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "name",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"data": [{
	"id": "$IGNORE$",
	"name": "HP",
	"brand": "HP",
	"model": "1234",
	"machineTypeCode": "$IGNORE$",
	"minDriverversion": "3.2",
	"description": "HP brand",
	"isActive": "$IGNORE$"
	}]
}'
   Masterdata_SearchMachineSpec_Valid_sortType_DESC:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_02
      description: Search for machine spec details sorted in descending order
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/SearchMachineSpec/searchMachineSpecResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "equals",
        "value": "HP",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "DESC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"data": [{
	"id": "$IGNORE$",
	"name": "HP",
	"brand": "HP",
	"model": "1234",
	"machineTypeCode": "$IGNORE$",
	"minDriverversion": "3.2",
	"description": "HP brand",
	"isActive": "$IGNORE$"
	}]
}'
   Masterdata_SearchMachineSpec_Valid_col_as_Model:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_03
      description: Search for machine spec details with condition column as model
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/SearchMachineSpec/searchMachineSpecResult
      input: '{
    "filters": [
      {
        "columnName": "model",
        "type": "equals",
        "value": "1234",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "model",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"data": [{
	"id": "$IGNORE$",
	"name": "HP",
	"brand": "HP",
	"model": "1234",
	"machineTypeCode": "$IGNORE$",
	"minDriverversion": "3.2",
	"description": "HP brand",
	"isActive": "$IGNORE$"
	}]
}'
   Masterdata_SearchMachineSpec_Valid_col_as_Brand:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_04
      description: Search for machine spec details with condition column as brand
      role: admin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/SearchMachineSpec/searchMachineSpecResult
      input: '{
    "filters": [
      {
        "columnName": "brand",
        "type": "equals",
        "value": "HP",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "brand",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"data": [{
	"id": "$IGNORE$",
	"name": "$IGNORE$",
	"brand": "HP",
	"model": "$IGNORE$",
	"machineTypeCode": "$IGNORE$",
	"minDriverversion": "$IGNORE$",
	"description": "$IGNORE$",
	"isActive": "$IGNORE$"
	}]
}'
   Masterdata_SearchMachineSpec_Valid_col_as_isActive:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_05
      description: Search for machine spec details with condition column as is active
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/SearchMachineSpec/searchMachineSpecResult
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachineSpec_Valid_col_as_Name_FltrTyp_startsWith:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_06
      description: Search for machine spec details where the condition column name is name and the filter type is starts with
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/SearchMachineSpec/searchMachineSpecResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "startsWith",
        "value": "H",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"data": [{
	"id": "$IGNORE$",
	"name": "HP",
	"brand": "HP",
	"model": "1234",
	"machineTypeCode": "$IGNORE$",
	"minDriverversion": "3.2",
	"description": "HP brand",
	"isActive": "$IGNORE$"
	}]
}'
   Masterdata_SearchMachineSpec_Valid_col_as_Name_FltrTyp_contains:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_07
      description: Search for machine spec details where the condition column name is name and the filter type is contains
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/SearchMachineSpec/searchMachineSpecResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "contains",
        "value": "P",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"data": [{
	"id": "$IGNORE$",
	"name": "HP",
	"brand": "HP",
	"model": "1234",
	"machineTypeCode": "$IGNORE$",
	"minDriverversion": "3.2",
	"description": "HP brand",
	"isActive": "$IGNORE$"
	}]
}'
   Masterdata_SearchMachineSpec_inValid_columnName_blank:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_08
      description: Search for machine spec details with column name as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-311",
      "message": "Column is missing in request"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_columnName:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_09
      description: Search for machine spec details with invalid column name
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "abdcde",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-317",
      "message": "$IGNORE$"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_filter_value:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_10
      description: Search for machine spec details with invalid filter value
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "abded",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-390",
      "message": "Invalid filter value"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_filter_value_blank:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_11
      description: Search for machine spec details with filter value as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-390",
      "message": "Invalid filter value"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_sortField:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_12
      description: Search for machine spec details with invalid sort field
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "fbheafg",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-357",
      "message": "Invalid sort field fbheafg"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_sortType:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_13
      description: Search for machine spec details with invalid sort type
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "fbheafg"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-358",
      "message": "Sort type fbheafg is not supported"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_sortField_blank:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_14
      description: Search for machine spec details with sort field as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-314",
      "message": "Missing sort field or sort type values"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_sortType_blank:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_15
      description: Search for machine spec details with sort type as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": ""
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-314",
      "message": "Missing sort field or sort type values"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_pagesize:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_16
      description: Search for machine spec details with invalid page size
      role: admin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": -1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-313",
      "message": "$IGNORE$"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_filterType_blank:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_17
      description: Search for machine spec details with filter type as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-312",
      "message": "Filter type is missing"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_filterType:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_18
      description: Search for machine spec details with invalid filter type
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "fbheafg",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-318",
      "message": "$IGNORE$"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_requestTime_format:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_19
      description: Search for machine spec details with invalid request time format
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "equals",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "2018-12-10 06:12:52.994Z"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "Invalid Format in field : requesttime"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_typeFilter_contains:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_20
      description: Search for machine spec details with an invalid condition where the type filter contains specific criteria
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "contains",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-318",
      "message": "$IGNORE$"
    }
  ]
}'
   Masterdata_SearchMachineSpec_inValid_typeFilter_startsWith:
      endPoint: /v1/masterdata/machinespecifications/search
      uniqueIdentifier: TC_Masterdata_SearchMachineSpec_21
      description: Search for machine spec details with an invalid condition where the type filter starts with specific criteria
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachineSpec/searchMachineSpec
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "isActive",
        "type": "startsWith",
        "value": "true",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [{
        "sortField": "name",
        "sortType": "ASC"
      }],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-318",
      "message": "$IGNORE$"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy