Page History
Name
Invoke-JS7TestRun
SYNOPSIS
Performs test runs for JS7
...
-ControllerId <Uri>
Specifies the ID of a JS7 Controller that was used during installation of the product.
If no ID is specified then the first JS7 Controller registered with JOC Cockpit will be used.
Required? | false |
Position? | 1 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
TestRun
-TestRun <String>
Specifies an identifier for the given test run. This identifier is used to create
folders for objects in the JOC Cockpit inventory and it is used to qualify order IDs.
Choosing a unique identifier simplifies identifying orders created for a given test run
with the JOC Cockpit.
Required? | false |
Position? | 2 |
Default value | Test0000000000 |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Count
-Count <Int32>
Indicates the number of loops that should be performed for test runs.
Required? | false |
Position? | 3 |
Default value | 1 |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
BatchSize
-BatchSize <Int32>
Indicates the number of orders that are added for each test case in a test run loop.
Required? | false |
Position? | 4 |
Default value | 100 |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
AtDate
-AtDate <DateTime>
Optionally specifies a date for which the test run should be executed.
If -AtDate is specified then the test run monitoring, checking and cleaning up steps are not performed.
Instead the cmdlet can later on be used with the -Check or -Cleanup parameters to verify test results
and to cleanup test resources.
Required? | false |
Position? | 5 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
BaseFolder
-BaseFolder <String>
Specifies the root folder in the JOC Cockpit inventory to which test case resources such as workflows are added.
Required? | false |
Position? | 6 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
SourceArchive
-SourceArchive <String>
Specifies a source archive file (in .zip or .tar.gz format) that holds .json files for workflows and
related inventory objects.
The archive file can be created by exporting objects from the JOC Cockpit configuration.
Required? | false |
Position? | 7 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
SourceDirectory
-SourceDirectory <String>
Specifies the source directory where test case resources are stored. Test case resources
include .json files for workflows and related inventory objects.
Required? | false |
Position? | 8 |
Default value | |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Recursive
-Recursive <SwitchParameter>
If this parameter is used then the source directory with test case resource files is
traversed recurisvley for any sub-directories.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
WaitInterval
-WaitInterval <Int32>
The wait interval is applied when monitoring test runs. It specifies the number of seconds
that the cmdlet will wait before repeating the check for running orders.
Required? | false |
Position? | 9 |
Default value | 10 |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Prepare
-Prepare <SwitchParameter>
A test run lifecycle includes the steps of preparing test case resources, running test cases, monitoring test case execution,
checking test results and cleaning up test resources.
With this parameter only the step of preparing test resources only is executed.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Run
-Run <SwitchParameter>
A test run lifecycle includes the steps of preparing test case resources, running test cases, monitoring test case execution,
checking test results and cleaning up test resources.
With this parameter only the step of running test cases is executed.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Monitor
-Monitor <SwitchParameter>
A test run lifecycle includes the steps of preparing test case resources, running test cases, monitoring test case execution,
checking test results and cleaning up test resources.
With this parameter only the step of monitoring test case execution is executed.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Check
-Check <SwitchParameter>
A test run lifecycle includes the steps of preparing test case resources, running test cases, monitoring test case execution,
checking test results and cleaning up test resources.
With this parameter only the step of checking test case results is executed.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Cleanup
-Cleanup <SwitchParameter>
A test run lifecycle includes the steps of preparing test case resources, running test cases, monitoring test case execution,
checking test results and cleaning up test resources.
With this parameter only the step of cleaning up test case resources is executed.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
Progress
-Progress <SwitchParameter>
Specifies that a progress bar is displayed that provides information about the proceeding of test cases.
This parameter is ignored if the -AtDate parameter is used.
Required? | false |
Position? | named |
Default value | False |
Accept pipeline input? | true (ByPropertyName) |
Accept wildcard characters? | false |
RELATED LINKS
EXAMPLES
...