Web Vuser Functions (WEB) > General Topics in Web Protocol > ResourceByteLimit

ResourceByteLimit

The ResourceByteLimit sets a limit based on the accumulated size of the bodies of the resources on this Web page that have already been downloaded. When this limit is reached, no more resources are downloaded. The limit effects only the downloading of resources.

Downloading a resource is begun if the accumulated download size is less than the limit. If the limit is reached while downloading the resource and the size of the resource is known (Content-Length has been specified in the HTTP Response Header), the download is completed if it requires only one buffer.

If completing the download requires more than one buffer, or if the size is not known, the download is terminated and the connection is closed.

This feature emulates a user who does not wait for a complete page to download before navigating to another page.

ResourceByteLimit cannot be used in HTTP-mode or within Concurrent Groups. It applies only to Sockets replay, and not to WinInet.