首页 > 代码库 > Loadrunner print web information

Loadrunner print web information

print_result_info(){    int HttpRetCode, httpInfoLastSocketError, HttpInfoDownloadSize, HttpInfoDownloadTime, HttpInfoTotalRequestStat, HttpInfoTotalResponseStat;        HttpRetCode = web_get_int_property(HTTP_INFO_RETURN_CODE);    httpInfoLastSocketError = web_get_int_property(HTTP_INFO_LAST_SOCKET_ERROR);    HttpInfoDownloadSize = web_get_int_property(HTTP_INFO_DOWNLOAD_SIZE);    HttpInfoDownloadTime = web_get_int_property(HTTP_INFO_DOWNLOAD_TIME);    HttpInfoTotalRequestStat = web_get_int_property(HTTP_INFO_TOTAL_REQUEST_STAT);    HttpInfoTotalResponseStat = web_get_int_property(HTTP_INFO_TOTAL_RESPONSE_STAT);    log_turnon();    lr_message("****\nHTTP_INFO_RETURN_CODE: %d\nHTTP_INFO_LAST_SOCKET_ERROR: %d\nHTTP_INFO_DOWNLOAD_SIZE: %d\nHTTP_INFO_DOWNLOAD_TIME: %d\nHTTP_INFO_TOTAL_REQUEST_STAT: %d\nHTTP_INFO_TOTAL_RESPONSE_STAT: %d\n",                HttpRetCode, httpInfoLastSocketError, HttpInfoDownloadSize, HttpInfoDownloadTime, HttpInfoTotalRequestStat, HttpInfoTotalResponseStat);    log_turnoff();}

 

Loadrunner print web information