WEB_REG_SAVE_PARAM_EX ("Paramname=response_header1", "Lb=set-cookie:", "rb=;", "Ordinal=all",//multiple conditions conform to return array search_filters,"relframeid=1",//This is useful when redirecting"scope=headers", last); Web_url ("popupLogin2013", "url=https://passport.jd.com/uc/popuplogin2013?clstag1=0&clstag2=0&r=0.45619612547335486&t= 1451008297482", "resource=0", "reccontenttype=text/html", "referer=http://tuantrade.jd.com/quanguo-index.html", "Snapshot=t26.inf", "mode=html", last); Arrsize= Lr_paramarr_len ("Response_header1"); This function returns the size of the array lr_output_message ("the number of eligible cookies is:%d", arrsize); Lr_output_message ("popupLogin2013 Response Header value =%s", Lr_paramarr_idx ("Response_header1",1));//Note that the subscript is starting from 1.
LoadRunner read the number and contents of associative arrays