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

masterdata.MachineSpecification.CreateMachineSpecification.yml Maven / Gradle / Ivy

The newest version!
CreateMachineSpecification:
   Masterdata_CreateMachineSpecification_All_Valid_Smoke_sid:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_01
      description: Create machine specification details with valid details
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/MachineSpecification/MachineSpecificationResult
      input: '{
    "brand": "HP",
    "description": "HP brand",
    "id": "HP04",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "Laptop2",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "HP",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
    "id": "$IGNORE$"
}'
   Masterdata_CreateMachineSpecification_InputParameter_Name_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_02
      description: Create machine specification details with parameter name as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "Dell",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "$REMOVE$",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: must not be null"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Name_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_03
      description: Create machine specification details with parameter name as empty
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "Dell",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Name_AboveMaxLen64:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_04
      description: Create machine specification details with parameter name characters above maximum level 64
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "Dell",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklm",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Brand_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_05
      description: Create machine specification details with parameter brand as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "$REMOVE$",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "Dell Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.brand: must not be null"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Brand_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_06
      description: Create machine specification details with parameter brand as empty
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "Dell Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.brand: Should not be blank or size must be between 1 and 32"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Brand_AboveMaxLen32:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_07
      description: Create machine specification details with parameter brand characters above maximum length 32
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "abcdefghijklmnopqrstuvwxyzabcdefghijk",
    "description": "Dell brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "Dell Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.brand: Should not be blank or size must be between 1 and 32"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Model_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_08
      description: Create machine specification details with parameter model as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "$REMOVE$",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.model: must not be null"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Model_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_09
      description: Create machine specification details with parameter model as empty
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.model: Should not be blank or size must be between 1 and 16"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Model_AboveMaxLen16:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_10
      description: Create machine specification details with parameter model characters above maximum length 16
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "qwertyuiopasdfg17",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.model: Should not be blank or size must be between 1 and 16"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_machineTypeCode_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_11
      description: Create machine specification details with parameter machine type code as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "$REMOVE$",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.machineTypeCode: must not be null"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_machineTypeCode_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_12
      description: Create machine specification details with parameter machine type code as empty
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.machineTypeCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_machineTypeCode_AboveMaxLen36:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_13
      description: Create machine specification details with parameter machine type code characters above maximum length 36
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "abcdefghijklmnopqrstuvwxyzabcdefghijk",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.machineTypeCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Invalid_machineTypeCode:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_14
      description: Create machine specification details with invalid machine type code
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DMR",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-722",
      "message": "Invalid mtype_code received"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_MinDriverversion_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_15
      description: Create machine specification details with invalid min driver version as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "$REMOVE$",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.minDriverversion: must not be null"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_MinDriverversion_Empty:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_16
      description: Create machine specification details with invalid min driver version as empty
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.minDriverversion: Should not be blank or size must be between 1 and 16"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_MinDriverversion_AboveMaxLen16:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_17
      description: Create machine specification details with invalid min driver version characters above maximum length 16
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "qwertyuiopasdfg17",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.minDriverversion: Should not be blank or size must be between 1 and 16"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_Description_AboveMaxLen256:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_18
      description: Create machine specification details with invalid description characters above maximum length 256
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvW",
    "id": "HP05",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3,2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.description: size must be between 0 and 256"
    }
  ]
}'
   Masterdata_CreateMachineSpecification_InputParameter_isActive_Missing:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_19
      description: Create machine specification details with ia active parameter as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HCL",
    "description": "HCL brand",
    "id": "HP05",
    "isActive": "$REMOVE$",
    "langCode": "eng",
    "machineTypeCode": "DKS",
    "minDriverversion": "3.2",
    "model": "12345",
    "name": "HCL Aspire",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.isActive: must not be null"
    }
  ]
}'

   Masterdata_CreateMachineSpecification_Duplicate_Neg:
      endPoint: /v1/masterdata/machinespecifications
      uniqueIdentifier: TC_Masterdata_CreateMachineSpecification_20
      description: Create machine specification details duplicate details
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/MachineSpecification/machineSpecification
      outputTemplate: masterdata/error
      input: '{
    "brand": "HP",
    "description": "HP brand",
    "id": "HP04",
    "isActive": true,
    "langCode": "eng",
    "machineTypeCode": "Laptop2",
    "minDriverversion": "3.2",
    "model": "1234",
    "name": "HP",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
    "errors": [
    {
      "errorCode": "KER-MSD-999"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy