Web Mail Initialization workload

This topic describes testing the Web Mail Initialization workload.

Procedure

  1. Make sure that you have already set up clients and servers for Server.Load.
  2. Run the Create NotesBench Mail Person Documents agent to create the desired number of Person documents in the Domino® Directory. When prompted, set these variables:
    Table 1. Variables for agent

    Variable

    Setting

    Message storage format

    2 (MIME)

    Mail system

    0 (SMTP/POP3)

  3. On the Domino® Administrator client, start Server.Load.
  4. In the Test Type field, choose Built-In, and then choose Web Mail Initialization Workload from the list.
  5. Click the Script Variables tab, and enter these values:
    Table 2. Script variables

    Variable

    Action

    NBTestReset

    Enter one of these to control how to handle existing documents at the start of the test:

    • 1 -- To delete existing documents
    • 0 -- To ignore existing documents
    Note: The number of documents deleted is dependent on the value set for the variable MaxDocToDelete.

    MailServer

    Enter the canonical name of the mail server -- for example, CN=MailServer1/O=Acme.

    HTTPHost

    Enter the TCP/IP address or host name of the Domino® Web server

    nb_dbdir

    Enter a database directory relative to the Notes® data directory. Recommended value is mail\.

    MailTemplate

    Enter the name of the mail file template.

    NormalMessageSize

    Enter the size of the body of the message. Recommended value is 10000.

    NumMailNotesPerUser

    Enter the number of documents to populate the mail file when it is created. Recommended value is 100.

    Domain

    Enter the name of the Notes® mail domain.

  6. Verify that the client and server experience no errors while creating mail files. If a mail file has not been created, the test script creates the mail file during the first test iteration, but this adds overhead on the server back end. As a rule, CPU on the client and SUT should not exceed 75%, and the percentage of Disk Time on the Domino® Server Data directory should not be a factor.
  7. Click the Test Parameters tab. If you are running the test on multiple clients, increment the value of the Starting Thread No. parameter when you run the test on each client.
  8. Set a Server.Load stop condition.
  9. Click Execute.
  10. Optional: Select metrics to monitor.
  11. Optional: In the Server to receive console commands field, enter the name of the SUT.
  12. Click Start Test.
  13. Verify that the correct number of test mail files were created in the data directory. Each mail file is named MAILn.NSF, where n is a number.
  14. Complete the procedure to run the Web Mail workload.