PERFORMANCE


WebGet command
Used in a Server.Load script to retrieve information from a specified URL.

Syntax

Web Mail workload usage of WEBGET:

WEBGET [-sumonly | -alldata]

{-url <urlname>   [-walk  <depth> <span>]    [-proxy <urlname>]  

[-mi | -mis  <msgsize> <numrecipients>

| -mir <numtoread> | -mp] }  |


iNotes Workload usage of WEBGET:

WEBGET [-sumonly | -alldata]

{ -url <urlname>   [-walk  <depth> <span>]    [-proxy <urlname>]  
[ -qp | -qi | -qt  |


[ -holdtime <waitconn> <waitsend><waitrecv>]

Example 1

The command [-url www.lotus.com -walk 2 1] is interpreted by a Web browser as, "starting at Web page www.lotus.com, select two links on the page to click (if the page has at least two links). Click the first selected link, return back to the initial page, then click the second link, and return back to the initial page.

Example 2

The command [-url www.lotus.com -walk 1 2] is interpreted by a Web browser as, "starting at Web page www.lotus.com, select one link on the page to click. Click the link, then apply the same rule recursively to each new page. Assuming that the first link clicked is www.lotus.com/notes.htm, the rule then requires WebGet to find one link on that page and traverse it. The span parameter indicates a stopping point for the recursive process.

Additionally, -walk 0 0 indicates that WebGet should only request the page indicated by <urlname> and no more. Equivalent to leaving out the -walk switch.

Or, something like -walk 10000 10000 (or another large number) indicates that you want WebGet to traverse every conceivable link on that page, much like a Web robot.

See also