Sametime® 7.0 Instant Messaging workload script

You can use this script to test the Sametime® Instant messaging workload.

pause 900-1500sec
*Pause ~20 minutes for initial logins,retrieve initial BList population and status to ACTIVE
stlogin
beginloop2 
*Start the Looping portion of the script - 30 minute iteration on average 
pause 180-300sec 
*Pause ~4 minutes 
stchat 
*Chat with 1 user, exchanging ~5 messages, ~512bytes in length, 30 seconds between each
pause 180-300sec 
*Pause ~4 minutes 
SetContextStatus 1
@IF [@1]
*Every 3rdIteration change/reset status 
ststatus 
*Change to random status
pause 120-480sec
*pause ~5 min 
ststatus INIT  
*Reset status to active 
pause 120-480sec 
*pause ~5 minutes 
@ENDIF
@IF [@2]
SetContextStatus 2
stblchange  
*Every 24th Iteration add/remove a user to BList 
pause 120-480sec 
*pause ~5 minutes 
@ENDIF 
SetContextStatus 3 
@IF [@3] 
stlogout
*Every 12th Iteration logout, pause ~10 min and login again  
@ENDIF
rewind2 [ScriptIterationLimit]
*Rewind for next iteration
pause 40-80sec 
*Pause ~1 minute 
stterm
*Logout and Cleanup the ST Java sessions