Built-in and custom Server.Load scripts

Server.Load includes a set of built-in scripts. You can also create a custom script from scratch.

Built-in scripts

The following table describes the scripts that are built into Server.Load.

Table 1. Server.Load scripts
Script Description
Idle workload Establishes the highest number of sessions that a Domino® server can support. You can use the metric derived from this script to help you set up other tests.
Cluster Mail workload The Cluster Mail workload executes Notes® transactions that model a cluster for mail users at sites relying on a two-way Domino® cluster for messaging.
R5 IMAP Workload Runs Notes® transactions that model a server for mail users at sites that rely on IMAP for communication. This test stresses the IMAP protocol by receiving messages and exercises SMTP and LDAP by sending SMTP messages to recipients and performing LDAP lookups on them. You use the IMAP Initialization Workload script to initialize the SUT.
R5 Simple Mail Routing Simulates one or more Notes® mail users performing basic mail operations such as opening mail files, reading and categorizing documents, sending calendar and schedule items, and composing multiple mail messages to multiple recipients. You use the NRPC Mail Initialization Workload script to initialize the SUT.
R5iNotes Workload The R5iNotes test represents an active user sending, retrieving, and deleting mail from a browser. An average user runs this script four times an hour. Each time the script runs, it checks and retrieves mail messages. Additionally, on each NthIteration, which is one time in six for this workload, the user sends a mail message to NumMessageRecipients other users on the server. The user schedules an appointment, sends invitations to NumMessageRecipients other users, and responds to one invitation that it finds in its own inbox.
R6 Mail workload The R6Mail workload models an active user on a client reading and sending mail, using the calendar and scheduling features to schedule an appointment, send an invitation, and send an RSVP to an invitation. An average user will run this script four times per hour.
R6iNotes Workload The R6iNotes test represents an active user sending, retrieving, and deleting mail from a browser. An average user runs this script four times an hour. Each time the script runs, it checks and retrieves mail messages. Additionally, on each NthIteration, which is one time in six for this workload, the user sends a mail message to NumMessageRecipients other users on the server. The user schedules an appointment, sends invitations to NumMessageRecipients other users, and responds to one invitation that it finds in its own inbox.
R6IMAP workload The R6IMAP workload executes Domino® transactions that model a server for mail users at sites that rely on IMAP mail for communication. Not only does this test stress the IMAP protocol by receiving mail messages, but also exercises SMTP and LDAP by sending SMTP messages to a number of recipients and performing LDAP lookups on those recipients.
R5 Shared Database Simulates one or more active users performing database operations on the same Discussion database. The script includes performing view operations, navigating unread documents, adding users to the database, and updating documents.
SMTP and POP3 Workload Runs Notes® transactions that model a server for mail users at sites that rely on SMTP and POP3 mail for communication. You use the SMTP and POP3 Initialization Workload script to initialize the SUT.
Web Idle Workload Simulates users connecting to the default page or home page on a Domino® Web server.
Web Mail Workload Runs transactions that model a server for Web Mail users. The test simulates a Web browser user sending, retrieving, and deleting Notes® mail. You use the Web Mail Initialization Workload script to initialize the SUT.
Workload Data Collection While a workload runs, the Workload Data Collection script, SHSTAT.SCR, collects the data that is generated by the workload. This is a custom script.
Workload Data Rollup The Workload Data Rollup script is adapted from the NotesBench data rollup feature and allows test data from a group of test drivers and a SUT to be combined into a single datafile for analysis. When a workload is complete, the Workload Data Rollup script rolls up the performance data that was collected by the Workload Data Collection script.
Cluster Mail Initialization workload The Cluster Mail Initialization workload creates a mail database on the server and populates the mail database with a number of notes scaled to the SUT. The Cluster Mail Initialization and ClusterMail workloads are based on the NRPC mail workloads, except the mail databases are created on two servers during initialization so that failover performance can be tested.
R5IMAP Initialization workload The R5IMAP Initialization workload creates and populates the IMAP mail file with SMTP messages, initializes the mail file, and then converts it to IMAP.
R6IMAP Initialization workload The R6IMAP Initialization workload opens a mail database on the server and populates the mail database. The template that is used to create the mail databases should be specified in the NOTES.INI variable MailTemplate. The template is named MAILn.NTF, where n is the current release number.

