Share this page

# MAPI protocol

MAPI Vuser script functions generate activity to and from an MS Exchange server. Each MAPI function begins with a mapi prefix. You cannot record Vuser scripts using the MAPI protocol. For detailed syntax information on these functions, see the Function Reference.

Note: To run MAPI scripts, you must define a mail profile on the machine running the script. For example, install Outlook Express or Microsoft Outlook, set it as the default mail client, and create a mail account.

In the following example, the mapi_send_mail function sends a sticky note through an MS Exchange server.

    Actions()
    {
        mapi_logon("Logon",
                "ProfileName=John Smith",
                "ProfilePass=Tiger",
                LAST);
        //Send a Sticky Note message
        mapi_send_mail("SendMail",
                "To=user1@techno.comp-int.com",
                "Cc=user0002t@techno.comp-int.com",
                "Subject=<GROUP>:<VUID> @ <DATE>",
                "Type=Ipm.StickyNote",
                "Body=Please update your profile today.",
                LAST);
        mapi_logout();
        return 1;
    }

Back to top

https://admhelp.microfocus.com VuGen,Professional Performance Engineering,Performance Engineering for Developers 8942
Tips to improve your search results... OpenText™ Virtual User Generator Help Center OpenText™ VuGen Help 25.1-25.3 All View Local Help Center View Online Help Center Version: