Sametime® 7.5 Instant Messaging 工作负载脚本

Sametime® 7.5 Instant Messaging 工作负载脚本如下。

pause 900-1500sec
*Pause ~20 minutes for initial logins,retrieve initial BList population and status to ACTIVE 
stlogin 
stpolicy
stlocationset
@IF [NB_ENABLELOCATIONWATCH]
stlocationwatchbl
@ENDIF
beginloop2
*Start the Looping portion of the script - 30 minute iteration on average 
pause 180-300sec
*Pause ~4 minutes 
SetContextStatus 4 
@IF [@4] 
stuserinfo 
@ENDIF 
*Every Iteration get UserInfo - hover mouse over a user 
stchat RICHTEXT 
*Chat with 1 user, exchanging ~5 messages, ~512bytes in length, 30 seconds between each 
pause 90-150sec
*Pause ~4 minutes 
@IF NOT [NB_DISABLEFILETRANS]
SetContextStatus 5
*Every iteration transfer a file
@IF [@5]
stfiletransfer
@ENDIF
@ENDIF
pause 90-150sec 
SetContextStatus 1
@IF [@1]
*Every 3rd Iteration 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] 
stblchange
SetContextStatus 2  
*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  
stpolicy
@ENDIF 
rewind2 [ScriptIterationLimit]
*Rewind for next iteration
pause 40-80sec 
*Pause ~1 minute 
stterm
*Logout and Cleanup the ST Java sessions