Hi,
My Test Cases are working fine with Gatling Except few of them which have JSON Request Payload as
{
“trackingId”:“7013761683470”,
“activationSource”:“WG”,
“accountNumber”:“3112007054516172”,
“activationChannel”:“WG”,
“activationType”:“TECH”,
“deliveryPlatform”:“IMS”,
“customerType”:“RES”,
“cpeIpAddress”:“69.241.25.27,10.54.141.240,10.54.141.127,10.54.141.244”,
“browserType”:“PC”,
“workOrderInfo”:{
“workOrderNumber”:“1”,
“workOrderType”:“SERVICE_REQUEST”,
“workOrderStatus”:“OPEN”,
“orderScheduleDate”:1449028800000},
“customerInfo”:{
“firstName”:“TEST”,
“lastName”:“TEST”,
“city”:null,
“postalAddress”:null,
“state”:null,
“zipCode”:null
},
“asyncProcessReasons”:null,
“accountStatus”:null,
“autoDiscoveredCmMac”:null,
“ccRefTrackingId”:null
}
Errors are:
[WARN ] i.g.h.a.ResponseProcessor - Request ‘TestCaseName’ failed: status.find.is(200), but actually found 400
TestCaseName service Response :Some({“timestamp”:1474512729361,“status”:400,“error”:“Bad Request”,“exception”:“org.springframework.http.converter.HttpMessageNotReadableException”,“message”:“Could not read document: Unrecognized token ‘Request’: was expecting (‘true’, ‘false’ or ‘null’)
at [Source: java.io.PushbackInputStream@7ad54264; line: 1, column: 15]; nested exception is com.fasterxml.jackson.core.JsonParseException: Unrecognized token ‘Request’: was expecting (‘true’, ‘false’ or ‘null’)
at [Source: java.io.PushbackInputStream@7ad54264; line: 1, column: 15]”,“path”:"/ServicesOrderRs/PrepareServicesOrder"})
Any Help Regarding this Exception.