We have a requirement where we need to send .avro file as an input request to our API's. Really stuck at this point. If any detail example provided would be more appreciated.
Asked
Active
Viewed 883 times
1 Answers
1
Just use Java interop: https://github.com/intuit/karate#calling-java
You need to write a helper (start with a static method) to convert JSON to Avro and vice versa. I know teams using this for gRPC. Read this thread for tips: https://github.com/intuit/karate/issues/412
Also there is even a "karate-grpc" project: https://github.com/pecker-io/karate-grpc
Also see:

Peter Thomas
- 54,465
- 21
- 84
- 248
-
Thanks a lot peter, i knew this is out of karate asking for avro to json and vice-versa conversion reference. Any help on to this? – Sandeep P Jul 10 '20 at 14:11
-
1@SandeepPadala I googled and found a few links. try it ! – Peter Thomas Jul 10 '20 at 14:13