Chapter I · Area 02 of 12

Requirements & quality

The Question for Our ShopHow quickly must the shop respond to a payment request, and how do you measure that?

Here you will find the goals and guidelines against which you align your draft.

Three questions for every requirement

  1. What should the shop do?

    Functional requirements

    A customer orders the contents of the cart and receives order B-1042.

  2. How well must it do it?

    Quality requirementsoften called non-functional requirements (NFR)

    95% of payment requests are answered within 800 ms (illustrative).

  3. What is already fixed?

    ConstraintsConstraints

    The payment provider is specified by contract.

This is how the building blocks hang together

Functional requirements describe the functions needed. Quality attributes make quality measurable, constraints record fixed limits, and availability, performance and changeability make key quality goals concrete.

Quality attributeQuality attributesYou define measurable expectations for how well a function performs under specific conditions.ConceptFunctional requirementsname the business functions whose quality is made measurable by quality attributesConceptConstraintslimit the solution space for functions and agreed quality goalsQuality attributeAvailabilitymeasures when users can successfully access a functionQuality attributePerformanceassesses response time, throughput and resources under loadQuality attributeModifiabilitydescribes the effort and risk of particular changes
Relations: Functional requirements name the business functions whose quality is made measurable by quality attributes; Constraints limit the solution space for functions and agreed quality goals; Availability measures when users can successfully access a function; Performance assesses response time, throughput and resources under load; Modifiability describes the effort and risk of particular changes.

Your learning path through the area

Here you find functional requirements, quality goals and binding constraints. They let you align design options with concrete system capabilities, measurable quality and the applicable constraints. Each building block shows its theme at our shop.

  1. Functional requirements

    Standalone concept

    This is what you learnYou can formulate a functional requirement as observable performance with trigger and outcome.

    In the shopA customer places his shopping cart as an order. The shop checks the selection, places the order and returns an order identifier.

    Functional requirements Open
  2. Quality attributes

    Overview & comparisonQuality requirement

    This is what you learnYou can concretize a quality expectation with trigger, environment, reaction and metric.

    In the shopFor the shop, the reaction to a payment request under normal load is described in concrete terms. The numbers are an illustrative learning example.

    Quality attributes Open
  3. Quality tree

    Standalone concept

    This is what you learnOrganize quality goals and prioritize ATAM scenarios by business importance and technical difficulty.

    In the shopThe shop organises catalog performance and checkout availability as distinct goals with their own scenarios.

    Quality tree Open
  4. Quality scenario

    Standalone concept

    This is what you learnExpress quality requirements as concrete situations with measurable responses.

    In the shopFor product queries, the team sets a measurable latency target under a stated catalog load.

    Quality scenario Open
  5. Constraints

    Standalone concept

    This is what you learnYou can distinguish binding constraints from negotiable goals and selected solutions.

    In the shopThe shop carries technical constraints (payment provider, Java-runtime), organizational ones (small team without call will), legal ones (GDPR, PCI DSS) and a convention (API policy). Delivery and module cutting remain decisions of the team.

    Constraints Open
  6. Availability

    Standalone conceptQuality requirement

    This is what you learnYou can separately assess the availability of order acceptance and payment authorization during the same disruption.

    In the shopThe shop can accept an order with the status clarification running, while the external payment provider temporarily does not reply. The order acceptance thus remains usable; the payment authorization is disturbed during this period.

    Availability Open
  7. Performance

    Standalone conceptQuality requirement

    This is what you learnYou can measure response time, throughput, and resource usage for the same flow separately.

    In the shopThe team measures the completion of an order with illustrative test data. The measurement includes shop processing and simulated response from the payment provider.

    Performance Open
  8. Scalability

    Standalone concept

    This is what you learnEvaluate capacity adaptation against defined quality goals. Assess the result against this limit: Results apply to the measured load and system configuration.

    In the shopThe shop example uses the existing shared database and seven modules. Any added service or deployment model is a hypothetical extension. The team expects shop campaign traffic to triple and defines a scalability scenario: at 3× checkout requests per minute, p95 latency stays below its target while payment success remains stable. A load test first identifies the database as a bottleneck even after adding web instances horizontally. Measurement therefore covers the full transaction path and the cost of added capacity.

    Scalability Open
  9. Modifiability

    Standalone conceptQuality requirement

    This is what you learnYou can track the effects of a specific change in the subject via affected modules and contracts.

    In the shopThe shop introduces the pickup option. Ordering and warehouses change their behavior; payment, shipping and invoice should only be targeted via stable contracts.

    Modifiability Open
Afterwards in the learning path · area 03Principles & boundaries