Test suite

Synopsis

Create a test suite.

Syntax

New-TestSuite -TestSuiteName <String> [-TestSuiteDescription <String>] [-IsStateful] [-IsLocked] -PropertyID <Int32> -PropertyVersion <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-TestSuite -TestSuiteName <String> [-TestSuiteDescription <String>] [-IsStateful] [-IsLocked] -PropertyName <String> -PropertyVersion <Int32> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]
New-TestSuite -Body <Object> [-EdgeRCFile <String>] [-Section <String>] [-AccountSwitchKey <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Creates a new test suite.

When running this operation, you can optionally auto-generate the child objects with the -AutoGenerate switch parameter.

Note: Your request body will be parsed to check for the presence of test cases or variables and will be routed to the correct endpoint appropriately.

Parameters

‑AccountSwitchKey

An account credential key that lets you move between accounts when using an API client enabled for multiple accounts. To find account switch keys, use Get-AccountSwitchKey.

‑Body
Conditionally required

A request body, either as a PSCustomObject or string. This parameter supports pipelining.

‑EdgeRCFile

Your EdgeGrid resource file to authenticate your command. Defaults to ~/.edgerc.

‑IsLocked

Locks the test suite so that only designated owners or editors can modify it.

‑IsStateful

Runs the test suite statefully, retaining cookies and session data for subsequent test cases within the test suite.

‑PropertyID
Conditionally required

The ID of the property associated with the test suite to filter the list by. You can combine this parameter with -PropertyVersion. Use either this parameter or -PropertyName to specify the property.

‑PropertyName
Conditionally required

The name of the property associated with a test suite to filter the list by. You can combine this parameter with -PropertyVersion. Use either this parameter or -PropertyID to specify the property.

‑PropertyVersion
Conditionally required

The version of the associated property to filter the test suites by. Combine this parameter with -PropertyID or -PropertyName.

‑Section

The section name in your EdgeGrid resource file to retrieve authentication credentials from. Defaults to default.

‑TestSuiteDescription

Description of the test suite, when available.

‑TestSuiteName
Conditionally required

Unique name for each test suite.

Related Links