The mail file is converted for IMAP use. The mail databases are populated with the number of notes (messages) specified in the NOTES.INI variable NumMailNotesPerUser.

iNotes® Initialization workload The iNotes® Initialization workload creates a set of mail databases on the server and populates them with mail. The mail databases are populated with the number of notes (messages) specified in the NOTES.INI variable NumMailNotesPerUser.
NRPC Mail Initialization workload The NRPC Mail Initialization workload prepares for the R5 Simple Mail Routing workload and the R6 Mail Routing workload. The NRPC Mail Initialization workload creates the mail databases for the R5 Simple Mail Routing workload and the R6 Mail Routing workload.
SMTP and POP3 Initialization workload The SMTP and POP3 Initialization workload prepares for the SMTP and POP3 workload by creating the mail databases for the SMTP and POP3 workload.
Web Mail Initialization workload The Web Mail Initialization workload prepares for the Web Mail workload by creating the mail databases for the Web Mail workload.
N8Mail Initilization workload The N8Mail Initialization workload creates and populates mail databases in preparation for running either the N8Mail workload or the N7Mail workload.
N8Mail workload The N8Mail workload models an active user on a Notes® 8 client performing various Mail, Calendaring, and Folder operations on their mail database. An average user will run this script four times per hour.
N7Mail workload The N7Mail workload models an active user on a Notes® 7 client performing various Mail, Calendaring, and Folder operations on their mail database. An average user will run this script four times per hour.
Sametime® Initialization Workload The Sametime® Initialization workload populates the buddy lists of IBM® Sametime® users on a Sametime® server for use with both the Sametime® 70 Instant Messaging workload, and Sametime® 75 Instant Messaging workload.
Sametime® 7.0 Instant Messaging Workload The Sametime® 70 Instant Messaging workload models an active user on a Sametime® 70 stand-alone client. This user will perform various actions such as chat, status change, change status, act on the buddy list, and logout. An average user will run this script four times per hour.
Sametime® 7.5 Instant Messaging Workload The Sametime® 75 Instant Messaging workload models an active user on a Sametime® 75 stand-alone client. This user will perform various actions such as query policy information, query user info, watch the locations of buddies, chat using rich text, change status, act on the buddy list, and log out. An average user will run this script four times per hour.
DWA85 Initilization workload The DWA85 Initialization workload creates and populates mail databases in preparation for running either the DWA85 workload or the DWA85Lite workload.
DWA85 workload The DWA85 workload models an active user on an iNotes85 client in Full Mode performing various Mail, Calendaring, and Folder operations on their mail database. An average user will run this script four times per hour.
DWA85 Lite workload The DWA85 Lite workload models an active user on an iNotes85 client performing various mail, calendaring, and folder operations on their mail database. An average user runs this script four times per hour.

Custom scripts

You can use the Server.Load command language to build a script from scratch, copy a built-in script and modify it, or use a sample script. Then by modifying only test parameters and script variables, you can further customize the script without changing the actual script code. Script variables are environmental values that are referenced through the NOTES.INI file. Test parameters control the number and creation of simulated users, or threads; the number of times the test runs for each user; and the test duration. If you create a script from scratch, you can test each line of code by entering it in the command line. In addition, using the command line, you can issue remote server console commands.

NotesBench

A related performance tool, NotesBench is a collection of benchmarks, or workloads, for evaluating the performance of Domino® servers. To learn more about NotesBench, see the Notes® Bench Consortium Web site.