Back to Blog
Testing guide

Requirements Traceability Matrix (RTM): Examples & Template

Learn what a Requirements Traceability Matrix (RTM) is, how it helps QA teams prevent coverage gaps, and how to build one with practical examples and templates.

Armish Shah
December 4, 2026
December 4, 2026
Requirements Traceability Matrix (RTM): Examples & Template

Testing guide

Requirements Traceability Matrix (RTM): Examples & Template

by:

Armish Shah

December 4, 2026

8

min

Share:

Requirements Traceability Matrix (RTM): Examples & Template
On this page

Ready to take your testing to
the next level?

Sleek and intuitive workflows
Transparent pricing
Easy migration

Introduction

When QA teams are nearing release, the most important question they ask is if every requirement has been tested. 

If the answer lives scattered across spreadsheets or a long chain of comments in Jira, that question can take hours to answer. And even then, no one can be fully sure. A requirements traceability matrix solves this. 

A requirements traceability matrix gives you one place to see every requirement, the tests that cover it, how those tests performed, and any defects that came out of them.

What Is a Requirements Traceability Matrix

A requirements traceability matrix (RTM) is a table that links each requirement to the test cases that verify it, the results of those tests, and the defects found along the way.

Each row usually represents one requirement. The columns show everything connected to that requirement, including the assignee, which tests cover it, whether those tests passed, and which bugs are still open.

Think of a requirements traceability matrix as a map. On one side of the map are the things your software is supposed to do. On the other side is the proof that it actually does them. 

Here’s a simpler example of a requirements traceability matrix:

Requirement ID Requirement Test Case IDs Test Status Defect IDs
REQ-001 User can sign up with email and password TC-101, TC-102 Passed None
REQ-002 Account locks after 5 failed login attempts TC-104 Failed BUG-231
REQ-003 Session expires after 30 minutes of inactivity None Not tested None

In the table above, you can see three requirements. In the columns associated with those requirements, it’s visible that one requirement is ready, one is blocked by a bug, and one hasn’t been tested at all. That is where teams drive value from the RTM: problems that are easy to miss in a long test list become obvious at a glance.

Types of Requirements Traceability

Traceability can run in different directions, depending on the question you are trying to answer.

Forward traceability

Forward traceability follows a requirement from start to finish: from the requirement to its design, its code, and its tests. It tells the tester if a requirement has been built and tested. Use it to make sure nothing gets left behind as work moves through development.

Backward traceability

Backward traceability works the other way. It starts with a test or a defect and follows it back to the requirement that justified it. It tells teams why a particular bug or test case exists. Use it to spot extra work that does not tie back to any requirement, such as old tests, irrelevant features, or scope creep.

Bidirectional traceability

Bidirectional traceability combines both forward and backward directions. You can move from a requirement to its tests and from any test back to its requirement. It answers both questions at once, which is why audits and impact analysis rely on it. When a requirement changes, you can see every affected test. When a test fails, you can see every affected requirement. For most QA teams, bidirectional traceability is the goal. It gives the fullest picture with the fewest blind spots.

How to Create a Requirements Traceability Matrix

There is no single fixed format for an RTM. But most useful matrices include the same core columns. Here is what to include and why:

1. Requirement ID, description, and source

Every requirement needs a unique ID, such as REQ-001, so it can be referenced without confusion. Add a short description of what the requirement asks for, and note where it came from, such as a product spec, a user story, a customer request, or a security review.

2. Priority, owner, and status

Priority tells the team what to test first when time is short. The owner is the person accountable for the requirement. The status shows where it stands, such as draft, approved, in progress, or done.

3. Test case IDs

List every test case that verifies the requirement. One requirement often needs more than one test, for example, one for the expected path and one for an error case.

4. Test status and result

Record whether each linked test has passed, failed, been blocked, or not been run yet. This is the column most people check first.

5. Defect IDs

When a test fails, link the defect it created. This connects the bug directly to the requirement it affects, which makes it easier to prioritize fixes.

6. Release or sprint

Note which release or sprint the requirement belongs to. This lets you filter the matrix and see only what matters for the next release.

7. Optional columns

Depending on your team and industry, you might also add:

  • Risk level: How much damage a failure would cause.
  • Verification method: How the requirement is checked, such as test, inspection, demo, or analysis.
  • Regulatory reference: The clause or rule the requirement satisfies, for teams that need to show compliance

Start with the core columns. Add optional ones only when someone will actually use them. A matrix with too many columns gets frustrating to deal with.

How to Read Your RTM: Gaps, Orphans and Failing Coverage

Building the matrix is only half the job. The real value comes from reading it and acting on what it shows. Here are the four problems to look for, and what to do about each one.

1. A requirement with no linked test: coverage gap

If a requirement has no test case, nothing proves it works. This is a coverage gap. 

What to do: Write a test for it. If the requirement cannot be tested, or will be checked another way, document why so the gap is a known decision and not an oversight.

2. A test with no linked requirement: orphan

If a test case does not link back to any requirement, it is an orphan. It might be an old test for a feature that changed, a duplicate, or a sign of a requirement that was never written down.

What to do: Link it to the right requirement, retire it if it is no longer needed, or find and document the missing requirement.

3. A requirement with a failing or blocked test: release risk

If a requirement’s test has failed or is blocked, that requirement is not ready. This is a direct risk to the release.

What to do: Escalate it with the defect linked, so the team can see the bug, the requirement it affects, and its priority in one place.

4. A requirement changed after its tests were written: stale coverage

