Posts

Showing posts from January, 2021

[Vugen] save param/ response

web_reg_save_param("RunStatus",    "LB=HTTP/1.1 ",    "RB=\n",    "Ord=1",    "NotFound=WARNING",    "Search=Headers",   LAST); using {RunStatus} to get the value.   It will return an array object. ------------------- web_reg_find("Search=Headers",    "SaveCount=SuccessCount",    "Text=200 OK",    LAST); using {SuccessCount} to value.   It will return integer. atoi(lr_eval_string("{SuccessCount}")) Reference [1]  https://www.perfmatrix.com/web_reg_save_param/ ========================== Set Timeout Syntax: web_set_timeout("STEP","20"); now the timeout is 20 Seconds... you need add this before the transaction Reference [1]  https://community.microfocus.com/t5/LoadRunner-Enterprise-User/Set-up-a-timeout-period-for-every-transaction-in-LR/td-p/636468 However, wininet doesn't accept any setting on vugen.  It needs to set ReceiveTimeout in registry to update timeout fo...