Test case
Synopsis
Add test cases to a test suite.
Syntax
New-TestCase [-TestSuiteID] <Int32> [-Body] <Object> [-IncludeStatus] [[-EdgeRCFile] <String>] [[-Section] <String>] [[-AccountSwitchKey] <String>] [-ProgressAction <ActionPreference>] [<CommonParameters>]Description
Adds a list of new functional test cases to a test suite. Each test case consists of a test request, client profile, and condition. If you want to use variables within a condition or test request's URL or request header, run the New-TestVariable operation first.
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. |
‑BodyRequired | A request body, either as a |
| ‑EdgeRCFile | Your EdgeGrid resource file to authenticate your command. Defaults to |
| ‑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 |
‑TestSuiteIDRequired | Your test suite's ID. |
Related Links
Updated 2 months ago
