The MAPI test monitors the amount of time required to log into a user account and either send or retrieve mail from a MAPI server.
Note: MAPI is a proprietary Microsoft protocol. The MAPI test uses the Microsoft Extended MAPI protocol. For this reason, MAPI tests must originate from a Windows server that is running Microsoft Exchange or Microsoft Outlook. (Outlook Express is not sufficient because it does not install the correct APIs.) The MAPI test requires the MAPI server to specify a default message store and address book provider.
Options and Arguments
MAPI tests require the following specific options and arguments:
Note: IPv6 addresses can be used, but they must be embedded in brackets, for example [0aff::230:6eff:fe4b:51db]:8080. Here 0aff::230:6eff:fe4b:51db represents the IPv6 address and 8080 represents the port number.
Note: You must retype the password in the Verify Password field to verify that you have entered it correctly.
Specify these options and arguments when you create or modify tests.
To specify Log on as a Service privileges
A list of policies displays in the right pane.
The Log on as a service dialog appears.
The Select Users or Groups dialog appears.
Note: The test must run on the same domain to which the user belongs.
Example 1
Use this example to create a test that downloads the first message in the MAPI user account at mapiserver.yourdomain once every 120 seconds and deletes it after downloading it. The test waits up to 10 seconds for a successful response and calculates response time and availability statistics over the last 3600 seconds (1 hour).
To create a new test in a policy
The New test pane appears.
When you commit your changes, SRM adds an entry similar to the following to the svcrsp.cf file:
{
index=71
type=mapi
desc="MAPI-Test"
dest="mapiserver.yourdomain.com"
username="MAPIuser"
encoded=yes
password="xlrpm6v"
args="domain=myDomain&op=send&to=congo@yourdomain.com&size=256"
interval=120
samples=1
timeout=10
window=3600
tos=0
limit=0
status=active
name="MAPI-Test"
class=""
context=""
flags="1"
loglevel=1
}
Example 2
Use this example to create a test that retrieves the first message from a known MAPI user account at mapiserver.yourdomain.com once every 120 seconds and deletes it after downloading it. The test waits up to 10 seconds for a successful response and calculates response time and availability statistics over the last 3600 seconds (1 hour).
To create a new test in a policy
The New test pane appears.
When you commit your changes, SRM adds an entry similar to the following to the svcrsp.cf file:
{
index=31
type=mapi
desc="MAPI_Retrieve_Test"
dest="mapiserver.yourdomain.com"
username="MAPIuser"
encoded=yes
password="bufwate2"
args="domain=myDomain&op=recv&download=first&delete=yes"
interval=60
samples=1
timeout=30
window=300
tos=0
limit=0
status=active
name="MAPI Retrieve Test"
class=""
context=""
flags="1"
loglevel=1
}
For information about errors you may encounter when running MAPI tests, see MAPI Test Error Codes.
| Copyright © 2011 CA. All rights reserved. | Tell Technical Publications how we can improve this information |