1MAPITEST(1)                OpenChange Users' Manual                MAPITEST(1)
2
3
4

NAME

6       mapitest - OpenChange torture test utility
7
8

SYNOPSIS

10       mapitest [-?|--help] [--usage] [-f|--database=STRING] [-p|--profile=STRING]
11         [-p|--password=STRING] [--confidential] [--color]
12         [-o|--outfile=STRING] [--mapi-calls=STRING] [--list-all] [--no-server]
13         [--dump-data] [-d|--debuglevel=STRING]
14
15

DESCRIPTION

17       mapitest  is a test harness / utility used for verifying correct opera‐
18       tion of various ExchangeRPC calls /  MAPI  functions  provided  by  the
19       OpenChange MAPI libraries.
20
21       mapitest  is  not  normally  required by users, but you may be asked to
22       provide the output of mapitest for some kinds of bug investigations.
23
24       Note that mapitest performs a lot of transactions,  including  deleting
25       folders  and  messages.  Unless  you're very familiar with mapitest, we
26       recommend only using it with a test account.
27
28

OPTIONS

30       --database
31
32       -f     Set the path to the profile database to use
33
34
35       --profile
36
37       -p     Set the profile to use. If no  profile  is  specified,  mapitest
38              tries  to  retrieve  the  default profile in the database. If no
39              default profile has been set, mapitest returns  MAPI_E_NOT_FOUND
40              .
41
42
43       --password
44
45       -P     Specify the password for the profile to use. This can be omitted
46              if the password is stored in the profile.
47
48
49       --confidential
50              Remove any sensitive data from the report.
51
52
53       --color
54              Use colors to indicate the results of each operation.
55
56
57       --outfile
58
59       -o     Redirect the output of the tests to a file. The filename must be
60              specified as the argument to this option.
61
62
63       --mapi-calls
64              Run  a  specific test. The name of the test must be specified as
65              the argument to this option. See the --list-all option to obtain
66              the  name  of the test.  This can be specified more than once in
67              order to run a subset of tests.
68
69
70       --list-all
71              Provide a list of all test suites and test names, along  with  a
72              description of the test. No tests will be run.
73
74
75       --no-server
76              Only  run tests that do not require a server connection. This is
77              the default if a connection to the server cannot be established.
78
79
80       --dump-data
81              Dump the hex data. This is only required for debugging or educa‐
82              tional purposes.
83
84
85       --debuglevel
86
87       -d     Set the debug level.
88
89

EXAMPLES

91       Run all tests
92       mapitest
93
94       Only run two specific tests
95       mapitest --mapi-calls=NOSERVER-SROWSET --mapi-calls=OXCPRPT-GET-PROPS
96
97

REMARKS

99       If  you  are  using  the  default  profile database path and have set a
100       default profile (using mapiprofile --profile=profile_name -S )  you  do
101       not need to specify these parameters on the command line.
102
103

AUTHOR

105       mapitest  was  written by Julien Kerihuel <j.kerihuel at openchange dot
106       org> with contributions from other OpenChange developers.
107
108       This man page was written by Brad Hards <bradh at openchange dot org>
109
110
111
112OpenChange libmapi 0.8            2008-11-21                       MAPITEST(1)
Impressum