VisibleWeb - Support - Tutorial
FormGet - Submit forms using GET
This page describes a number of batch command files which submits form data using the "GET" form submission method. retrieve web pages. For each example the command file, teh form data submitted, the response page and the report can be viewed. The command files have been stored as text files to prevent accidental execution. The examples range from how to execute a simple form submission extending to fairly complex multiple form submissions.
In these examples in the main the following environment variables are modified.
- myurl - the URL of the page to be retrieved
- myfrm - the form data
- mypag - the response page
- myrep - the report
- mycnt - the submission count
- mydly - the time delay between submission
VisibleWeb is subject to a programme of continous improvement which means the details of some of the files and reports may not be exactly the same as those listed below.
FormGet-j01 - single form submission
This command file submits a single form using the get method.
| formget-j01-bat.txt | command file |
| formget-01.txt | form data |
| formget-01.html | response page |
| formget-01.xml | report formatted as XML |
FormGet-j02 - single form submission random data
This command file submits a single form using the get method and generates random data for some of the fields.
| formget-j02-bat.txt | command file |
| formget-02.txt | form data |
| formget-02.html | response page |
| formget-02.xml | report formatted as XML |
FormGet-j11 - multiple form submission
This command file submits a single form using the get method three times with a delay of two seconds between submissions.
| formget-j11-bat.txt | command file |
| formget-11.txt | form data |
| formget-11.html | response page |
| formget-11.xml | report formatted as XML |
FormGet-j21 - multiple form submission
This command file submits three forms using the get method three times with a delay of two seconds between submissions.
| formget-j21-bat.txt | command file |
| formget-21u.txt | referred to URL file |
| formget-21.txt | form data |
| formget-21.html | response page |
| formget-21.xml | report formatted as XML |
FormGet-j22 - single form submission
This command file submits one form three times using the get method retrieves the result to three different pages.
| formget-j22-bat.txt | command file |
| formget-22p.txt | referred to page file |
| formget-22.txt | form data |
| formget-22-1.html | response page 1 |
| formget-22-2.html | response page 2 |
| formget-22-3.html | response page 3 |
| formget-22.xml | report formatted as XML |
FormGet-j23 - multiple form submission
This command file submits three forms three times using the get method with the same form data and retrieves the result to three different pages.
| formget-j23-bat.txt | command file |
| formget-23u.txt | referred to URL file |
| formget-23p.txt | referred to page file |
| formget-23.txt | form data |
| formget-23-1.html | response page 1 |
| formget-23-2.html | response page 2 |
| formget-23-3.html | response page 3 |
| formget-23.xml | report formatted as XML |
FormGet-j24 - multiple form submission
This command file submits three form three times using the get method three sets of form data and retrieves the result to three different pages.
| formget-j24-bat.txt | command file |
| formget-24u.txt | referred to URL file |
| formget-24f.txt | referred to form file |
| formget-24p.txt | referred to page file |
| formget-24-1.txt | form data 1 |
| formget-24-2.txt | form data 2 |
| formget-24-3.txt | form data 3 |
| formget-24-1.html | response page 1 |
| formget-24-2.html | response page 2 |
| formget-24-3.html | response page 3 |
| formget-24.xml | report formatted as XML |