Web Mail Initialization workload
This topic describes testing the Web Mail Initialization workload.
Procedure
- Make sure that you have already set up clients and servers for Server.Load.
- 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)
- On the Domino® Administrator client, start Server.Load.
- In the Test Type field, choose Built-In, and then choose Web Mail Initialization Workload from the list.
- 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.
- 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.
- 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.
- Set a Server.Load stop condition.
- Click Execute.
- Optional: Select metrics to monitor.
- Optional: In the Server to receive console commands field, enter the name of the SUT.
- Click Start Test.
- 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.
- Complete the procedure to run the Web Mail workload.