Skip to main content

Quality Attributes Scenario Components

When we are talking about the quality attributes of an application we risk to talk all night without approaching the end of the topic. The main scope of this article is to see what are the main components of a scenario that can define a quality attribute.
There are a lot of quality attributes that can be involved. There are 6 attributes that are very common and extremely important in a solution:
  1. Availability
  2. Modifiability
  3. Performance
  4. Security
  5. Testability
We saw the most important quality attributes and it would be very easy for us to find another 10. All this attributes are executed based on a predefined scenario. The components of the scenario can be isolated and used to identify, describe and understand each attribute.
Each quality attribute has a SOURCE OF STIMULUS. There is an entity that generates the stimulus. In a simple scenario we can have a person, but the stimulus can be another system, a handler or even a specific time. This stimulus is the source that triggers the specific action, event or any kind of behavior. For example we can imagine as a stimulus the person who starts the computer.
Beside source of stimulus we have the STIMULUS. This represents the condition that needs to be taking into account when the stimulus arrives into the system. For example the “desire” to start the computer. It is very important to understand that the source of stimulus and stimulus itself are two different thing and don’t need to be combined. Different sources of stimulus can produce the same stimulus but the measurements can be different. For example is not the same thing to have as source of stimulus the person that is near the computer and can push the start button or when we have a person that is 1000 km away and need to fly to the specific location to start the system.
The 3th part of an attribute is the ENVIRONMENT. The action is executed in a specific scenario, were specific resources are available or certain components are active. Because of this the environment is very important for each scenario. For example the hardware configuration of the system where the operation system is installed. It is not the same thing to run a Windows 8 or on a i7 or on a Pentium 4.
Next thing of quality attribute scenario are ARTIFACTS. These can represent only a part of a system or the whole system. This represents the component/system that is measured. There are cases when we want to measure all the system or we need to measure only a part of a system (for example the module that initializes the kernel of operation system). Any action that is executed will generate a response.
 The 5th item is RESPONSE. The response is not all the time visible to the source of stimulus. For example starting operating system of a server that doesn’t has a monitor represent a state change of the running system.
From the moment when the stimulus is generated to the moment when the response is send we need to measure different parameters. These form the last item of our scenario which has been named RESPONSE SCENARIO.  Each response needs to be measurable in one way or another. In our example, the most important thing can be how long the operation system needs to start, but in other cases we can have different parameters (e.g. the monitor).

These are the components that form the scenarios that are used for quality attributes. When we are trying to define the quality attributes of a system we should think about this 6 components.

Comments

Popular posts from this blog

Windows Docker Containers can make WIN32 API calls, use COM and ASP.NET WebForms

After the last post , I received two interesting questions related to Docker and Windows. People were interested if we do Win32 API calls from a Docker container and if there is support for COM. WIN32 Support To test calls to WIN32 API, let’s try to populate SYSTEM_INFO class. [StructLayout(LayoutKind.Sequential)] public struct SYSTEM_INFO { public uint dwOemId; public uint dwPageSize; public uint lpMinimumApplicationAddress; public uint lpMaximumApplicationAddress; public uint dwActiveProcessorMask; public uint dwNumberOfProcessors; public uint dwProcessorType; public uint dwAllocationGranularity; public uint dwProcessorLevel; public uint dwProcessorRevision; } ... [DllImport("kernel32")] static extern void GetSystemInfo(ref SYSTEM_INFO pSI); ... SYSTEM_INFO pSI = new SYSTEM_INFO(

Azure AD and AWS Cognito side-by-side

In the last few weeks, I was involved in multiple opportunities on Microsoft Azure and Amazon, where we had to analyse AWS Cognito, Azure AD and other solutions that are available on the market. I decided to consolidate in one post all features and differences that I identified for both of them that we should need to take into account. Take into account that Azure AD is an identity and access management services well integrated with Microsoft stack. In comparison, AWS Cognito is just a user sign-up, sign-in and access control and nothing more. The focus is not on the main features, is more on small things that can make a difference when you want to decide where we want to store and manage our users.  This information might be useful in the future when we need to decide where we want to keep and manage our users.  Feature Azure AD (B2C, B2C) AWS Cognito Access token lifetime Default 1h – the value is configurable 1h – cannot be modified

ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded

Today blog post will be started with the following error when running DB tests on the CI machine: threw exception: System.InvalidOperationException: The Entity Framework provider type 'System.Data.Entity.SqlServer.SqlProviderServices, EntityFramework.SqlServer' registered in the application config file for the ADO.NET provider with invariant name 'System.Data.SqlClient' could not be loaded. Make sure that the assembly-qualified name is used and that the assembly is available to the running application. See http://go.microsoft.com/fwlink/?LinkId=260882 for more information. at System.Data.Entity.Infrastructure.DependencyResolution.ProviderServicesFactory.GetInstance(String providerTypeName, String providerInvariantName) This error happened only on the Continuous Integration machine. On the devs machines, everything has fine. The classic problem – on my machine it’s working. The CI has the following configuration: TeamCity .NET 4.51 EF 6.0.2 VS2013 It see