Modern QA2026Exercises
Log inJoin

Library Book 14 Exercises

Exercises

7.1🔒BeginnerExercise 31: Install grpcurl and use it to list services and describe methods on a gRPC server (use a public demo server or set up a local…52 words
7.2🔒IntermediateExercise 33: Write gRPC error handling tests that verify NOT_FOUND, INVALID_ARGUMENT, and UNAUTHENTICATED status codes for appropriate…47 words
7.3🔒AdvancedExercise 35: Build a complete gRPC test suite that includes: unary calls, error code verification, timeout/deadline testing, authentication…37 words
7.4🔒Q&AResume phrasing- Developed gRPC test framework in Python with pytest fixtures for channel lifecycle management, covering 20 unary RPCs and 4 streaming…74 words
7.5🔒Q&ACover letter framinggRPC testing requires a protocol-aware approach that differs fundamentally from REST. I work with .proto files as the source of truth…71 words
7.6🔒Q&AInterview framing"I approach gRPC testing contract-first. I start by reading the .proto file -- it tells me every method, every field, and every type before…142 words
7.7🔒Q&AWhat not to say- "gRPC is just like REST but with different serialization." -- This misses fundamental differences: status code systems, streaming…112 words
7.8🔒Q&AQuestion 1Prompt: Your team has a gRPC microservice that returns INTERNAL (the gRPC equivalent of 500) for every error condition -- missing…267 words
7.9🔒Q&AQuestion 2Prompt: You need to test a server streaming RPC that returns real-time stock price updates. The stream can run indefinitely. How do you…234 words
7.10🔒Q&AQuestion 3Prompt: A developer changes a field number in a .proto file (e.g., changes string email = 3; to string email = 5;). The code compiles and…416 words
7.11🔒URL Path Versioning (Most Common)0 words
7.12🔒Header-Based VersioningThe most important aspect of API versioning testing: old clients must not break when new versions launch.76 words
7.13🔒Sunset Header TestingCOMMON MISTAKE: Assuming that once v2 is released, v1 can be ignored. In practice, v1 may have hundreds of active clients. Always run…141 words