API Testing · Middle · Question 46 of 75
What is special about testing a gRPC API?
- 1It uses plain text bodies that any browser shows
- 2It uses Protobuf over HTTP/2 and needs gRPC tools
- 3It can be tested only by reading the server logs
Show the answer
Correct answer: It uses Protobuf over HTTP/2 and needs gRPC tools
Explanation
Tools like grpcurl or Postman's gRPC support send requests using the .proto definition. Status codes differ from HTTP ones.