When trying to record a VS in Workstation using RR pairs and Apache Kafka Transport Protocol selected, the parser does not select JSON DPH.
The payload is JSON.
Workstation logs show the following error message:
ERROR com.itko.lisa.asset.spec.SpecPayload - Error getting value for field Unknown Response Operation: Value for Unknown Response Operation was null
com.itko.lisa.test.LisaException: Value for Unknown Response Operation was null
at com.itko.lisa.asset.spec.SpecPayload.getValueInstance(SpecPayload.java:393) ~[lisa-core-10.8.1.jar:?]
at com.itko.lisa.asset.spec.SpecPayload.getValueInstance(SpecPayload.java:378) ~[lisa-core-10.8.1.jar:?]
All supported DevTest environments
The request file had JSON header with Operation name and this is not needed for Kafka payload.
POST /KAFKAUPDATE HTTP/1.1
Content-Type: application/json
Kafka request file only needs the JSON payload and does not need to include any HTTP URI's ( POST , GET, PUT .. etc)
see example:
"addresses": {
"streetName": "Street 11",
"buildingNumber": "1101",
"postalCode": "28262",
"city": "Charlotte",
"country": "US",
"stateProvince": "North Carolina"
}