Our legacy site: www.webwob.com   

VUgen scripting methods (page 3)

This page will cover more LoadRunner scripting methods, following on from the legacy site pages.

     LoadRunner CI/CD      *_LR_CI_*      LR_CI_+      Email_out      Email_in      Cookies 1      TUTORIAL      sprintf      debug      VUgen      Kill -9      disk space      AWS S3      dig (DNS++)      substitute      curl with timings      LR_Jenkins_graphs     

Send out extra debug info when needed during a test run

VuGen code snippet:

vugen code:

    //Check the HTTP code for a non-200.
    iHTTPCode = web_get_int_property(HTTP_INFO_RETURN_CODE);
    if (iHTTPCode != 200 && iHTTPCode != 404)
        lr_error_message("Debug: HTTP %d Detail: %s URL: %s", iHTTPCode, userAgent, url);