HTTP
followlocation
# Server-side
HTTP/1.1 302 OK swsclose
Location: data2.html/%TESTNUMBER0002
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
HTTP/1.1 200 OK swsclose
Location: this should be ignored
Date: Tue, 09 Nov 2010 14:49:00 GMT
Connection: close
body
# Client-side
http
Pre-request callback for HTTP with location following
libprereq
%HOSTIP:%HTTPPORT/%TESTNUMBER#redir
# Verify data after the test has been "shot"
s/^Local port = \d+/Local port = stripped/
Connected to %HOSTIP
Connected from %CLIENTIP
Remote port = %HTTPPORT
Local port = stripped
Returning = 0
Connected to %HOSTIP
Connected from %CLIENTIP
Remote port = %HTTPPORT
Local port = stripped
Returning = 0