---
title: "Codeunit 149006 BCPT Test Suite"
author: "JOP-AL"
url: https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/
type: codeunit
id: 149006
name: "BCPT Test Suite"
app: "Performance Toolkit"
namespace: System.Tooling
versions: "20-29"
build: 29.0.54011.55644
countries: "W1, DE, US"
source: "https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/source/?v=24 https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/source/?v=25 https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/source/?v=26 https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/source/?v=27 https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/source/?v=28 https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/source/"
checked: 2026-11-20
changed: 2026-10-05
subject: "Microsoft Dynamics 365 Business Central"
license: "Metadata from Microsoft's symbol packages. AL source MIT, Copyright (c) Microsoft Corporation. Selection and wording © 2026 JOP-AL. https://jonas-paprotka.de/licenses/"
---

# Codeunit 149006 BCPT Test Suite

JOP-AL, https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/

| | |
| --- | --- |
| App | Performance Toolkit |
| Namespace | System.Tooling |
| Versions | 20-29 |
| Minors | W1 20.0-29.0; DE 20.0-29.0; US 20.0-29.0, [every minor](https://jonas-paprotka.de/ref/codeunit/149006-bcpt-test-suite/editions.json) |
| Source file | src/BCPTTestSuite.Codeunit.al |

## Procedures

| Name | Parameters | Returns | Access | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- | --- |
| CreateTestSuiteHeader | (SuiteCode: Code[10]; SuiteDescription: Text[50]; DurationInMinutes: Integer; DefaultMinUserDelayInMs: Integer; DefaultMaxUserDelayInMs: Integer; OneDayCorrespondsToMinutes: Integer; Tag: Text[20]) | - | public | 20-29 | - | - |
| CreateTestSuiteHeader | (SuiteCode: Code[10]; SuiteDescription: Text[50]) | - | public | 20-29 | - | - |
| SetTestSuiteDuration | (SuiteCode: Code[10]; DurationInMinutes: Integer) | - | public | 20-29 | - | - |
| SetTestSuiteDefaultMinUserDelay | (SuiteCode: Code[10]; DelayInMs: Integer) | - | public | 20-29 | - | - |
| SetTestSuiteDefaultMaxUserDelay | (SuiteCode: Code[10]; DelayInMs: Integer) | - | public | 20-29 | - | - |
| SetTestSuite1DayCorresponds | (SuiteCode: Code[10]; DurationInMinutes: Integer) | - | public | 20-29 | - | - |
| SetTestSuiteTag | (SuiteCode: Code[10]; Tag: Text[20]) | - | public | 20-29 | - | - |
| AddLineToTestSuiteHeader | (SuiteCode: Code[10]; CodeunitId: Integer; NoOfSessions: Integer; Description: Text[50]; MinUserDelayInMs: Integer; MaxUserDelayInMs: Integer; DelayBtwnIterInSecs: Integer; RunInForeground: Boolean; Parameters: Text[1000]) | Integer | public | 20-29 | - | - |
| AddLineToTestSuiteHeader | (SuiteCode: Code[10]; CodeunitId: Integer) | Integer | public | 20-29 | - | - |
| AddLineToTestSuiteHeader | (SuiteCode: Code[10]; CodeunitId: Integer; NoOfSessions: Integer; Description: Text[50]; MinUserDelayInMs: Integer; MaxUserDelayInMs: Integer; DelayBtwnIterInSecs: Integer; RunInForeground: Boolean; Parameters: Text[1000]; DelayType: Enum "BCPT Line Delay Type") | Integer | public | 20-29 | - | - |
| SetTestSuiteLineNoOfSessions | (SuiteCode: Code[10]; LineNo: Integer; NoOfSessions: Integer) | - | public | 20-29 | - | - |
| SetTestSuiteLineDescription | (SuiteCode: Code[10]; LineNo: Integer; Description: Text[50]) | - | public | 20-29 | - | - |
| SetTestSuiteLineMinUserDelay | (SuiteCode: Code[10]; LineNo: Integer; DelayInMs: Integer) | - | public | 20-29 | - | - |
| SetTestSuiteLineMaxUserDelay | (SuiteCode: Code[10]; LineNo: Integer; DelayInMs: Integer) | - | public | 20-29 | - | - |
| SetTestSuiteLineDelayBtwnIter | (SuiteCode: Code[10]; LineNo: Integer; DelayInSecs: Integer) | - | public | 20-29 | - | - |
| SetTestSuiteLineRunInForeground | (SuiteCode: Code[10]; LineNo: Integer; RunInForeground: Boolean) | - | public | 20-29 | - | - |
| SetTestSuiteLineParameters | (SuiteCode: Code[10]; LineNo: Integer; Parameters: Text[1000]) | - | public | 20-29 | - | - |
| IsAnyTestRunInProgress | () | Boolean | public | 20-29 | - | - |
| IsTestRunInProgress | (SuiteCode: Code[10]) | Boolean | public | 20-29 | - | - |
| CreateUpdateTestSuiteHeader | (SuiteCode: Code[10]; SuiteDescription: Text[50]; DurationInMinutes: Integer; DefaultMinUserDelayInMs: Integer; DefaultMaxUserDelayInMs: Integer; OneDayCorrespondsToMinutes: Integer; Tag: Text[20]) | - | public | 23-29 | - | - |
| TestSuiteExists | (SuiteCode: Code[10]) | Boolean | public | 23-29 | - | - |
| TestSuiteLineExists | (SuiteCode: Code[10]; CodeunitID: Integer) | Boolean | public | 23-29 | - | - |
| TestSuiteLineExists | (SuiteCode: Code[10]; CodeunitID: Integer; var LineNo: Integer) | Boolean | public | 23-29 | - | - |
| TestSuiteLineExists | (SuiteCode: Code[10]; CodeunitID: Integer; ParameterFilterStr: Text; var LineNo: Integer) | Boolean | public | 23-29 | - | - |
| GetTestSuiteDuration | (SuiteCode: Code[10]) | Integer | public | 23-29 | - | - |
| GetTestSuiteDefaultMinUserDelay | (SuiteCode: Code[10]) | Integer | public | 23-29 | - | - |
| GetTestSuiteDefaultMaxUserDelay | (SuiteCode: Code[10]) | Integer | public | 23-29 | - | - |
| GetTestSuite1DayCorresponds | (SuiteCode: Code[10]) | Integer | public | 23-29 | - | - |
| GetTestSuiteTag | (SuiteCode: Code[10]) | Text[20] | public | 23-29 | - | - |

## Events

| Kind | Name | Parameters | Versions | Obsolete | Reason |
| --- | --- | --- | --- | --- | --- |
| Integration event | OnBeforeBCPTLineAddLogEntry | (SuiteCode: Code[10]; CodeunitId: Integer; Description: Text; "Orig. Operation": Text; "Orig. ExecutionSuccess": Boolean; "Orig. Message": Text; var Operation: Text; var ExecutionSuccess: Boolean; var Message: Text) | 24-29 | - | - |

## Source

Symbols: Microsoft.PerformanceToolkit.symbols.75f1590f-55c5-4501-ae63-bada5534e852, https://dynamicssmb2.pkgs.visualstudio.com/DynamicsBCPublicFeeds/_packaging/MSSymbols/nuget/v3/index.json, highest build per major on 2026-11-20.
AL source 24: https://github.com/microsoft/BCApps, MIT, releases/24.x at fe14d3e6db00d28df3a69c7bba830813d70794e2.
AL source 25: https://github.com/microsoft/BCApps, MIT, releases/25.x at 68d52c129129c83b2e396a473aaa5b2ce61d2eed.
AL source 26: https://github.com/microsoft/BCApps, MIT, releases/26.x at 8fd089973d4be7f6224d0845f41bec221fdda7dc.
AL source 27: https://github.com/microsoft/BCApps, MIT, releases/27.x at ad459712441b2fe6cb0cf1c560563f8ec7188a93.
AL source 28: https://github.com/microsoft/BCApps, MIT, releases/28.x at 408a4cc8d3a4c54b60464cc14c964479facb9ba0.
AL source 29: https://github.com/microsoft/BCApps, MIT, releases/29.x at 4303e5e584d3aa5d9e98cbc615525a5396ad6ed7.

JOP-AL, 2026-11-20.
