Test case

Set-TestCase

Synopsis

Update test cases.

Syntax

Set-TestCase [-TestSuiteID] <Int32> [-Body] <Object> [-IncludeStatus] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]

Description

Updates functional test cases in a test suite.

Note: Due to the complexity of the request body, it's recommended you retrieve the existing test case with the Get-TestCase operation, edit it locally, and pipe the object to this function.

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
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.

‑IncludeStatus

When enabled, return response metadata as well as the usual 'successes' object.

‑Section

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

‑TestSuiteID
Required

Your test suite's ID.

Related Links