loadrunner獲取當前CST時間

  第一種方法:使用LR的參數化功能。html   代碼以下,nowtime是保存當前CST時間的字符串變量,local_time是要參數化的變量。post Action() { char *nowtime; nowtime = lr_eval_string("local_time"); lr_message("得本地當前時間是:%s",nowtime); return 0; }
相關文章
相關標籤/搜索