LoadRunner關聯的高級應用
Action() |
//通過關聯找出所有的省市的連接地址
web_reg_save_param("outFlightVal", |
//計算獲取省市的個數,為下面的循環訪問做準備
array_len=atoi(lr_eval_string("{outFlightVal_count}")); |
//拼接省市請求url
sprintf(array_name,"{outFlightVal_%d}",i); |
//關聯獲取title字段內容
web_reg_save_param("title", |
//關聯獲取content字段內容
web_reg_save_param("content", |
posted on 2013-08-22 11:06 順其自然EVO 閱讀(242) 評論(0) 編輯 收藏 所屬分類: loadrunner