Gatling not able to extract JSON Object for the error Messages

Hi Stéphane,

We have the error message, somehow gatling not able to extract it. Shall we open bug for it?

Please guide us, if we are making any mistakes.

Note: The same logic is working for all Micro Services. But not for few of them.

TC07_Voice_services_rs_CDV_CircuitBreaker_CDVService_Success_IMSFTService_Timeout_IMS' failed: jsonPath($.error[?(@.errorMessage=='6018|6019|6006|Tn(porting) status is not received from PS callback and querying the switch/NPAC didn't return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|||PS Service activate ReadTimeout, Request threshold or connection error - activatePsDc1|PS Service activate ReadTimeout, Request threshold or connection error - activatePsDc2|Circuit is open, Request threshold or Read timeout with IMSFT - queryImsFtByTNResponse')]).find(0).exists failed, could not extract: could not extract :)]’ expected but `t’ found

TC07_Voice_services_rs_CDV_CircuitBreaker_CDVService_Success_IMSFTService_Timeout_IMS service Response :Some({“trackingId”:“CDVVoice0007”,“accountNumber”:“0102079154516172”,“activationSource”:“ACTIVATOR-WEB”,“accountStatus”:null,“activationChannel”:".COM",“activationType”:“TECH”,“deliveryPlatform”:“IMS”,“customerType”:“RES”,“status”:“ACTIVATION_ERROR”,“device”:[{“deviceId”:“1460755013057”,“deviceType”:“MTA”,“deviceSubType”:null,“serialNumber”:“001596AABC29”,“cmIpAddress”:null,“cmMacAddress”:“00:15:96:AA:BC:29”,“mtaMacAddress”:“00:15:96:AA:BC:2A”,“preActBootFile”:“tm502gims_walledgarden”,“portCapacity”:2,“make”:“Arris Interactive, L.L.C.”,“model”:“tm502g”,“stbHitType”:null,“networkStatus”:“ONLINE”,“billingStatus”:“NEW”,“cpeDhcpCriteria”:null,“cpeIpAddress”:null,“context”:null,“migrateToDeviceId”:null,“migrateToDeviceId2”:null,“isPreActivated”:null,“activationStatus”:“ERROR”,“deviceSource”:“BILLING_DEVICE”,“deviceStatus”:null,“resetStatus”:“ACTIVATION_FAILED”,“classOfService”:null,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:null,“deviceAmendment”:{“workList”:null,“writeBack”:null},“tn”:[{“telephoneNumber”:“2036437975”,“edvaMacAddress”:null,“portId”:“1”,“portedFlag”:“F”,“focDate”:null,“portingStatus”:null,“tnStatus”:“PENDING-INSTALL”,“switchStatus”:null,“activationStatus”:null,“focCheckSuccessFlag”:null,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)”,“errorCode”:null}],“service”:[{“rateCode”:“4#”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“8V”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“2=”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“2~”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“2>”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“2:”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“3>”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“3{”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“3}”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“8~”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null},{“rateCode”:“4:”,“type”:“VOICE”,“rank”:“2”,“activationStatus”:“ERROR”,“errorMessage”:“Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|”,“errorCode”:"",“serviceStatus”:null}],“healthCheck”:null}],“asyncProcessReasons”:null,“error”:[{“errorCode”:“6018|6019|6006”,“errorMessage”:“6018|6019|6006|Tn(porting) status is not received from PS callback and querying the switch/NPAC didn’t return tn status as INSTALL_COMPLETE(ACTIVE)|TN=2036437975|||PS Service activate ReadTimeout, Request threshold or connection error - activatePsDc1|PS Service activate ReadTimeout, Request threshold or connection error - activatePsDc2|Circuit is open, Request threshold or Read timeout with IMSFT - queryImsFtByTNResponse”,“errorCategory”:“SYSTEM”}]})
`

It’s a bug: https://github.com/gatling/jsonpath/issues/23