getMaxResponseLength

int scrapeableFile.getMaxResponseLength ( )

Description

Retrieve the kilobyte limit for information retrieved by the scrapeable file, any additional information will not be retrieved.

Parameters

This method does not receive any parameters.

Return Values

Returns the current kilobyte limit on the response, as an integer.

Change Log

Version Description
5.0 Add for professional and enterprise editions.

Examples

Log Response Size Limit

 // Log Limit
 session.log( "Max Response Length: " + scrapeableFile.getMaxResponseLength() + " KB" );

See Also

  • setMaxResponseLength() [scrapeableFile] - Sets the maximum number of kilobytes that will be retreived by the scrapeable file