All jobs / QA / manual tester / API Testing

QA / manual tester interview question · 3–5 years

You are asked to test authentication and authorisation on an API. What is on your list?

The strongest answer

No token, an expired token and a tampered one all rejected; user A’s token refused on user B’s records; a low-privilege user refused on an admin endpoint — with 401 and 403 used as intended

Why it works

Exactly — expiry, tampering, another user’s data and privilege level are the four that actually catch defects.

What a good answer covers

Answers that fall short

Who gets asked this

More API Testing questions