Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Performs test runs for JS7.

SYNTAX

Invoke-JS7TestRun [[-ControllerId] <Uri>] [[-TestRun] <String>] [[-TestRunPrefix] <String>] [[-Count] <Int32>] [[-BatchSize] <Int32>] [[-AtDate] <DateTime>] [[-BaseFolder] <String>] [[-SourceArchive] <String>] [[-SourceDirectory] <String>] [-Recursive] [[-WaitInterval] <Int32>] [-Prepare] [-Run] [-Monitor] [-Check] [-Cleanup] [-Progress] [<CommonParameters>]

...

-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 oder order IDs.
Choosing a unique identifier simplifies to identify identifying orders created for a given test run
with the JOC Cockpit.

Required?false
Position?2
Default valueTest0000000000
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

TestRunPrefix

...

Required?false
Position?3
Default valuetcr
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-Count <Int32>
Indicates the number of loops that should be performed for test runs.

Required?false
Position?43
Default value1
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-BatchSize <Int32>
Indicates the number of orders that are added for each test case in a test run loop.

Required?false
Position?54
Default value100
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-AtDate <DateTime>
Optionally specifies a date for which the test run should be executed.

If -AtDate is specified then the test run steps to monitor, to check and to cleanup 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 resouresresources.

Required?false
Position?65
Default value
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-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

...

-Prepare <SwitchParameter>
A test run lifecycle includes the steps to prepare of preparing test case resources, to run running test cases, to monitor monitoring test case execution,
to check checking test results and to cleanup cleaning up test resources.

With this parameter only the step to prepare of preparing test resources only is executed.

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-Run <SwitchParameter>
A test run lifecycle includes the steps to prepare of preparing test case resources, to run running test cases, to monitor monitoring test case execution,
to check checking test results and to cleanup cleaning up test resources.

With this parameter only the step to run of running test cases only is executed.

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-Monitor <SwitchParameter>
A test run lifecycle includes the steps to prepare of preparing test case resources, to run running test cases, to monitor monitoring test case execution,
to check checking test results and to cleanup cleaning up test resources.

With this parameter only the step to monitor of monitoring test case execution only is executed.

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-Check <SwitchParameter>
A test run lifecycle includes the steps to prepare of preparing test case resources, to run running test cases, to monitor monitoring test case execution,
to check checking test results and to cleanup cleaning up test resources.

With this parameter only the step to check of checking test case results only is executed.

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...

-Cleanup <SwitchParameter>
A test run lifecycle includes the steps to prepare of preparing test case resources, to run running test cases, to monitor monitoring test case execution,
to check checking test results and to cleanup cleaning up test resources.

With this parameter only the step to cleanup of cleaning up test case resources only is executed.

Required?false
Position?named
Default valueFalse
Accept pipeline input?true (ByPropertyName)
Accept wildcard characters?false

...