MicroStrategy ONE

Executing a Saved Test from the Command Line

Integrity Manager's command line interface enables you to execute a test without having to load the graphical interface or schedule a test to run at specific times or dates. For example, you perform routine maintenance on your data warehouse every month. Using the Windows AT command, you can schedule a baseline-versus-project test to run every month immediately after the routine database maintenance. This ensures that no reports or documents are broken during maintenance.

If you need to make minor changes to an integrity test, it may be faster to make those changes by editing the test file, rather than stepping through the Integrity Manager Wizard. The test file is a plain-text XML file, and can be edited in a text editor, such as Notepad.

  • You must first create and save an integrity test using the graphical interface. For instructions on how to create and save an integrity test, see Saving a test.
  • If you are running in a Windows environment, you must be logged in to Windows with an Administrator account. In addition, if you are running Integrity Manager directly from the command prompt, you must set the command prompt to run with full administrative privileges. To do this, right-click on the command prompt shortcut and select Run As. Clear the Run this program with restricted access check box and click OK.
  • To execute an integrity test on a project, you must have the Use Integrity Manager privilege for that project. You must also have the Execute permission for any reports that you want to test. For information on privileges and permissions, see the Setting Up User Security chapter of the System Administration Guide.
  • Integrity Manager can only test three-tier projects, that is, projects that are connected to an Intelligence Server. Projects in Direct Connection (two-tier) mode cannot be tested with this tool.

To Execute a Previously Saved Integrity Test from the Command Line

After creating and saving a test (How?), call the Integrity Manager executable MIntMgr.exe, with the parameters listed in Command line syntax. By default this executable is located in C:\Program Files\MicroStrategy\Integrity Manager.

Related Topics

Command Line Syntax

Command Line Exit Codes

Manually Editing an Integrity Test File

Saving a Test

Loading and Executing a Saved Test

Executing Prompted Reports in Integrity Manager

Viewing the Results of a Test

Accessing the Saved Results of a Test