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

masterdata.SearchMachine.SearchMachine.yml Maven / Gradle / Ivy

The newest version!
SearchMachine:
   Masterdata_SearchMachine_Valid_Smoke_FullResponse_sid:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_01
      description: Search machine details with valid data
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "equals",
        "value": "Mach-Test updated",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "name",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_FilterTypeContains:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_02
      description: Search machine details with the condition that the filter type contains specified keywords
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "contains",
        "value": "Mach-Test updated",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "name",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_FilterTypeStartsWith:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_03
      description: Search machine details with the condition that the filter type starts with specified keywords
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "startsWith",
        "value": "NLT",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "name",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_ColumnMacAddressNFilterTypeEquals:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_04
      description: Search for machine details with the condition that the column MacAdress equals the specified filter type
      role: globalAdmin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "macAddress",
        "type": "equals",
        "value": "61-D3-FD-12-C9-ED",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "macAddress",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "data": [
     {
	    "id": "$IGNORE$",
        "name": "$IGNORE$",
        "serialNum": "FB5962911687",
        "macAddress": "61-D3-FD-12-C9-ED",
        "ipAddress": "192.168.0.424",
        "machineSpecId": "$IGNORE$",
        "zoneCode": "$IGNORE$",
        "zone": "$IGNORE$",
        "isActive": "$IGNORE$"
      }
    ]
}'
   Masterdata_SearchMachine_Valid_ColumnMacAddressNTypeContains:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_05
      description: Search for machine details with the condition that the column MacAddress contains the specified type
      role: globalAdmin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "macAddress",
        "type": "contains",
        "value": "61-D3-FD-12-C9-ED",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "macAddress",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "data": [
     {
	    "id": "$IGNORE$",
        "name": "$IGNORE$",
        "serialNum": "FB5962911687",
        "macAddress": "61-D3-FD-12-C9-ED",
        "ipAddress": "192.168.0.424",
        "machineSpecId": "$IGNORE$",
        "zoneCode": "$IGNORE$",
        "zone": "$IGNORE$",
        "isActive": "$IGNORE$"
      }
    ]
}'
   Masterdata_SearchMachine_Valid_ColumnMacAddressNTypeStartsWith:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_06
      description: Search for machine details with the condition that the column MacAddress starts with the specified type
      role: globalAdmin
      templateFields: ["languageCode"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "macAddress",
        "type": "startsWith",
        "value": "61-D3-FD-12-C9-ED",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "macAddress",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "data": [
     {
	    "id": "$IGNORE$",
        "name": "$IGNORE$",
        "serialNum": "FB5962911687",
        "macAddress": "61-D3-FD-12-C9-ED",
        "ipAddress": "192.168.0.424",
        "machineSpecId": "$IGNORE$",
        "zoneCode": "$IGNORE$",
        "zone": "$IGNORE$",
        "isActive": "$IGNORE$"
      }
    ]
}'
   Masterdata_SearchMachine_Valid_ColumnSerialNumberNTypeEquals:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_07
      description: Search for machine details with the condition that the column serialNumber equals the specified type
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "serialNum",
        "type": "equals",
        "value": "FB5962911687",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "serialNum",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_ColumnSerialNumberNTypeContains:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_08
      description: Search for machine details with the condition that the column serialNumber contains the specified type
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "serialNum",
        "type": "contains",
        "value": "FB5962911687",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "serialNum",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_ColumnSerialNumberNTypeStartsWith:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_09
      description: Search for machine details with the condition that the column serialNumber starts with the specified type
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "serialNum",
        "type": "startsWith",
        "value": "FB5962911687",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "serialNum",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_ColumnMachineSpecIdNTypeEquals:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_10
      description: Search for machine details with the condition that the column machineSpec equals the specified type
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "machineSpecId",
        "type": "equals",
        "value": "1001",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "serialNum",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_ColumnMachineSpecIdNTypeContains:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_11
      description: Search for machine details with the condition that the column MachineSpec contains the specified type
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "machineSpecId",
        "type": "contains",
        "value": "1001",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "serialNum",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_ColumnMachineSpecIdNTypeStartsWith:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_12
      description: Search for machine details with the condition that the column MachineSpec starts with the specified type
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "machineSpecId",
        "type": "startsWith",
        "value": "1001",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "serialNum",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_TwoFilterValues_TypeEqualsNEquals:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_13
      description: Search for machine details with two filter values where type equals one value and another equals a different value
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "equals",
        "value": "Mach-Test updated",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      },
      {
        "columnName": "macAddress",
        "type": "equals",
        "value": "61-D3-FD-12-C9-ED",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "id",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_SortFieldDESC:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_14
      description: Search for machine details and sort field with descending order
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "equals",
        "value": "Mach-Test updated",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "name",
        "sortType": "DESC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Valid_TwoSortFields_DescNDesc:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_15
      description: Search for machine details with two sort fields and two descending orders
      role: globalAdmin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "contains",
        "value": "Mach-Test updated",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "name",
        "sortType": "DESC"
      },
      {
        "sortField": "macAddress",
        "sortType": "DESC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "data": [
     {
	    "id": "$IGNORE$",
        "name": "$IGNORE$",
        "serialNum": "FB5962911687",
        "macAddress": "61-D3-FD-12-C9-ED",
        "ipAddress": "192.168.0.424",
        "machineSpecId": "$IGNORE$",
        "zoneCode": "$IGNORE$",
        "zone": "$IGNORE$",
        "isActive": "$IGNORE$"
      }
    ]
}'
   Masterdata_SearchMachine_Valid_TwoSortFields_AscNDesc:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_16
      description: Search for machine details with two sort fields, one in ascending order and one in descending order
      role: globalAdmin
      checkErrorsOnlyInResponse: true
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/SearchMachine/searchMachineResult
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "contains",
        "value": "Mach-Test",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "name",
        "sortType": "ASC"
      },
      {
        "sortField": "macAddress",
        "sortType": "DESC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
}'
   Masterdata_SearchMachine_Invalid_ColumnName:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_17
      description: Search for machine details with invalid column name
      role: globalAdmin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "dfadf",
        "type": "equals",
        "value": "Mach-Test updated",
        "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_SearchMachine_Invalid_SortField:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_18
      description: Search for machine details with invalid sort field
      role: globalAdmin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "equals",
        "value": "Mach-Test",
        "fromValue": "$REMOVE$",
        "toValue": "$REMOVE$"
      }
    ],
    "sort": [
      {
        "sortField": "12abcd21",
        "sortType": "ASC"
      }
    ],
      "pageStart": 0,
      "pageFetch": 1,
    "languageCode": "eng",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-357",
      "message": "Invalid sort field 12abcd21"
    }
  ]
}'
   Masterdata_SearchMachine_Invalid_EmptyFilterType:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_19
      description: Search for machine details with empty filter type
      role: globalAdmin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "",
        "value": "Mach-Test",
        "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_SearchMachine_Invalid_EmptySortField:
      endPoint: /v1/masterdata/machines/search
      uniqueIdentifier: TC_Masterdata_SearchMachine_20
      description: Search for machine details with sort field as empty
      role: globalAdmin
      templateFields: ["value"]
      restMethod: post
      inputTemplate: masterdata/SearchMachine/searchMachine
      outputTemplate: masterdata/error
      input: '{
    "filters": [
      {
        "columnName": "name",
        "type": "equals",
        "value": "a2ml30846",
        "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"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy