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 );