If a requirement was updated after its tests were created, the tests may no longer check the right thing. They might still pass, but they are passing against an old version of the requirement.

What to do: Review the linked tests and update them to match the current requirement.

A quick coverage percentage formula:

Requirement coverage rate is one of the most essential software testing metrics. To get a fast health check, calculate your requirements coverage:

Requirements coverage (%) = (Requirements with at least one passing test ÷ Total requirements) × 100

For example, if you have 50 requirements and 42 of them have at least one passing test, your coverage is 84%.

This number is a starting point, not the full story. A requirement with one weak test counts the same as a requirement with ten strong ones. Use the percentage to track progress, and use the matrix itself to judge quality.

Requirements Traceability Matrix Template

Copy this requirements traceability matrix template into a spreadsheet or your test management tool and fill it in for your project.

Req ID Requirement Description Source Priority Owner Req Status Test Case IDs Test Status Defect IDs Release / Sprint
REQ-001
REQ-002
REQ-003

Optional columns to add if you need them: Risk Level, Verification Method, Regulatory Reference, Last Updated.

A few tips for using the template:

  • Use dropdowns for status columns. Fixed values like Passed, Failed, Blocked, and Not Run keep the matrix easy to filter.
  • Write “None” instead of leaving cells blank. A blank cell can mean “nothing linked” or “not filled in yet.” “None” removes the doubt.
  • Add a Last Updated column. It shows how fresh each row is and helps you spot stale coverage.
  • Keep one row per requirement. If a requirement has several tests, list all the test IDs in one cell instead of splitting the row.

A spreadsheet template works well for small projects. As the number of requirements and tests grows, keeping it updated by hand becomes the hardest part. That’s where a reliable test management tool can help you.

TestFiesta Features a Traceability Matrix That Updates Itself When You Run the Tests

The hardest part of any RTM is keeping it current. Every test run, failed case, and new bug means another manual update, and a spreadsheet that falls behind stops being useful.

TestFiesta keeps the data your matrix depends on connected and up to date as you test.

Real-Time Test Results: Every test run tracks cases as Untested, Passed, Failed, Incomplete, or Skipped, complete with assignees and comments. Organize test runs under milestones and test plans to clearly track release progress.

Seamless Defect Linking: Create or link defects directly from failed test runs. Bugs remain connected to the precise tests that uncovered them without manual cross-tool copying.

Jira & GitHub Synchronization: TestFiesta automatically converts failed tests into Jira tickets or GitHub issues with full context, including reproduction steps, screenshots, and environment details. It synchronizes defect statuses, assignees, priorities, and custom fields every 10 minutes, triggers status transitions as test results change, updates when developers close issues, and links execution results directly to pull requests.

Automated CI/CD Results: Stream automated pipeline results straight into TestFiesta using the TacoTruck CLI, centralizing both manual and automated testing data.

AI-Powered Test Generation: Generate comprehensive test cases from requirements, user stories, or screenshots with TestFiesta’s AI Copilot to close coverage gaps faster.

Shareable Reports & Insights: Generate project summaries, schedule automated reports, export PDFs, or share direct links with stakeholders prior to release reviews.

Predictable, Transparent Pricing: At $10 per active user per month, access all features with unlimited projects and test cases.

Stop chasing manual spreadsheet updates before releases.

Try TestFiesta to unify your test results, defects, and tracking in one place.

Start your free trial today

FAQs

What is the difference between a requirements traceability matrix and a test matrix?

A requirements traceability matrix starts from requirements and shows how each one is covered by tests, results, and defects. A test matrix starts from tests and usually maps them to things like environments, browsers, devices, or configurations. 

Who is responsible for creating and maintaining the RTM?

In most teams, the QA lead or test manager creates and maintains the RTM. Business analysts or product owners supply the requirements, and testers update results as tests run. Developers help by linking defects and fixes. 

Do agile teams need a requirements traceability matrix?

Yes, agile teams do need a requirements traceability matrix, though it often looks lighter than a traditional RTM. In agile teams, user stories and their acceptance criteria act as the requirements, and each story links to its tests and defects. The matrix gets updated every sprint instead of once at the end. It is especially useful for agile teams in regulated industries or with large backlogs.

Tool

Pricing

TestFiesta

Free user accounts available; $10 per active user per month for teams

TestRail

Professional: $40 per seat per month

Enterprise: $76 per seat per month (billed annually)

Xray

Free trial; Standard: $10 per month for the first 10 users (price increases after 10 users)

Advanced: $12 per month for the first 10 users (price increases after 10 users)

Zephyr

Free trial; Standard: ~$10 per month for first 10 users (price increases after 10 users)

Advanced: ~$15 per month for the first 10 users (price increases after 10 users)

qTest

14‑day free trial; pricing requires demo & quote (no transparent pricing)

Qase

Free: $0/user/month (up to 3 users)

Startup: $24/user/month

Business: $30/user/month

Enterprise: custom pricing

TestMo

Team: $99/month for 10 users

Business: $329/month for 25 users

Enterprise: $549/month for 25 users

BrowserStack Test Management

Free plan available

Team: $149/month for 5 users

Team Pro: $249/month for 5 users

Team Ultimate: Contact sales

TestFLO

Annual subscription (specific amounts per user band), e.g., Up to 50 users: $1,186/yr; Up to 100 users: $2,767/yr; etc.

QA Touch

Free: $0 (very limited)

Startup: $5/user/month

Professional: $7/user/month

TestMonitor

Starter: $13/user/month

Professional: $20/user/month

