REFERENCE


R5 IMAP Workload script
IMAP Initialization Workload script

Text enclosed in asterisks (**) indicates comments.

**Script to initialize databases for NotesBench IMAP mail script; pause 0 - 5 minutes (5 min. = 300,000 ms.)**


**If an error occurs, wait 1 to 5 minutes before retrying**
**Create the mail file**
**Set Owner**
**IMAP-enable the mail file**
**Ensure there are enough documents in mail database (one time only)**
**Open views**
R5 IMAP Workload script

Text enclosed in asterisks (**) indicates comments.

**Pause a random interval so multiple processes are well-staggered; pause 0-3 minutes (3 min. = 180000 ms)**


**Make sure the script doesn't quit if errors are found.**
**If an error occurs, wait 1 to 2 minutes before retrying.**
**Begin Outer loop**
**Establish IMAP connection / Open mail application**
**Pause 8 to 12 minutes to let ramp-ups occur**
**List all mailboxes**
**Open the INBOX folder**
**Begin Inner loop**
**Get the last page of entries in the mailbox**
**Wait 5 to 10 seconds to peruse the view**
**Read 5 messages in the mailbox, delete 2, post 1. Read each for 10 to 20 seconds**
**Pause 10 to 20 seconds**
** Pause 10 to 20 seconds**
**Pause 10 to 20 seconds**
**Delete current message**
**Pause 10 to 20 seconds**
**Pause 10 to 20 seconds**
**Pause 10 to 20 seconds**
**Post (add) message to INBOX**
**Pause 10 to 20 seconds**
**Delete another message**
**Pause 10- to 20 seconds**
**Compose 1 new mail message (taking 1 to 2 minutes to write it)**
**SEND SMTP Message, perform LDAP lookups for specified # of recipients**
**Pause at the desktop for 8+ to 12+ minutes while having a meeting in office**
**Check for new mail**
**Repeat Inner loop sequence over again (go back to BeginLoop2 statement)**
**Logout and do something else for 3 to 6 minutes**
**Go back to Outer loop (go back again to BeginLoop statement)**

Related topics