## GT0128 Hurricane WAP
## WSP Protocol Handler
#######################
## Ref. SGL.GT0128.aaa.bbb WSP Protocol Handler Unit Tests
## Unit test 2.3.1.9
## Driver chat script
#
# Test Synopsis
# * Invoke GET method N times, where N is less than or equal the MOR

# Expected Result
# * Expected result: Each Invoke is successfully completed


SCRIPT UnitTestDriver2.3.1.9 
#
# Sleep before start, allows stub time to start up and initialise.
#
	SLEEP 500
#
# Set proxy info
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\setproxyinfo_driver.txt"
#
# Set Server msg capability - 125 bytes
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\set_servermsg_125_driver.txt"
#
# Set Method MOR = 2
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\set_methodmor_2_driver.txt"
#
# Do connect - connected OK
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\do_connectok_driver.txt"
#
# TRANS 1
#
#
# GET
#
	SLEEP 500
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\trans1_get_driver.txt"
#
# TRANS 2
#
#
# GET - long wait to ensure cnf for trans1 is received
#
	SLEEP 2000
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\trans2_get_driver.txt"
#
# TRANS 1 - response
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\trans1_response_singlechunk_singlesdu_driver.txt"
#
# TRANS 2 - response
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\trans2_response_singlechunk_singlesdu_driver.txt"
#
# Ask for disconnect
# 
	SLEEP 500
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\do_clientdisconnect_driver.txt"
#
# Give the stub a chance to finish before exiting
#
	SLEEP 500
#
# Done!
#

ENDSCRIPT
