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

masterdata.Title.UpdateTitle.yml Maven / Gradle / Ivy

The newest version!
UpdateTitle:
   MasterData_UpdateTitle_All_Valid_Smoke:
      endPoint: /v1/masterdata/title
      uniqueIdentifier: TC_Masterdata_UpdateTitle_01
      description: Update title details with valid data
      role: admin
      templateFields: ["titleName","titleDescription"]
      restMethod: put
      inputTemplate: masterdata/Title/title
      outputTemplate: masterdata/Title/titleResult
      input: '{
    "code": "TEST0011",
    "titleName": "TEST0011",
	"titleDescription": "TEST0011 updated",
	"isActive": true,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
	"code": "TEST0011"
}'
   
   MasterData_UpdateTitle_Invalid_InputParameter_TitleName_Missing:
      endPoint: /v1/masterdata/title
      uniqueIdentifier: TC_Masterdata_UpdateTitle_02
      description: Update title details with input parameter title name as missing
      role: admin
      templateFields: ["titleDescription"]
      restMethod: put
      inputTemplate: masterdata/Title/title
      outputTemplate: masterdata/error
      input: '{
    "code": "TEST0011",
    "titleName": "$REMOVE$",
	"titleDescription": "TEST0011",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.titleName: must not be null"
    }
  ]
}'
   MasterData_UpdateTitle_Invalid_InputParameter_TitleName_Empty:
      endPoint: /v1/masterdata/title
      uniqueIdentifier: TC_Masterdata_UpdateTitle_03
      description: Update title details with input parameter title name as empty
      role: admin
      templateFields: ["titleDescription"]
      restMethod: put
      inputTemplate: masterdata/Title/title
      outputTemplate: masterdata/error
      input: '{
    "code": "TEST0011",
    "titleName": "",
	"titleDescription": "TEST0011",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.titleName: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   MasterData_UpdateTitle_Invalid_InputParameter_TitleName_AboveMaxLen64:
      endPoint: /v1/masterdata/title
      uniqueIdentifier: TC_Masterdata_UpdateTitle_04
      description: Update title details with input parameter title name exceeding the maximum length of 64 characters
      role: admin
      templateFields: ["titleDescription"]
      restMethod: put
      inputTemplate: masterdata/Title/title
      outputTemplate: masterdata/error
      input: '{
    "code": "TEST0011",
    "titleName": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklm",
	"titleDescription": "TEST0011",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.titleName: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   MasterData_UpdateTitle_Invalid_InputParameter_TitleDescription_AboveMaxLen128:
      endPoint: /v1/masterdata/title
      uniqueIdentifier: TC_Masterdata_UpdateTitle_05
      description: Update title details with input parameter title description exceeding the maximum length of 128 characters
      role: admin
      templateFields: ["titleName"]
      restMethod: put
      inputTemplate: masterdata/Title/title
      outputTemplate: masterdata/error
      input: '{
    "code": "TEST001",
    "titleName": "TEST001",
	"titleDescription": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxy",
	"isActive": false,
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.titleDescription: size must be between 0 and 128"
    }
  ]
}'
   MasterData_UpdateTitle_Invalid_InputParameter_isActive_Missing:
      endPoint: /v1/masterdata/title
      uniqueIdentifier: TC_Masterdata_UpdateTitle_06
      description: Update title details with input parameter is active as missing
      role: admin
      templateFields: ["titleName","titleDescription"]
      restMethod: put
      inputTemplate: masterdata/Title/title
      outputTemplate: masterdata/error
      input: '{
    "code": "TEST002",
    "titleName": "TEST002",
	"titleDescription": "TEST002",
	"isActive": "$REMOVE$",
	"langCode": "eng",
	"requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.isActive: must not be null"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy