The SDET Playbook
Curated questions and answers for SDETs and QA engineers
Member since September 2026
- articles
- 0
- questions
- 80
- answers
- 80
- accepted answers
- 0
- resources
- 0
- votes received
- 0
Answer to
How do you design an end-to-end test strategy and platform architecture for a photo-sharing application?
In a test-strategy design round, start from risks and the system's parts, then place each check at the cheapest level that can catch the problem. A structure th...
Sep 28, 20260Accepted
Answer to
How should test code deep-clone fixtures, and how would you test a deep clone utility?
In current Node.js and browsers, use the built-in structuredClone. It copies nested objects and arrays, Date, Map, Set, RegExp, typed arrays and circular refere...
Sep 28, 20260Accepted
Answer to
Implement a stack and a queue in TypeScript, and test their invariants
A stack is last in, first out (browser back history); a queue is first in, first out (steps waiting to run). An array is a fine stack, but Array.prototype.shift...
Sep 28, 20260Accepted
Answer to
Solve Two Sum and array deduplication in O(n), and write the tests an interviewer expects
For Two Sum, walk the array once and remember each value's index in a Map. For each number, check whether its complement has already been seen:
Sep 28, 20260Accepted
Answer to
Implement binary search in TypeScript, then show the tests that prove it works
Write a correct implementation quickly, then spend your effort on the tests, because that's what an SDET interview is really probing.
Sep 28, 20260Accepted
Answer to
Under what specific enterprise legacy scenarios is Apache JMeter still preferred over modern tools like k6?
JMeter still wins in a few situations: Protocols beyond HTTP, out of the box. JMeter ships samplers for JDBC (direct database load), JMS queues and topics, LDAP...
Sep 28, 20260Accepted
Answer to
How do you feed unique test data to k6 virtual users during performance runs without bottlenecks?
Generate the data before the test, load it once, and have each iteration pick its own row. SharedArray loads a file once, in the init code, and shares one read-...
Sep 28, 20260Accepted
Answer to
How do you execute distributed load tests in cloud-native Kubernetes environments using the k6 Operator?
Install the k6 Operator in the cluster, put your script in a ConfigMap, and apply a TestRun resource. (Older guides use the kind K6, which TestRun replaced.)
Sep 28, 20260Accepted
Answer to
How do you define performance thresholds, SLO assertions, and custom metrics in k6 to gate CI/CD pipelines?
Thresholds turn your service-level objectives into pass/fail criteria. Put them in options.thresholds, both on built-in metrics and on custom ones you create fo...
Sep 28, 20260Accepted
Answer to
How do I size load generators for a large k6 test, and how much memory does each virtual user need?
Measure it rather than guess. k6's guidance is that a simple test uses roughly 1-5 MB of memory per VU, and more when the script imports large JavaScript module...
Sep 28, 20260Accepted