2025-11-20 IntegrationTest

From Izara Wiki
Revision as of 07:48, 20 November 2025 by Mint (talk | contribs)
Jump to navigation Jump to search

Type paramiter

normal case

 
 object: { 
  forStageMatching: true, 
  properties: {
    name:{
     forStageMatching: true,
     value:"Tom"
    }
   } 
 }, 
 array: { 
  forStageMatching: true,
  useIsEqual: true,
  eventValue: [
   {
     "relTypeAndDirection": {
       "relType": {
         "serviceTag": "maxxCart2",
         "relationshipTag": "hasCartOrder"
        },
        "relationshipDirection": "from"
      },
      "targetObjects": [
        {
          "objType": {
           "serviceTag": "maxxCart2",
           "objectType": "cartOrder"
          }
        }
      ]
    }
  ]
 }, 
 number: { 
  forStageMatching: true, 
  value: 1111 
 }, 
 string: { 
  forStageMatching: true, 
  value: "hi" 
 }, 
 boolean: { 
  forStageMatching: true, 
  value: true 
 }

Empty

 EmptyString:{
  value:"" 
 }, 
 EmptyArray:{ 
   forStageMatching: true,
   useIsEqual: true,
   eventValue: []
 }, 
 EmptyObject:{  
  forStageMatching: true, 
  value:{} 
 }

Error

can test noRetryError

  "errorMessage": { 
    forStageMatching: true,
    "value": "Not found schema of {serviceTag:TestGraphHandler, objectType:notFoundObjType}" 
   }