SendMessage command and SendMessage profile command

Use in a Server.Load script to create and send a mail message.

The random body text in the message is created by the same method as in CREATEFILE. Message recipients are selected with a uniform distribution from the people in the Domino® Directory (NAMES.NSF) on the source driver system. All replicas of the Domino Directory on the source driver systems and SUT have the same content.

Syntax

SendMessage <message_size> <num_recipients> <nth_iteration> <attachment>

Where:

  • <message_size> -- Size of the body text, in bytes
  • <num_recipients> -- Number of random users that will receive the message
  • <nth_iteration> -- Sends a message every n script iterations
  • <attachment> -- Name of file to be attached to message (optional). File is assumed to be in Notes® data directory unless a drive/path specification is provided (e.g., c:\mypath\myfile.txt).

Alternate Syntax -- SendMessage profile

The SendMessage command can be used with the specifier "profile."

SendMessage profile <numMessageRecipients> <nth_iteration>

Use the SendMessage profile command to create and send messages of varying sizes according to the sizes and distribution percentages listed in the following table:

Table 1. Sizes and distribution percentages

Message Body Size

Attachment size (if any)

Percent

500.00

10.00

10000.00

30.00

50000.00

40.00

50000.00

50000.00

10.00

150000.00

9.50

1000.00

10000000.00

0.50