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

masterdata.MachineTypeSearch.MachineTypeSearch.yml Maven / Gradle / Ivy

The newest version!
MachineTypeSearch:
   Masterdata_MachineTypeSearch_Equals_Name_eng_smoke:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_01
      description: Search for machine type with the condition that the name equals English
      role: admin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/MachineTypeSearch/machineTypeSearchResult
      input: '{
    "filters": [
      {
        "columnName": "code",
        "type": "equals",
        "value": "Laptop2",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "code",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "data": [
     {
        "isActive": "$IGNORE$",
        "createdBy": "$IGNORE$",
        "code": "Laptop2",
        "name": "$IGNORE$",
        "description": "$IGNORE$"
      }
    ]
}'
   Masterdata_MachineTypeSearch_withoutfilterValue_eng:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_02
      description: Search for machine type without filter value as English
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/MachineTypeSearch/machineTypeSearchResult
      input: '{
    "filters": [],
    "sort": [
      {
        "sortField": "code",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "data": [
     {
        "isActive": "$IGNORE$",
        "createdBy": "$IGNORE$",
        "code": "$IGNORE$",
        "langCode": "$IGNORE$",
        "name": "$IGNORE$",
        "description": "$IGNORE$"
      }
    ]
}'
   Masterdata_MachineTypeSearch_invalid_SortField:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_03
      description: Sort for machine type with invalid values
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "code",
        "type": "equals",
        "value": "Laptop-2",
        "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_MachineTypeSearch_invalid_columnName:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_04
      description: Search for machine type with invalid column name
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "fbheafg",
        "type": "equals",
        "value": "Laptop-2",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "code",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-317",
      "message": "$IGNORE$"
    }
  ]
}'
   Masterdata_MachineTypeSearch_invalid_empty_sortFieldType:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_05
      description: Sort for machine type with sort field type as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "code",
        "type": "equals",
        "value": "Laptop-2",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "code",
        "sortType": ""
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-314",
      "message": "Missing sort field or sort type values"
    }
  ]
}'
   Masterdata_MachineTypeSearch_invalid_empty_sortField:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_06
      description: Search for machine type with sort field type as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "code",
        "type": "equals",
        "value": "Laptop-2",
        "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_MachineTypeSearch_columnName_empty:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_07
      description: Searcg for machine type column name as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "",
        "type": "equals",
        "value": "Laptop-2",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "code",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-311",
      "message": "Column is missing in request"
    }
  ]
}'
   Masterdata_MachineTypeSearch_filterType_empty:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_08
      description: Sort for machine type with field type as empty
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "code",
        "type": "",
        "value": "Laptop-2",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "code",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-312",
      "message": "Filter type is missing"
    }
  ]
}'
   Masterdata_MachineTypeSearch_invalidPaginationValue:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_09
      description: Search for machine type with invalid pagination value
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "code",
        "type": "equals",
        "value": "Laptop-2",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "code",
        "sortType": "ASC"
      }
    ],
      "pageStart": abc,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "Invalid Format in field : pagination,pageStart"
    }
  ]
}'
   Masterdata_MachineTypeSearch_inValid_filter_type:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_10
      description: Search for machine type with invalid filter type
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "code",
        "type": "between",
        "value": "Laptop-2",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "code",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-318",
      "message": "$IGNORE$"
    }
  ]
}'
   Masterdata_MachineTypeSearch_invalid_sortType:
      endPoint: /v1/masterdata/machinetypes/search
      uniqueIdentifier: TC_Masterdata_MachineTypeSearch_11
      description: Sort for machine type with invalid sort type
      role: admin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/MachineTypeSearch/machineTypeSearch
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "code",
        "type": "equals",
        "value": "Laptop-2",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "code",
        "sortType": "fbheafg"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-358",
      "message": "Sort type fbheafg is not supported"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy