Skip to main content

Auxiliary Methods

TestProduction also provides several auxiliary methods that you can use within your callback methods. The following table describes several of these methods. The class documentation for %UnitTest.TestProductionOpens in a new tab describes all of the auxiliary methods in detail.

Auxiliary Methods
Method Description
SendRequest

Use this method to call the Testing Service to send a request message to a component. Note that testing must be enabled for the production.

CopyFile

Use this method to copy a file from one directory into another.

CompareFiles

Use this method to compare the contents of two files.

GetEventLog

Use this method to retrieve records from the event log.

CreateMainDirTree

Creates a test directory tree. MainDir contains the default root of the tree. The default value of MainDir is TestAutoNNN at the same level as the installation directory. NNN is the build number of the InterSystems IRIS® instance.

CreateCredentials

Defines production credentials.

FeedbackOpens in a new tab