Custom: custom pricing

Azure Test Plans

Pricing tied to Azure DevOps services (no specific rate given)

QMetry

14‑day free trial; custom quote pricing

PractiTest

Team: $54/user/month (minimum 5 users)

Corporate: custom pricing

Black Box Testing

White Box Testing

Coding Knowledge

No code knowledge needed

Requires understanding of code and internal structure

Focus

QA testers, end users, domain experts

Developers, technical testers

Performed By

High-level and strategic, outlining approach and objectives.

Detailed and specific, providing step-by-step instructions for execution.

Coverage

Functional coverage based on requirements

Code coverage

Defects type found

Functional issues, usability problems, interface defects

Logic errors, code inefficiencies, security vulnerabilities

Limitations

Cannot test internal logic or code paths

Time-consuming, requires technical expertise

Aspect

Test Plan

Test Case

Purpose

Defines the overall testing strategy, scope, and approach for a project or release.

Validates that a specific feature or functionality works as expected.

Scope

Covers the entire testing effort, including what will be tested, resources, timelines, and risks.

Focuses on a single scenario or functionality in the broader scope.

Level of Detail

High-level and strategic, outlining approach and objectives.

Detailed and specific, providing step-by-step instructions for execution.

Audience

Project managers, stakeholders, QA leads, and development teams.

QA testers and engineers.

When It's Created

Early in the project, before testing begins.

After the test plan is defined and the requirements are clear.

Content

Scope, objectives, strategy, resources, schedule, environment details, and risk management.

Test case ID, title, preconditions, test steps, expected results, and test data.

Frequency of Updates

Updated periodically as project scope or strategy changes.

Updated frequently as features change or bugs are fixed.

Outcome

Provides direction and clarifies what to test and how to approach it.

Produces pass or fail results that indicate whether specific functionality works correctly.

Tool

Key Highlights

Automation Support

Team Size

Pricing

Ideal For

TestFiesta

Flexible workflows, tags, custom fields, and AI copilot

Yes (integrations + API)

Small → Large

Free solo; $10/active user/mo

Flexible QA teams, budget‑friendly

TestRail

Structured test plans, strong analytics

Yes (wide integrations)

Mid → Large

~$40–$74/user/mo)

Medium/large QA teams

Xray

Jira‑native, manual/
automated/
BDD

Yes (CI/CD + Jira)

Small → Large

Starts ~$10/mo for 10 Jira users

Jira‑centric QA teams

Zephyr

Jira test execution & tracking

Yes

Small → Large

~$10/user/mo (Squad)

Agile Jira teams

qTest

Enterprise analytics, traceability

Yes (40+ integrations)

Mid → Large

Custom pricing

Large/distributed QA

Qase

Clean UI, automation integrations

Yes

Small → Mid

Free up to 3 users; ~$24/user/mo

Small–mid QA teams

TestMo

Unified manual + automated tests

Yes

Small → Mid

~$99/mo for 10 users

Agile cross‑functional QA

BrowserStack Test Management

AI test generation + reporting

Yes

Small → Enterprise

Free tier; starts ~$149/mo/5 users

Teams with automation + real device testing

TestFLO

Jira add‑on test planning

Yes (via Jira)

Mid → Large

Annual subscription starts at $1,100

Jira & enterprise teams

QA Touch

Built‑in bug tracking

Yes

Small → Mid

~$5–$7/user/mo

Budget-conscious teams

TestMonitor

Simple test/run management

Yes

Small → Mid

~$13–$20/user/mo

Basic QA teams

Azure Test Plans

Manual & exploratory testing

Yes (Azure DevOps)

Mid → Large

Depends on the Azure DevOps plan

Microsoft ecosystem teams

QMetry

Advanced traceability & compliance

Yes

Mid → Large

Not transparent (quote)

Large regulated QA

PractiTest

End‑to‑end traceability + dashboards

Yes

Mid → Large

~$54+/user/mo

Visibility & control focused QA

Related Articles

Introduction

When QA teams are nearing release, the most important question they ask is if every requirement has been tested. 

If the answer lives scattered across spreadsheets or a long chain of comments in Jira, that question can take hours to answer. And even then, no one can be fully sure. A requirements traceability matrix solves this. 

A requirements traceability matrix gives you one place to see every requirement, the tests that cover it, how those tests performed, and any defects that came out of them.

What Is a Requirements Traceability Matrix

A requirements traceability matrix (RTM) is a table that links each requirement to the test cases that verify it, the results of those tests, and the defects found along the way.

Each row usually represents one requirement. The columns show everything connected to that requirement, including the assignee, which tests cover it, whether those tests passed, and which bugs are still open.

Think of a requirements traceability matrix as a map. On one side of the map are the things your software is supposed to do. On the other side is the proof that it actually does them. 

Here’s a simpler example of a requirements traceability matrix:

Requirement ID Requirement Test Case IDs Test Status Defect IDs
REQ-001 User can sign up with email and password TC-101, TC-102 Passed None
REQ-002 Account locks after 5 failed login attempts TC-104 Failed BUG-231
REQ-003 Session expires after 30 minutes of inactivity None Not tested None

In the table above, you can see three requirements. In the columns associated with those requirements, it’s visible that one requirement is ready, one is blocked by a bug, and one hasn’t been tested at all. That is where teams drive value from the RTM: problems that are easy to miss in a long test list become obvious at a glance.

Types of Requirements Traceability

Traceability can run in different directions, depending on the question you are trying to answer.

Forward traceability

