Professional education · GTM-009 of 40

Functional and Negative Testing Across Managed Services

Original professional reading and self-study exercises.

Reading edition: This page has no graded test, saved progress, completion credit or interactive Aha controls. Follow the prompts as self-study questions. Protected teaching keys are not published.

Successful login. Unsuccessful access control?

A fictional hosting company provides customers with an online management portal. A service operator demonstrates that an authorized customer can sign in and view a server list. A manager says, "Authentication and permissions are fully tested."

Predict: What else would you want to verify?

A. Nothing: successful sign-in proves that every access rule works.
B. The same authorized user can see only resources they are permitted to access, and prohibited operations are rejected.
C. All users should be denied all access to guarantee security.

Choose and explain in your notes before reading the next example. This is a low-stakes, unscored prediction; no simulator opens on this page.

Two different dimensions: functional behaviour and positive/negative conditions

Functional testing means examining what a service is required to do. The function under test can include accepting permitted input, enforcing access permissions, rejecting unsupported input, and handling errors correctly. Functional is a description of the objective/behaviour being checked, not a synonym for "positive".

Positive and negative conditions are a different dimension. A positive condition typically uses permitted, valid inputs and expects success; a negative condition deliberately uses invalid/prohibited inputs or operations and expects the specified rejection or safe handling. Both can test a required function. Neither term describes whether the test result is PASS or FAIL.

Original mini-case, specifically for classification: An upload service's fictional requirement says only file types on its allowlist are accepted. Uploading an allowed synthetic example.txt and observing acceptance is a positive condition that tests functionality. Uploading a synthetic disallowed example.bad and observing a documented rejection with no object created is a negative condition that ALSO tests functionality. If the denial matches the expected outcome, the negative functional test PASSES. If the service accepts the disallowed type, the negative functional test FAILS. There is no claim that all security testing is functional or all functional testing is positive.

Worked reading example - classify a test correctly: The claim "A test that correctly rejects an unsupported file is automatically non-functional testing" is FALSE. The upload contract explicitly requires unsupported file types to be rejected, so verifying that rejection is a negative functional test. If the observed rejection matches the specified expectation, the negative test PASSes. The words positive and negative describe the input/condition, not whether the test result is PASS or FAIL.

Check your understanding in your notes: What part of the requirement defines the function? What new observation would turn this negative test into FAIL? This is a worked teaching example, not an answer-hidden prediction or a scored exercise.

Authorization is about what an authenticated actor may do. Authentication only establishes identity under the tested mechanism; do not infer access-control correctness from sign-in alone.

Worked fictional policy: A service has two role levels: Viewer can read an owned test resource; Editor can read and update an owned test resource. Neither can read nor update a resource belonging to another customer organization. These are fictional requirements for the lesson, not universal role rules.

Example positive condition within functional access testing: Editor updates an authorized synthetic resource's title; expected modification recorded. Example negative condition within functional access testing: Viewer attempts that same update; expected permission denied and unchanged title. Both are functional checks, and both may PASS when their observed results match their respective expectations.

Aha reading: Authentication and authorization are different

Reading edition: this is a fictional evidence thought experiment, not a working simulator. No choices, scores or progress are stored on this page. You can answer in your notes.

Think first, without scoring: A fictional viewer logs in successfully. Does that guarantee permission to update a record belonging to a different customer?

Fictional evidence to consider: Model a request using three facts: the user's role, which customer's resource is targeted and whether the action reads or updates metadata. A successful login establishes an identity session, not a blanket right to every operation.

Reason through the evidence: Functional testing checks required behaviour, including whether an allowed request succeeds and a prohibited request is rejected as specified. Under the fictional access policy, both cases are functional checks: the negative condition should produce the expected denial without exposing or changing protected data. A correctly observed expected denial may be a PASS for that negative functional test. A successful login alone does not demonstrate authorization for every action or customer resource.

Try it in your notes: Write one allowed and one denied synthetic request. Specify the expected status and which data must remain unchanged after the denied request.

Guided practice | A change that should and should not succeed

A fictional cloud service offers a configuration-view page and a settings-change button. The stated policy for this guided task: a Reader may view their own tenant's configuration but may not change any settings, while a Tenant Administrator may view and change settings in their own tenant. Neither may access the other tenant.

Answer A-D:

A. Write a positive condition testing functional behaviour for a Reader with an explicit expected outcome.
B. Write a negative condition for the Reader involving settings changes. State what unchanged state you would verify.
C. Write another negative condition that checks separation between two test tenants, without using real customer data.
D. Explain why seeing one successful login is insufficient to call either negative condition tested.

Optional self-check prompts (after your first paper attempt):

This page does not reveal a hidden key or evaluate submissions.

Independent transfer | Backup administration roles

New fictional domain: a managed backup portal for customer organizations. Its approved fictional requirements say:

Complete all five questions independently in your notes:

A. Write two positive test conditions for the two different roles, with expected results.
B. Write two negative test conditions covering two distinct prohibitions, one involving privilege and one tenant boundary.
C. For an attempted restore, identify the extra precondition needed even when role permissions seem correct.
D. State what actual test-execution evidence would have to show to substantiate the two negative tests, including absence of forbidden side effects.
E. Explain why a PASS on an authorized status-view test does not justify claiming that customer recovery authorization is correct end to end.

Optional self-check questions after you draft A-E:

Alternative safe designs may be justified by their evidence; do not execute a privileged test against a real customer system.

Public reading self-study: Explain each answer in your notes and mark any unverified observation as unknown. This page has no answer-key reveal, automatic feedback, saved attempt or score. A negative expected outcome that is actually observed may be a PASS for the relevant negative functional test.

Closing concept

A correctly rejected invalid operation can be a passing negative condition in a functional test. Functional names the behaviour being checked; positive/negative names the permitted versus prohibited/invalid condition. They overlap, so neither classification proves access control across all roles, customers and environments.


Unscored reading only. No certification, exam result or verified skill claim.

Previous lesson · Next lesson: Interfaces and System Integration Testing in Managed IT