## GT0128 Hurricane WAP
## WSP Protocol Handler
#######################
## Ref. SGL.GT0128.aaa.bbb WSP Protocol Handler Unit Tests
## Unit test 2.4.1.6
## Driver chat script
#
# Test Synopsis
# * Abort all invokes after Invoking N GET methods, where N is greater than the MOR

# Expected Result
# * Expected result: Each Invoke is aborted 


SCRIPT UnitTestDriver2.4.1.6 

#
# Sleep before start, allows stub time to start up and initialise.
#
	SLEEP 500
#
# Set the proxy info
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\setproxyinfo_driver.txt"
#
# Get the session connected - default caps
#
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\doconnect_accept_driver.txt"
#
# Do the method invocation - trans1
#
	SLEEP 500
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\trans1_get_driver.txt"
#
# Do the method invocation - trans2
#
	SLEEP 500
	INCLUDE "C:\HttpTest\wsp_pr_hnd_driver\trans2_get_driver.txt"
#
# Abort trans1
#
	SLEEP 500
	SEND
		INVOKE trans1 Cancel
		ENDINVOKE
	ENDSEND
#
# Abort trans2 - wait a while allow abort ind to arrive
#
	SLEEP 1000	
	SEND
		INVOKE trans2 Cancel
		ENDINVOKE
	ENDSEND
#
# Client closes the transactions - wait for abort ind to arrive
#
	SLEEP 1000
	SEND
		INVOKE trans1 Close
		ENDINVOKE
	ENDSEND
	SEND
		INVOKE trans2 Close
		ENDINVOKE
	ENDSEND
#
# 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