Forward traceability follows a requirement from start to finish: from the requirement to its design, its code, and its tests. It tells the tester if a requirement has been built and tested. Use it to make sure nothing gets left behind as work moves through development.

Backward traceability

Backward traceability works the other way. It starts with a test or a defect and follows it back to the requirement that justified it. It tells teams why a particular bug or test case exists. Use it to spot extra work that does not tie back to any requirement, such as old tests, irrelevant features, or scope creep.

Bidirectional traceability

Bidirectional traceability combines both forward and backward directions. You can move from a requirement to its tests and from any test back to its requirement. It answers both questions at once, which is why audits and impact analysis rely on it. When a requirement changes, you can see every affected test. When a test fails, you can see every affected requirement. For most QA teams, bidirectional traceability is the goal. It gives the fullest picture with the fewest blind spots.

How to Create a Requirements Traceability Matrix

There is no single fixed format for an RTM. But most useful matrices include the same core columns. Here is what to include and why:

1. Requirement ID, description, and source

Every requirement needs a unique ID, such as REQ-001, so it can be referenced without confusion. Add a short description of what the requirement asks for, and note where it came from, such as a product spec, a user story, a customer request, or a security review.

2. Priority, owner, and status

Priority tells the team what to test first when time is short. The owner is the person accountable for the requirement. The status shows where it stands, such as draft, approved, in progress, or done.

3. Test case IDs

List every test case that verifies the requirement. One requirement often needs more than one test, for example, one for the expected path and one for an error case.

4. Test status and result

Record whether each linked test has passed, failed, been blocked, or not been run yet. This is the column most people check first.

5. Defect IDs

When a test fails, link the defect it created. This connects the bug directly to the requirement it affects, which makes it easier to prioritize fixes.

6. Release or sprint

Note which release or sprint the requirement belongs to. This lets you filter the matrix and see only what matters for the next release.

7. Optional columns

Depending on your team and industry, you might also add:

  • Risk level: How much damage a failure would cause.
  • Verification method: How the requirement is checked, such as test, inspection, demo, or analysis.
  • Regulatory reference: The clause or rule the requirement satisfies, for teams that need to show compliance

Start with the core columns. Add optional ones only when someone will actually use them. A matrix with too many columns gets frustrating to deal with.

How to Read Your RTM: Gaps, Orphans and Failing Coverage

Building the matrix is only half the job. The real value comes from reading it and acting on what it shows. Here are the four problems to look for, and what to do about each one.

1. A requirement with no linked test: coverage gap

If a requirement has no test case, nothing proves it works. This is a coverage gap. 

What to do: Write a test for it. If the requirement cannot be tested, or will be checked another way, document why so the gap is a known decision and not an oversight.

2. A test with no linked requirement: orphan

If a test case does not link back to any requirement, it is an orphan. It might be an old test for a feature that changed, a duplicate, or a sign of a requirement that was never written down.

What to do: Link it to the right requirement, retire it if it is no longer needed, or find and document the missing requirement.

3. A requirement with a failing or blocked test: release risk

If a requirement’s test has failed or is blocked, that requirement is not ready. This is a direct risk to the release.

What to do: Escalate it with the defect linked, so the team can see the bug, the requirement it affects, and its priority in one place.

4. A requirement changed after its tests were written: stale coverage

If a requirement was updated after its tests were created, the tests may no longer check the right thing. They might still pass, but they are passing against an old version of the requirement.

What to do: Review the linked tests and update them to match the current requirement.

A quick coverage percentage formula:

Requirement coverage rate is one of the most essential software testing metrics. To get a fast health check, calculate your requirements coverage:

Requirements coverage (%) = (Requirements with at least one passing test ÷ Total requirements) × 100

For example, if you have 50 requirements and 42 of them have at least one passing test, your coverage is 84%.

This number is a starting point, not the full story. A requirement with one weak test counts the same as a requirement with ten strong ones. Use the percentage to track progress, and use the matrix itself to judge quality.

Requirements Traceability Matrix Template

Copy this requirements traceability matrix template into a spreadsheet or your test management tool and fill it in for your project.

Req ID Requirement Description Source Priority Owner Req Status Test Case IDs Test Status Defect IDs Release / Sprint
REQ-001
REQ-002
REQ-003

Optional columns to add if you need them: Risk Level, Verification Method, Regulatory Reference, Last Updated.

A few tips for using the template:

  • Use dropdowns for status columns. Fixed values like Passed, Failed, Blocked, and Not Run keep the matrix easy to filter.
  • Write “None” instead of leaving cells blank. A blank cell can mean “nothing linked” or “not filled in yet.” “None” removes the doubt.
  • Add a Last Updated column. It shows how fresh each row is and helps you spot stale coverage.
  • Keep one row per requirement. If a requirement has several tests, list all the test IDs in one cell instead of splitting the row.

A spreadsheet template works well for small projects. As the number of requirements and tests grows, keeping it updated by hand becomes the hardest part. That’s where a reliable test management tool can help you.

TestFiesta Features a Traceability Matrix That Updates Itself When You Run the Tests

The hardest part of any RTM is keeping it current. Every test run, failed case, and new bug means another manual update, and a spreadsheet that falls behind stops being useful.

TestFiesta keeps the data your matrix depends on connected and up to date as you test.

Real-Time Test Results: Every test run tracks cases as Untested, Passed, Failed, Incomplete, or Skipped, complete with assignees and comments. Organize test runs under milestones and test plans to clearly track release progress.

