Share this page

# Example: web_report_data_point

In the following example, web_report_data_point creates a data point in the case of a step download timeout.

In Runtime Settings > Miscellaneous, select "Continue on error" to run the example.

    web_save_header(RESPONSE,"response header");
    // Set up to fail the web_url by setting an unreasonable timeout.
    web_set_timeout("Step", "1");
    web_url("cookie.html",
         "URL=http://www.kellynch_hall.com/walter_elliot/no_cookie.html",
         "TargetFrame=_TOP",
         LAST );
    web_report_data_point( "EventType=Error" ,
    "EventName=StepTimeOut" , "DataPointName=timeout" , LAST );

Tips to improve your search results... VuGen Function Reference Version 25.1-25.3 Function Reference 25.1-25.3 All View Local Help Center View Online Help Center Version: