Server.Load script conventions

Review the following sample script and the breakdown of its elements to understand the conventions of the Server.Load command language. This sample script example creates and initializes mail file(s).

Text enclosed in asterisks (**) indicates comments. Commands are case-insensitive; therefore, you can enter them in all lowercase, all uppercase, or in mixed case.

**Changeto specifies the database to use for the test. [MailServer] is the NOTES.INI setting for the changeto command. NOTES.INI settings are enclosed in square-style brackets [ ]. The value of the setting can be in the NOTES.INI file or you can hard-code it into the script. -- for example, changeto [WFS], where WFS is the name of the mail server. [#] is the number of the thread, or simulated user.**

changeto [MailServer]!!mail\mail[#].nsf mail60.ntf

*Ensure that the current database contains a defined number of documents (NumMailNotesPerUser) to use in the test.

populate [NumMailNotesPerUser] $Inbox

*Open the current view

open

*Close the view

close
drop