Seamless Defect Linking: Create or link defects directly from failed test runs. Bugs remain connected to the precise tests that uncovered them without manual cross-tool copying.

Jira & GitHub Synchronization: TestFiesta automatically converts failed tests into Jira tickets or GitHub issues with full context, including reproduction steps, screenshots, and environment details. It synchronizes defect statuses, assignees, priorities, and custom fields every 10 minutes, triggers status transitions as test results change, updates when developers close issues, and links execution results directly to pull requests.

Automated CI/CD Results: Stream automated pipeline results straight into TestFiesta using the TacoTruck CLI, centralizing both manual and automated testing data.

AI-Powered Test Generation: Generate comprehensive test cases from requirements, user stories, or screenshots with TestFiesta’s AI Copilot to close coverage gaps faster.

Shareable Reports & Insights: Generate project summaries, schedule automated reports, export PDFs, or share direct links with stakeholders prior to release reviews.

Predictable, Transparent Pricing: At $10 per active user per month, access all features with unlimited projects and test cases.

Stop chasing manual spreadsheet updates before releases.

Try TestFiesta to unify your test results, defects, and tracking in one place.

Start your free trial today

FAQs

What is the difference between a requirements traceability matrix and a test matrix?

A requirements traceability matrix starts from requirements and shows how each one is covered by tests, results, and defects. A test matrix starts from tests and usually maps them to things like environments, browsers, devices, or configurations. 

Who is responsible for creating and maintaining the RTM?

In most teams, the QA lead or test manager creates and maintains the RTM. Business analysts or product owners supply the requirements, and testers update results as tests run. Developers help by linking defects and fixes. 

Do agile teams need a requirements traceability matrix?

Yes, agile teams do need a requirements traceability matrix, though it often looks lighter than a traditional RTM. In agile teams, user stories and their acceptance criteria act as the requirements, and each story links to its tests and defects. The matrix gets updated every sprint instead of once at the end. It is especially useful for agile teams in regulated industries or with large backlogs.

Testing guide

Introduction

Every application has weak spots. The question is who finds them first: your team or an attacker. Penetration testing is how security teams answer that question on their own terms. Instead of waiting for a real attack, you hire or assign someone to break in on purpose, under clear rules, and then show you exactly how they did it.

What Is Penetration Testing

Penetration testing, often called pentesting, is an authorized and simulated attack on a system to find security weaknesses before real attackers do. A tester uses the same techniques an attacker would use to get into an application, network, or cloud environment, then documents what they found and how they got there.

A pentest is different from a vulnerability scan. A scan gives you a list of possible weaknesses. A pentest goes further and tries to exploit them, proving whether a weakness is real and how much damage it could cause. A security scanner might tell you a door looks unlocked. A pentester actually opens it and shows you what’s inside.

Why Penetration Testing Is Important

It shows real risk, not theoretical risk. A list of 300 scanner findings doesn’t tell you which three would actually let an attacker reach your customer data. A pentest does.

It finds what automated tools miss. Flaws in business logic, like a checkout flow that lets users change the price of an item, rarely show up in scans. A human tester thinking like an attacker can spot them.

It tests your defenses, not just your code. A good test also shows whether your monitoring and alerting noticed the attack, and how fast.

It helps meet compliance requirements. Many security frameworks and industry standards expect regular penetration testing as proof that you’re actively checking your defenses.

It builds trust. Customers, especially larger ones, often ask for a recent pentest report before they sign a contract.

Penetration Testing Process: Step by Step

Most penetration tests follow the same basic flow. The details change depending on what’s being tested, but the steps often stay the same.

1. Scoping and rules of engagement

Before any testing starts, both sides agree on what’s in scope and what’s off limits. A clear scope protects the client's systems and protects the tester legally.

2. Reconnaissance and asset discovery

The tester gathers information about the product, such as domains, subdomains, IP ranges, employee names, technology used, and anything publicly exposed. The goal is to build a map of what can be attacked.

3. Scanning and enumeration

The tester probes the product to learn more, such as open ports, services running, user accounts, and product versions. This step turns a rough map into a detailed list of possible entry points.

4. Exploitation and privilege escalation

This is where the tester tries to break in. They attempt to exploit the weaknesses they found to gain access. Once inside, they try to raise their access level, like moving from a regular user account to an admin account.

5. Post-exploitation and impact analysis

The tester now works out what an attacker could actually do with that access. Could they read customer data, move to other systems, or stay hidden for weeks? 

6. Reporting with reproducible evidence

The tester writes up every finding with clear steps to reproduce it for developers, including screenshots or logs as evidence, a severity rating, and a recommended fix. 

7. Remediation and retest

Your team fixes the issues. Then the tester checks again to confirm each fix actually works. 

Types of Penetration Testing

Penetration tests can be grouped in a few different ways: by how much the tester knows going in, by where the attack starts, and by what’s being tested.

1. Grey Box, White Box, and Black Box Penetration Testing

Black box penetration testing gives the tester no prior knowledge of the target. They start with little more than a company name or a URL, just like an outside attacker would. This makes it the most realistic simulation of an outsider attack. This is also known as a blind pen test or closed-box pen test. A double-blind pen test takes it a step further because it leaves the employees or administrators unaware of the test attack.

Grey box testing gives the tester partial knowledge, such as a regular user account or basic architecture details. It’s the most common choice because it balances realism with efficiency. 

White box testing gives the tester full access to source code, architecture diagrams, and credentials. It takes the most effort to set up but offers the deepest coverage, since the tester can see exactly how the system is built.

2. External and Internal Penetration Testing

