Sub topic 4
Eliciting requirements from stakeholders
This chapter assumes you can tell functional requirements (what the system does) from non-functional requirements (how well it does it). It also assumes you are comfortable with client-server systems and web APIs.
What elicitation is
Elicitation is the work of drawing requirements out of the people who care about the system. Requirements rarely arrive complete. Stakeholders often describe a solution ("add a cache") or a feeling ("it must be fast") instead of a need. Your job is to turn those statements into requirements you can later test.
Who to ask
A stakeholder is anyone who is affected by the system or who can affect its success. Each group knows different things.
| Stakeholder | Knows about | Example question for a URL shortener |
|---|---|---|
| End users | Tasks and expectations | Do you expect a short link to work forever? |
| Product owner | Goals and priorities | Which feature must exist at launch? |
| Operations or on-call staff | Failure and maintenance | How quickly must an outage be noticed? |
| Security or legal | Compliance and risk | Can we store the visitor's IP address? |
| Finance | Budget limits | What monthly infrastructure cost is acceptable? |
Operations and security staff are often skipped. They are the main source of non-functional requirements.
The elicitation loop
Elicitation repeats until the answers stop changing the list.
Techniques
- Interviews. Ask open questions first ("Walk me through the last time you shared a link"), then narrow down.
- Existing data. Logs, support tickets, and metrics from a current system show real usage better than memory does.
- Observation and prototypes. Watching people work, or showing a rough mock-up, exposes needs they did not think to mention.
- Workshops. Putting conflicting stakeholders in one room surfaces disagreements early, when they are cheap to resolve.
Turning vague words into numbers
Stakeholders say "fast", "reliable", or "lots of users". Follow each word with a question that forces a number or a consequence:
- "Fast": for which operation, at what percentile, measured where?
- "Reliable": how many minutes of downtime per month can you accept? What is the cost of one lost record?
- "Lots of users": how many daily, and how many at the busiest hour?
If the stakeholder cannot answer, record your assumption and mark it for confirmation. Do not leave the gap silent.
Common errors
- Asking only users. You miss operations, security, and cost constraints.
- Recording solutions as requirements. This locks in design choices before you have weighed alternatives.
- Accepting adjectives. A requirement like "must be scalable" cannot be tested.
- Skipping confirmation. Written requirements that stakeholders never reviewed are your guesses.
Exercise
A product owner says, "The redirect service has to be really reliable, and we should use Redis." Name the two problems with this statement and give one follow-up question for each.
Show answer
"Really reliable" is a vague adjective. Ask, "How many minutes of downtime per month is acceptable?" "Use Redis" is a solution, not a requirement. Ask, "What problem should it solve, for example read latency or load on the database?"