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

masterdata.Template.CreateTemplate.yml Maven / Gradle / Ivy

The newest version!
CreateTemplate:
   MasterData_CreateTemplate_All_Valid_Smoke_sid:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_01
      description: Create template with valid details
      role: admin
      checkErrorsOnlyInResponse: true
      templateFields: ["description","name"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/Template/templateResult
      input: '{
        "description": "test template",
        "fileFormatCode": "json",
        "fileText": "abc",
        "id": "445566777",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "Test-template",
        "templateTypeCode": "Test-info-Template-auto",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
	"id": "$IGNORE$"
}'
   MasterData_CreateTemplate_InputParameter_Name_Missing:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_02
      description: Create template with input paramater name as missing
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "Doc",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "$REMOVE$",
        "templateTypeCode": "Test-info-Template-auto",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: must not be null"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_Name_Empty:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_03
      description: Create template with input paramater name as empty
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "Doc",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "",
        "templateTypeCode": "Test-info-Template-auto",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 128"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_Name_AboveMaxLen128:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_04
      description: Create a template with the input parameter name exceeding the maximum length of 128 characters
      role: admin
      templateFields: ["description"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "Doc",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxy",
        "templateTypeCode": "Test-info-Template-auto",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.name: Should not be blank or size must be between 1 and 128"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_FileFormatCode_Missing:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_05
      description: Create a template with the input parameter file format code as missing
      role: admin
      templateFields: ["description","name"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "$REMOVE$",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "Test-template",
        "templateTypeCode": "Test-info-Template-auto",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.fileFormatCode: must not be null"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_FileFormatCode_Empty:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_06
      description: Create a template with the input parameter file format code as empty
      role: admin
      templateFields: ["description","name"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "Test-template",
        "templateTypeCode": "Test-info-Template-auto",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.fileFormatCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_FileFormatCode_AboveMaxLen36:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_07
      description: Create a template with the input parameter file format code exceeding the maximum length of 36 characters
      role: admin
      templateFields: ["description","name"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "abcdefghijklmnopqrstuvwxyzabcdefghijk",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "Test-template",
        "templateTypeCode": "Test-info-Template-auto",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.fileFormatCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_ModuleName_AboveMaxLen128:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_08
      description: Create a template with the input parameter module name exceeding the maximum length of 128 characters
      role: admin
      templateFields: ["description","name"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "Doc",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "abcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxyzabcdefghijklmnopqrstuvwxy",
        "name": "Test-template",
        "templateTypeCode": "Test-info-Template-auto",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.moduleName: size must be between 0 and 128"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_TemplateTypeCode_Missing:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_09
      description: Create a template with the input parameter template type code as missing
      role: admin
      templateFields: ["description","name"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "Doc",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "Test-template",
        "templateTypeCode": "$REMOVE$",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.templateTypeCode: must not be null"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_TemplateTypeCode_Empty:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_10
      description: Create a template with the input parameter template type code as empty
      role: admin
      templateFields: ["description","name"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "Doc",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "Test-template",
        "templateTypeCode": "",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.templateTypeCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'
   MasterData_CreateTemplate_InputParameter_TemplateTypeCode_AboveMaxLen36:
      endPoint: /v1/masterdata/templates
      uniqueIdentifier: TC_Masterdata_CreateTemplate_11
      description: Create a template with the input parameter template type code exceeding the maximum length of 36 characters
      role: admin
      templateFields: ["description","name"]
      restMethod: post
      inputTemplate: masterdata/Template/template
      outputTemplate: masterdata/error
      input: '{
        "description": "test template",
        "fileFormatCode": "Doc",
        "fileText": "abc",
        "id": "test-03",
        "isActive": false,
        "langCode": "eng",
        "model": "model-1",
        "moduleId": "10001",
        "moduleName": "Pre-Registration",
        "name": "Test-template",
        "templateTypeCode": "abcdefghijklmnopqrstuvwxyzabcdefghijk",
	    "requesttime": "$TIMESTAMP$"
}'
      output: '{
   "errors": [
    {
      "errorCode": "KER-MSD-999",
      "message": "request.templateTypeCode: Should not be blank or size must be between 1 and 36"
    }
  ]
}'




© 2015 - 2025 Weber Informatics LLC | Privacy Policy