External penetration testing targets everything you expose to the internet, like websites, login portals, VPNs, email servers, and public APIs. Internal penetration testing assumes the attacker is already inside your network. That could be a malicious insider, or an outsider who got in through a phishing email. The focus is on lateral movement, meaning how far an attacker can spread from one machine to others, and on weaknesses in Active Directory, which controls user accounts and permissions in many companies.

3. Network Penetration Testing

Network penetration testing involves an attempted attack through the network. The pen tester tries to gain access through network areas, such as routers, firewalls, and servers. 

4. AI Penetration Testing

AI penetration testing uses AI models to help with parts of the testing process, such as analyzing reconnaissance data, suggesting attack paths, writing test payloads, or running multi-step attacks on its own.

It can help testers cover more ground in less time. But it still needs human oversight. AI tools can misread results, report issues that aren’t real, or act outside the agreed scope if they aren’t carefully controlled. 

Penetration Testing Tools

Penetration testers use a range of tools to identify vulnerabilities, map attack surfaces, assess security weaknesses, and simulate real-world attacks. Here are some of the most commonly used tools, organized by category.

1. Reconnaissance and OSINT

  • Amass: Maps an organization's attack surface, including subdomains.
  • Subfinder: Discovers subdomains using passive sources.
  • Shodan: Searches for internet-connected devices and exposed services.

2. Scanning and Enumeration

  • Nmap: Discovers hosts, open ports, and running services.
  • Nessus: Scans systems for known vulnerabilities.
  • Nuclei: Runs fast, template-based checks for known security issues.

3. Web and API Testing

  • Burp Suite: Intercepts and modifies web traffic for manual security testing.
  • OWASP ZAP: Provides a free, open-source web application scanner and proxy.
  • ffuf: Fuzzes web applications to discover hidden files, directories, and parameters.
  • sqlmap: Detects and exploits SQL injection vulnerabilities.

4. Exploitation

  • Metasploit: Provides a framework for developing, running, and managing exploits.

5. Active Directory and Internal Network Testing

  • BloodHound: Maps relationships in Active Directory to identify potential attack paths.
  • Impacket: Provides a collection of tools for working with network protocols commonly used in internal network attacks.

6. Password Testing and Traffic Analysis

  • Hashcat: Cracks password hashes using high-performance processing.
  • John the Ripper: Audits and cracks passwords across multiple hash formats.
  • Wireshark: Captures and analyzes network traffic.

How to Choose a Penetration Testing Vendor

A long list of tools tells you very little when evaluating a penetration testing vendor. Anyone can run a vulnerability scanner. What you’re really paying for is the tester’s ability to connect findings, identify complex attack paths, and assess their actual business impact.

Before hiring a vendor, ask who will actually perform the testing and what experience they bring. You should also request a sample report to evaluate the quality and depth of their work.

A good penetration testing report should include:

  • Executive summary: An overview of the security assessment and its key findings.
  • Clear scope: A description of the systems, applications, and infrastructure tested.
  • Detailed findings: Each vulnerability documented with steps to reproduce it.
  • Evidence: Supporting screenshots, logs, or other proof of the findings.
  • Severity ratings: Risk levels based on actual business impact.
  • Remediation guidance: Specific, actionable recommendations for fixing each vulnerability.

Ultimately, the quality of a penetration test is determined by the depth of the assessment and the usefulness of its findings, not the number of tools in the tester’s toolkit.

TestFiesta: Keep Your Pentest Findings In One Place 

Running a penetration test is only the first step. The real challenge begins after the assessment: ensuring every vulnerability is accurately documented, prioritized, remediated, and verified. Without a centralized system, security teams often struggle with scattered findings, disconnected workflows between security and development, and a lack of visibility into remediation progress.

Using a specialized test management platform bridges the gap between penetration testing results and software engineering. It converts static pentest reports into actionable, trackable items within your existing development lifecycle.

1. Centralized Defect Logging & In-Context Defect Tracking

Log security findings directly alongside test suites. By capturing vulnerabilities where testing occurs, each defect remains linked to the exact test case that identified it, preventing lost context.

2. Seamless Jira & GitHub Integration

Automatically create and synchronize issues in Jira or GitHub directly from failed tests. This places security findings directly into developer backlogs with full context, automated field mapping, and bi-directional status updates.

3. Comprehensive Evidence Management

Attach reproduction steps, screenshots, payload details, and system logs directly to test results. Tagging and organizing evidence ensures developers have all necessary context to reproduce and fix issues efficiently.

4. Retest Planning & Verification Tracking

Group verification checks into dedicated test runs and milestones. Assign retests to team members with due dates and update execution statuses (Passed, Failed, Incomplete, Skipped, or Untested) to maintain full clarity on fixed vs. open items.

5. Security Regression Test Suite

Convert resolved pentest findings into permanent test cases organized in structured suites. Reusable steps and integration with the TacoTruck CLI allow automated security test execution directly within your CI/CD pipeline.

6. Real-Time Dashboards & AI-Assisted Authoring

Monitor open, high-priority, and recently resolved defects at a glance without generating manual status reports. Additionally, TestFiesta’s AI Copilot automatically converts requirements, user stories, and visual inputs into complete security test cases.

Keep your pentest findings organized in one place. Try TestFiesta today.

Start your free trial

FAQs

How often should you run a penetration test?

Most security frameworks and compliance standards expect a penetration test at least once a year. You should also run one after any major change, such as a new product launch, a large infrastructure move, or a big update to authentication. Teams that release code frequently often add continuous testing between full tests. The right frequency depends on how quickly your systems change and how sensitive your data is.

