Web Vuser Functions (WEB) > Alphabetical List of Web Vuser Functions > web_cache_cleanup

web_cache_cleanup

Clears the contents of the cache simulator.

C Language

int web_cache_cleanup( );

Java Language

int object.cache_cleanup( );
Argument
Description
object
An expression evaluating to an object of type WebApi. Usually web for Java. See also Function and Constant Prefixes.

Return Values

This function returns LR_PASS (0) on success, and LR_FAIL (1) on failure.

Parameterization

Parameterization is not applicable to this function.

General Information

The web_cache_cleanup function is a service function that clears the contents of the cache simulator. If the runtime setting option Simulate a new user each iteration is enabled on the Browser Emulation tab, then this function is automatically called at the beginning of each iteration.

This function is supported for all Web scripts.