All jobs / Automation developer / Quality Engineering
Automation developer interview question · 5+ years
An end-to-end test fails in CI against a deployed environment. The report shows a 500 from the checkout call, and nobody can find the matching request in the service logs.
What do you ask for, and from whom?
The strongest answer
A correlation id the test sets on every request, propagated through the services into their logs and traces, and printed in the test report — so a failure links straight to the server-side story of that exact request
Why it works
Right — and asking for it as a platform capability, not a favour per incident, is what makes it stick.
What a good answer covers
- Join the test to the server story.
- Set an id per request; propagate it.
- Print it in the test report.
- Ask for it as a platform capability.
Answers that fall short
- Close, but not the strongest: Better logging from the backend team, including request bodies, so that failures can be traced
More logs with no key to join on still means searching by timestamp in a busy environment. - Weak: Access to the service logs for the test engineers, so they can search around the failure time
Access is necessary and not enough; without an id you are guessing which of thousands of requests was yours. - Red flag: A rerun with verbose logging enabled, which is how we normally find these in the end
Reruns often do not reproduce, and by then the failure you needed has scrolled away.
Who gets asked this
More Quality Engineering questions
- A Sev-1 shipped through a green pipeline. How do you learn?
- A release train wants the UI gate optional “to go faster.” What do you do?
- A director asks for the ROI of the automation pack. What do you refuse to invent?
- What do you listen for when hiring a senior SDET?
- Main is always green and nobody trusts it. What do you inspect?
- An engineering manager says the app “is not testable”. What does that mean concretely?
- Someone tags a failing spec as skipped so the pipeline is green. What do you require?
- Leadership wants “80% UI coverage.” What do you say?