How much does a penetration test cost?

Penetration testing cost depends mostly on scope and depth. A test of a single small web app costs far less than a test covering multiple apps, internal networks, and cloud environments. Other factors include the type of testing (black, grey, or white box), how much manual work is involved, and whether a retest is included. The best way to compare is to get quotes from several vendors based on the same written scope.

Can automated or AI tools replace human pentesters?

Not yet. Automated and AI tools are good at finding known issues quickly and at scale, but they struggle with business logic flaws and complex attack chains. They also need human review to confirm findings and filter out false positives. The most effective approach today combines tools for speed with skilled testers for judgment.

Is penetration testing legal, and what authorization is needed?

Penetration testing is legal when it’s done with clear, written permission from someone who has the authority to grant it. That permission should define the scope, the timing, the testing methods allowed, and who to contact if something goes wrong. If you use third-party services, such as a cloud provider, check their testing policies too, since some activities need advance notice. Testing a system without permission is illegal, even if the intent is good.

Testing guide

Introduction

Customers expect every software product to work the way it’s intended. A login button promises to log you in, the checkout page promises to charge your card once, not twice, and the “forgot password” link promises you a reset link. If any of these functions break, users notice it right away.

Functional testing is a way to make sure the functions are working for the end users. This blog outlines steps for functional testing, along with its main types and the tools that make the work faster.

What Is Functional Testing

Functional testing is a major type of software testing that checks whether software does what it is supposed to do. You give the system an input and confirm that the output matches the requirement. 

For instance, if you log in with the right password, you should land on your dashboard. But if you enter the wrong one, you should see a clear error message, not a blank screen or a crash.

The focus of functional testing is on behavior, not code. A functional tester usually does not care how the login feature is built. They care whether it works the way the requirements say it should, for every type of user and every type of input.

Why Functional Testing Matters

Functional testing is one of the most important types of software testing, and it adds value at several points in the process.

It catches the bugs users would hit first. Broken buttons, wrong totals, and forms that reject valid data are the problems people notice right away. Finding them before release is far cheaper than fixing them after customers complain.

It proves the requirements were met. Each functional test traces back to a requirement or acceptance criterion. When the tests pass, the team has evidence that the product does what was agreed.

It protects the flows that matter most. Sign-up, checkout, payments, and data exports are where bugs cost real money and trust. Functional tests keep a constant watch on those paths.

It gives the team confidence to ship. A clear set of passing tests confirms the functionality of a product, which makes release decisions faster and less stressful.

It sets up every other kind of testing. Functional testing confirms the basics with unit testing and branches off into other complex types of testing, such as integration testing and API testing. 

Functional Testing vs. Non-Functional Testing

The opposite of functional testing is non-functional testing. Functional testing checks what the software does, and non-functional testing checks how well it does it.

For example, in an online store checkout, functional tests confirm that items land in the cart, the total accounts for taxes and discounts, the payment goes through, and the confirmation email arrives. Each of these has a clear right or wrong answer based on the requirements.

In contrast, non-functional tests look at the same checkout from a different angle. How fast does the page load when thousands of people shop at once? Is the card data encrypted? Can someone using a screen reader complete a purchase? Does the page still work on an older phone? These examples are part of performance testing, accessibility testing, and security testing, which stem from non-functional testing. 

Types of Functional Testing

Functional testing is a broad term for different types of testing, each with its own job and its own place in the release cycle.

1. Unit, Integration, and E2E Testing

Unit testing checks the smallest pieces of code on their own, like a function that calculates sales tax. Developers usually write these tests, and they run in seconds.

Integration testing checks how those pieces work together. The tax function might work fine alone, but does the cart pass it the right values? Does the payment service accept what the order service sends? Many bugs live in the gaps between components, and integration tests are built to find them.

End-to-end (E2E) testing validates an entire application workflow from start to finish to verify that all integrated components work together as expected.

Together, these three types of testing make a testing pyramid.

2. Smoke and Sanity Testing

Smoke testing is a quick, shallow check of the most critical features right after a new build. If users cannot log in or the home page will not load, there is no point running hundreds of detailed tests.

Sanity testing is a narrow, focused check after a small change or bug fix, run to confirm the fix behaves as expected before deeper testing starts.

3. System Integration Testing

System integration testing (SIT) checks the complete, integrated product against its requirements. Instead of testing parts, you test the whole application the way it will run in production.

4. Regression Testing

Regression testing confirms that features that used to work still work after a change. A small update to the discount logic can quietly break the checkout total, and regression tests exist to catch exactly that. Since regression suites are run again and again, often on every build, they are usually the first tests teams automate.

5. User Acceptance Testing (UAT)

User acceptance testing (UAT) is the final check before release, and it is done by business users or customers rather than the QA team. They test the software against real business scenarios to confirm it solves the problem it was built for. Passing every technical test does not guarantee the product is right for its users. UAT is where the people who will actually use the software sign off.

6. Exploratory Testing

Exploratory testing is a kind of functional testing that is unscripted. Instead of following written test cases, the tester explores the product, using their experience and judgment to find problems that are rarely expected or not expected at all.

How to Perform Functional Testing: A Step-by-Step Guide

Good functional testing follows a repeatable process. Here is a six-step approach you can apply to almost any feature.

1. Review Requirements and Acceptance Criteria

