Logo
NeoArc Studio

Quality Attribute Scenario Block

Document quality attribute scenarios using the SEI format with stimulus, source, environment, artifact, response, and response measure. Define measurable architecture requirements.

The Quality Attribute Scenario block documents non-functional requirements using the Software Engineering Institute (SEI) scenario format. Each scenario specifies a stimulus, its source, the environment, the affected artifact, the expected response, and a measurable response measure.

When to Use

Block Properties

PropertyRequiredDescription
Quality AttributeYesThe quality being specified (e.g., Performance, Availability)
Source of StimulusNoWhat or who generates the stimulus
StimulusYesThe event or condition that occurs
EnvironmentNoThe conditions under which this occurs
ArtifactNoThe system element being stimulated
ResponseNoHow the system should respond
Response MeasureNoHow the response is measured (quantifiable)

Quality Attribute Types

SEI Scenario Format

ElementDescription
SourceAn entity (human, computer system, etc.) that generates the stimulus
StimulusA condition that requires a response when it arrives at the system
EnvironmentThe stimulus occurs under certain conditions
ArtifactSome artifact is stimulated (the whole system or parts)
ResponseThe response to the stimulus that should be measurable
Response MeasureWhen the response occurs, it should be measurable

Example: Performance Scenario

A latency requirement for API response times.

Example: Availability Scenario

A high availability requirement for critical services.

Example: Security Scenario

A security requirement for authentication protection.

Example: Scalability Scenario

A horizontal scaling requirement.

Example: Modifiability Scenario

A maintainability requirement for code changes.

Best Practices

PracticeDescription
Quantifiable MeasuresMake response measures specific and quantifiable
Realistic ConditionsDefine realistic stimulus conditions based on expected usage
Clear EnvironmentSpecify the environment clearly (normal vs peak vs failure modes)
Single AttributeFocus on one quality attribute per scenario
Stakeholder ReviewReview scenarios with stakeholders for business alignment
Testing InputUse scenarios as input for architecture decisions and testing