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

masterdata.RegCenterType.CreateRegCenterType.yml Maven / Gradle / Ivy

The newest version!
CreateRegCenterType:
   MasterData_CreateRegCenterType_All_Valid_Smoke_sid:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_CreateRegCenterType_01
      description: Create registration centre type with valid data
      role: admin
      templateFields: ["name","descr"]
      restMethod: post
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/RegCenterType/regCenterTypeResult
      input: '{
    "code": "ALT-3",
    "langCode": "eng",
    "name": "alternate",
    "descr": "alternate center",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"code": "ALT-3",
	"langCode": "eng"
}'

   MasterData_CreateRegCenterType_Dublicate_Centertype_Neg:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_CreateRegCenterType_02
      description: Create a registration center type with a duplicate center type
      role: admin
      templateFields: ["name","descr"]
      restMethod: post
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-3",
    "langCode": "eng",
    "name": "alternate",
    "descr": "alternate center",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	"errors": [
    {
      "errorCode": "KER-MSD-101"
    }
  ]
}'
   
   
   MasterData_CreateRegCenterType_InputParameter_Name_Missing:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_CreateRegCenterType_03
      description: Create a registration center type with the name parameter as missing
      role: admin
      templateFields: ["descr"]
      restMethod: post
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-5",
    "langCode": "eng",
    "name": "$REMOVE$",
    "descr": "alternate center",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: must not be null"
    }
  ]
}'
   MasterData_CreateRegCenterType_InputParameter_Name_Empty:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_CreateRegCenterType_04
      description: Create a registration center type with the name parameter as empty
      role: admin
      templateFields: ["descr"]
      restMethod: post
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-5",
    "langCode": "eng",
    "name": "",
    "descr": "alternate center",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   MasterData_CreateRegCenterType_InputParameter_Name_AboveMaxLen64:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_CreateRegCenterType_05
      description: Create a registration center type with the name parameter exceeding the maximum length of 64 characters
      role: admin
      templateFields: ["name","descr"]
      restMethod: post
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-5",
    "langCode": "eng",
    "name": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklm",
    "descr": "alternate center",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 64"
    }
  ]
}'
   MasterData_CreateRegCenterType_InputParameter_Description_AboveMaxLen256:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_CreateRegCenterType_06
      description: Create a registration center type with the description parameter exceeding the maximum length of 64 characters
      role: admin
      templateFields: ["name","descr"]
      restMethod: post
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-5",
    "langCode": "eng",
    "name": "alternate",
    "descr": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvW",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.descr: size must be between 0 and 128"
    }
  ]
}'
   
   
   MasterData_CreateRegCenterType_InputParameter_isActive_Missing:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_CreateRegCenterType_07
      description: Create a registration center type with the is active parameter missing
      role: admin
      templateFields: ["name","descr"]
      restMethod: post
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "ALT-5",
    "langCode": "eng",
    "name": "alternate",
    "descr": "alternate center",
    "isActive":"$REMOVE$",
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.isActive: must not be null"
    }
  ]
}'

   MasterData_CreateRegCenterType_SpacialCharacter_Neg:
      endPoint: /v1/masterdata/registrationcentertypes
      uniqueIdentifier: TC_Masterdata_CreateRegCenterType_08
      description: Create a registration center type with the special character
      role: admin
      templateFields: ["name","descr"]
      restMethod: post
      inputTemplate: masterdata/RegCenterType/regCenterType
      outputTemplate: masterdata/error
      input: '{
    "code": "A@LT-3",
    "langCode": "eng",
    "name": "alt$er@nate",
    "descr": "alt@ernate center",
    "isActive":true,
    "requesttime": "$TIMESTAMP$"
  }'
      output: '{
	 "errors": [
    {
      "errorCode": "KER-MSD-999"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy