getTerminateProxiesOnCompletion

boolean session.getTerminateProxiesOnCompletion ( )

Description

Determine whether proxies are set to be terminated when the scrape ends.

Parameters

This method does not receive any parameters.

Return Values

Returns true if a proxy will be terminated; otherwise, it returns false.

Change Log

Version Description
5.0 Available for all editions.

Examples

Check Termination Setting

// Log whether proxies are being terminated or not
if ( session.getTerminateProxiesOnCompletion() )
{
    session.log( "Anonymous Proxies are set to be terminated with the scrape." );
}
else
{
    session.log( "Anonymous Proxies are set to continue running after the scrape is finished." );
}

See Also