HP LoadRunner Protocol SDK
Events WEB

WEB Events

WEB (HTTP/HTML) events are higher-level events extracted from HTTP events. Each WEB event corresponds to a WEB function and the properties of the events are the arguments to the functions.

For the latest and most complete list, see the . The functions defined for the WEB (HTTP/HTML) protocol are:

int web_add_auto_filter ( [Action,]< List of Attributes >, LAST);

int web_add_auto_header (const char *Header, const char *Content);

int web_add_cookie (const char *Cookie);

int web_add_cookie_ex (const char *Cookie, [const char *Insert,]

    [ const char *AllowEmptyDomain,] [ENDITEM, Cookie, [Insert,]

    [AllowEmptyDomain,] ] [ENDITEM...] LAST);

int web_add_filter ( [Action,]< List of Attributes >, LAST) ;

int web_add_header (const char *Header, const char *Content);

int web_cache_cleanup();

int web_cleanup_auto_headers ( );

int web_cleanup_cookies ( );

int web_concurrent_end ( reserved );

int web_concurrent_start ( [char *ConcurrentGroupName,] NULL );

int web_convert_param (const char *ParamName, [char *SourceString]

    char *SourceEncoding, char *TargetEncoding, LAST);

int web_custom_request (const char *RequestName, <List of Attributes>,

    [EXTRARES, <List of Resource Attributes>,] LAST);

int web_disable_keep_alive ( );

int web_dump_cache ( const char *Name, const char *fileName,

    [ const char *Replace], LAST);

int web_enable_keep_alive ( );

int web_find (const char *StepName, <Attributes and Specifications list>,

    char *searchstring, LAST);

int web_get_int_property (const int HttpInfoType);

int web_global_verification (<List of Attributes>, LAST);

int web_global_verification_pause (const char *ID

    [, const char *ID1, ..., const char *IDn], LAST);

int web_global_verification_resume (const char *ID

    [, const char *ID1, ..., const char *IDn], LAST);

int web_image (const char *StepName, <List of Attributes>,

    [EXTRARES, <List of Resource Attributes>,] LAST);

int web_image_check(const char *CheckName, <List of Attributes>,

    <"Alt=alt"|| "Src=src">, LAST);

int web_link (const char *StepName, <List of Attributes>,

    [EXTRARES, <List of Resource Attributes>,] LAST);

int web_load_cache ( const char *Name, const char *fileName, LAST);

int web_reg_add_cookie(const char *cookie, const char *searchstring, LAST);

int web_reg_find (const char *attribute_list, LAST);

int web_reg_save_param (const char *ParamName, <List of Attributes>, LAST);

int web_remove_auto_filter ( char *Id, LAST);

int web_remove_auto_header (const char *Header, char *Implicit, LAST);

int web_remove_cookie (const char *Cookie);

int web_report_data_point ( const char *EventType, const char *EventName ,

    const char *DataPointName , LAST);

int web_revert_auto_header (char *Header);

int web_save_header (const char *type, const char *param );

int web_save_param_length( const char *Param, const char *Base, LAST);

int web_save_timestamp_param( const char *tmstampParam, LAST);

int web_set_certificate (const char *CertificateNumber);

int web_set_certificate_ex (const char *option_list, LAST);

int web_set_max_html_param_len (const char *length );

int web_set_max_retries (const char *MaxRetries );

int web_set_option (const char *OptionID, const char *OptionValue, LAST);

int web_set_proxy (const char *proxy_host:port );

int web_set_proxy_bypass (const char *bypass1..n );

int web_set_proxy_bypass_local ( const char *no_local );

int web_set_secure_proxy (const char *secure_proxy_host_port );

int web_set_sockets_option( const char *option, const char *value );

int web_set_timeout (const char *Action, const char *TimeOut );

int web_set_user (const char *username, const char *password,

    const char *host:port );

int web_sjis_to_euc_param (LPCSTR param_name, LPCSTR param_value_in_SJIS);

int web_submit_data ( const char *StepName, const char *Action,

    <List of Attributes>, ITEMDATA, <List of data>,

    [ EXTRARES, <List of Resource Attributes>,] LAST );

int web_submit_form (const char *StepName, <List of Attributes>,

    <List of Hidden Fields>, ITEMDATA, <List of Data Fields>,

    [ EXTRARES, <List of Resource Attributes>,] LAST);

int web_switch_net_layer (const char *NetName);

int web_url (const char *StepName, const char *url, <List of Attributes>,

    [EXTRARES, <List of Resource Attributes>,] LAST);

void web_debug_print( const char *mpszTitle, [const char *flags,] LAST);