Start with what the feature is supposed to do. Read the user stories, specifications, and acceptance criteria, and make sure each one is clear enough to test. If a requirement says “the page should load quickly,” ask for specifics—how quickly? You cannot write a pass or fail test against a vague requirement, and questions asked now are much cheaper than bugs found later.

2. Identify Test Scenarios and Test Data

List the scenarios you need to cover, and plan the data for each one. Aim for three kinds of input:

  • Valid data: Inputs that should work, like a correct email and password.
  • Invalid data: Inputs that should be rejected, like an email with no “@” symbol.
  • Boundary data: Values at the edges of what is allowed. Boundaries are where bugs love to hide. If a quantity field accepts 1 to 10 items, test 0, 1, 10, and 11. Those four values will tell you more than testing 5 a dozen times.

3. Write Test Cases

When writing test cases, turn each scenario into a clear test case that anyone on the team could run. A good test case includes:

  • Preconditions: What must be true before you start, such as “user has an active account.”
  • Steps: The exact actions to take, in order.
  • Expected result: What should happen if the feature works.

For example: 

Precondition: The user is logged in with an empty cart. 

Steps: Add one item priced at $20, apply the code SAVE10, and go to checkout. 

Expected result: The order total shows $18.

4. Execute the Tests

Run the test cases, either manually or with automation. Manual testing suits new features, visual checks, and anything that needs human judgment. Automation suits tests you will repeat often, like regression suites and smoke tests. Whichever method you use, run the tests in an environment that matches production as closely as possible. A test that passes on your laptop but fails on a live server has not told you much.

5. Compare Results and Log Defects

For each test, compare the actual result with the expected result. If they match, the test passes. If not, log a defect. A useful bug report includes the steps to reproduce it, the expected and actual results, the environment, and screenshots or logs where helpful. The goal is simple: a developer should be able to recreate the bug without coming back to ask you questions.

6. Retest and Run Regression Checks

Once a defect is fixed, run the failed test again to confirm the fix works. Then run your regression tests to make sure the fix did not break something else. This step is easy to skip under deadline pressure, and it is often where new bugs sneak into a release.

Functional Testing Tools

Testing teams use a wide range of tools to perform functional testing. Here are the main categories and some well-known examples of each:

Unit and Integration Testing Frameworks

Common examples of unit and integration testing frameworks include JUnit, pytest, and Jest. These frameworks let developers test individual functions and how components connect. They usually match the programming language of the project.

Web UI Automation Tools

Major examples of web automation tools include Selenium, Playwright, and Cypress. These tools drive a real browser to click buttons, fill in forms, and check what appears on screen, making them a natural fit for system and end-to-end tests.

Mobile Testing Tools

Mobile app tesing needs tools that can interact with real devices and emulators, such as Appium, Espresso, and XCUITest.

API Testing Tools

Many functional bugs can be caught at the API layer, without touching the interface at all. API tests also run faster and break less often than UI tests. Common API testing tools include Postman and REST Assured.

BDD Frameworks

Behavior-driven development (BDD) tools let teams write tests in plain language that business users can read, using a Given, When, Then format. Cucumber is the most widely known BDD framework, with support for several programming languages.

Codeless and Low-Code Automation Tools

Codeless and low-code automation tools let testers automate functional tests without writing much code, using recorders, visual builders, or plain-English steps. Common examples in this category include Katalon, mabl, and testRigor.

CI/CD Tools

CI/CD tools, such as Jenkins, GitHub Actions, and GitLab CI/CD, run your automated functional tests every time code changes, so problems surface within minutes instead of days.

Test Management Tools

The data in all testing frameworks and tools live inside their own platform. Test management tools allow you to integrate your testing data, results, and defects into one place, so your team can see what was tested, what passed, what failed, and what is still open, in one view. TestFiesta is a flexible test management platform that helps you write test cases with AI, log defects from the tool (without relying on issue trackers), and organize your test cases intuitively.

Centralize Your Functional Testing with TestFiesta

Functional testing is most effective when all results are consolidated. TestFiesta provides a unified test management platform to plan, execute, and track both manual and automated testing in one place.

  • Unified Testing Results: Combine manual test cases and automated CI/CD pipeline results via the TacoTruck CLI for complete release visibility.
  • AI-Powered Authoring: Accelerate test case creation using AI assistance, reusable steps, and customizable templates.
  • Flexible Suite Organization: Structure tests into modular suites, map execution to milestones, and categorize workflows with custom tags.
  • Seamless Defect Management: Log bugs directly from test runs or sync natively with Jira and GitHub.
  • Data-Driven Insights: Track pass/fail trends and open issues with real-time dashboards to make confident release decisions.

Streamline your functional testing today with TestFiesta

Start your free trial today

FAQs

Is functional testing black-box or white-box testing?

Functional testing is mostly black-box testing. The tester checks inputs and outputs against the requirements without looking at the code, which is a characteristic of black-box testing. Unit-level tests written by developers are the exception, since they are built with knowledge of the code.

Can functional testing be done without writing code?

Yes. Manual functional testing needs no code at all, and codeless tools let testers automate tests through recorders, visual builders, or plain-English steps. Large or complex automated suites usually still benefit from some scripting.

Who is responsible for functional testing, developers or QA?

Both developers and QA are responsible for functional testing. Developers usually own unit and integration tests, while QA owns system, regression, and exploratory testing. Business users or customers handle user acceptance testing before release.

Testing guide

Ready for a Platform that Works

The Way You Do?

Stop fighting your tools. Start shipping with confidence. TestFiesta adapts to your workflow, not the other way around.

Welcome to the fiesta!