[Defaults]
RunTest= 1
Silent= 1

Comment: Update: 06/05/2003 by Daniel Fuchs
Comment: Additions of Cipher Suite test(s)

Comment: Test cases GET_19 has been dropped
Comment: Test cases POST_9, POST_15, POST_16, POST_17 POST_18 have been dropped

Comment: Update: 29/03/2005 by Chi Yuen Yip
Comment: Update tests

Comment: Test cases Iteration 2 POST_4, POST_5, POST_10 have been disabled
Comment: Test cases Iteration 3 GET_7 have been disabled
Comment: Test cases Iteration 3 POST_3, POST_4 have been disabled

[SINGLE_TRANS]

name=			TC_ITER_2_GET_1
method=			GET
uri_scheme=		http://
uri=			WapTestName
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_2_GET_2
method=			GET
uri_scheme=		http://
uri=			WapTestName
Accept=			text/html	
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_2_GET_3
method=			GET
uri=			http://jigsaw.w3.org/HTTP/negbad
Accept=			text/plain, image/gif
test_validation_param_statuscode= 406

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_4
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=syncml1.txt&resp=syncml2.txt
Accept=			application/vnd.syncml-xml
test_validation_param_statuscode= 200


[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_5
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=softin1.txt&resp=softin2.txt
Accept=			application/ocsp-response, text/*
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_2_GET_6
method=			GET
uri_scheme=		http://
uri=			WapTestName
Accept=			*/*
Accept-Charset= 	ISO-8859-7
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_2_GET_7
method=			GET
uri=			http://jigsaw.w3.org/HTTP/negbad
Accept-Charset= 	Unicode-1-1
test_validation_param_statuscode= 406

[SINGLE_TRANS]
name=			TC_ITER_2_GET_8
method=			GET
uri_scheme=		http://
uri=			WapTestName
port=			80
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_2_GET_9
method=			GET
uri_scheme=		http://
uri=			WapTestIP
test_validation_param_statuscode= 200

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_10
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=4001.txt&resp=4002.txt
test_validation_param_statuscode= 400

[SINGLE_TRANS]
name=			TC_ITER_2_GET_11
method=			GET
uri_scheme=		http://
uri=			WapTestName
header= 		User-Agent: symbian_agent
test_validation_param_statuscode= 200

[GET12]
name=			TC_ITER_2_GET_12

[GET13]
name=			TC_ITER_2_GET_13

[GET14]
name=			TC_ITER_2_GET_14

[SINGLE_TRANS]
name=			TC_ITER_2_GET_15
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			/
Accept-Encoding= chunked
test_validation_param_statuscode= 200

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_16
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=4061.txt&resp=4062.txt
Accept-Encoding= 	nonsense
test_validation_param_statuscode= 406

[GET17]
name=			TC_ITER_2_GET_17	

[GET18]
name=			TC_ITER_2_GET_18

[SINGLE_TRANS]
name=			TC_ITER_2_GET_20
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			/~ferozu/403
test_validation_param_statuscode= 403

[GET21]
RunTest=		1
name=			TC_ITER_2_GET_21

[SINGLE_TRANS]
name=			TC_ITER_2_GET_22
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			/notfound.html
test_validation_param_statuscode= 404

[SINGLE_TRANS]
name=			TC_ITER_2_GET_23
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			/~ferozu/410
test_validation_param_statuscode= 410

[SINGLE_TRANS]
name=			TC_ITER_2_GET_24
method=			GET
uri=			http://jigsaw.w3.org/HTTP/400/toolong
test_validation_param_statuscode= 414

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_25
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=2021.txt&resp=2022.txt
test_validation_param_statuscode= 202

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_26
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=2041.txt&resp=2042.txt
test_validation_param_statuscode= 204

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_27
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=2051.txt&resp=2052.txt
test_validation_param_statuscode= 205

[SINGLE_TRANS]
name=			TC_ITER_2_GET_28
method=			GET
uri_scheme=		http://
uri=			WapTestIP
path=			/http_tests/rc/500
test_validation_param_statuscode= 500

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_29
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=5051.txt&resp=5052.txt
test_validation_param_statuscode= 505

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_2_GET_30
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=4051.txt&resp=4052.txt
test_validation_param_statuscode= 405

[SINGLE_TRANS] 
name=			TC_ITER_2_POST_1										
method=			POST
uri_scheme=		http://
uri=			WapTestName
path=			/perl/dumpform.pl
Content-Type=	text/plain
body= a=10
test_validation_param_statuscode= 200

[SINGLE_TRANS] 
name=			TC_ITER_2_POST_2							
method=			POST
uri_scheme=		http://
uri=			WapTestName
path=			/perl/dumpform.pl
Accept=			text/html,
Content-Type=		text/plain
body= 			a=10
test_validation_param_statuscode= 200

[SINGLE_TRANS] 
name=			TC_ITER_2_POST_3								
method=			POST
uri=			http://jigsaw.w3.org/HTTP/negbad
Accept=			image/gif,
Content-Type=		text/plain
body=			a=10
test_validation_param_statuscode= 406

[SINGLE_TRANS] 
RunTest=		0
name=			TC_ITER_2_POST_4								
method=			POST
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=postsync1.txt&resp=postsync2.txt
Content-Type=	application/vnd.syncml-xml
body= <?xml version="1.0" encoding="UTF-8"?><SyncML xmlns='SYNCML:SYNCML1.0'><SyncHdr><VerDTD>1.0</VerDTD><VerProto>SyncML/1.0</VerProto><SessionID>1</SessionID><MsgID>1</MsgID><Target><LocURI>servlet/fde.sync.SyncML</LocURI></Target><Source><LocURI>ABCDEFG</LocURI></Source><Cred><Meta><Type xmlns='syncml:metinf'>syncml:auth-basic</Type><Format xmlns='syncml:metinf'>b64</Format></Meta><Data>c3ltYmlhbjpmMXN5bmNtbAA=</Data></Cred></SyncHdr><SyncBody><Alert><CmdID>1</CmdID><Data>200</Data><Item><Target><LocURI>CALENDAR</LocURI></Target><Source><LocURI>C:\Documents\Agenda</LocURI></Source><Meta><Anchor xmlns='syncml:metinf'><Last xmlns='syncml:metinf'>20010320T105418Z</Last><Next xmlns='syncml:metinf'>20010320T145358Z</Next></Anchor></Meta></Item></Alert><Final/></SyncBody>
</SyncML>
test_validation_param_statuscode= 200

[SINGLE_TRANS] 
RunTest=		0
name=			TC_ITER_2_POST_5								
method=			POST
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=postsoft1.txt&resp=postsoft2.txt
Accept=			application/ocsp-response, text/plain
Content-Type=		application/ocsp-response
body=			posting content for the software install client
.
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_2_POST_6							
method=			POST
uri_scheme=		http://
uri=			WapTestName
path=			/perl/dumpform.pl
Content-Type=		text/plain
AcceptCharset=		ISO-8859-7
body= a=10
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_2_POST_7								
method=			POST
uri=			http://jigsaw.w3.org/HTTP/negbad
Content-Type=	text/plain
AcceptCharset=	UNICODE 1-1
body= a=10
test_validation_param_statuscode= 406

[SINGLE_TRANS]
name=			TC_ITER_2_POST_8								
method=			POST
uri_scheme=		http://
uri=			WapTestName
port=			80
path=			/perl/dumpform.pl
Content-Type=	text/plain
body= a=10
test_validation_param_statuscode= 200

Comment:		TC_ITER_2_POST_9 has been dropped

[SINGLE_TRANS] 
RunTest=		0
name=			TC_ITER_2_POST_10								
method=			POST
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=post4001.txt&resp=post4002.txt
Content-Type=	text/plain
body= a=10
.
test_validation_param_statuscode= 400
[SINGLE_TRANS]

name=			TC_ITER_2_POST_11								
method=			POST
uri_scheme=		http://
uri=			WapTestName
path=			/perl/dumpform.pl
Content-Type=		text/plain
header= 		User-Agent: symbian_agent
body= a=10
test_validation_param_statuscode= 200

[POST12]
name=			TC_ITER_2_POST_12

[POST13]
name=			TC_ITER_2_POST_13

[POST14]
name=			TC_ITER_2_POST_14		

Comment:		TC_ITER_2_POST_15 has been dropped 
	
Comment:		TC_ITER_2_POST_16 has been dropped 

Comment:		TC_ITER_2_POST_17 has been dropped 

Comment:		TC_ITER_2_POST_18 has been dropped 

[SINGLE_TRANS]

name=			TC_ITER_2_POST_19								
method=			POST
uri_scheme=		http://
uri=			WapTestName
path=			/~ferozu/403
Content-Type=	text/plain
body= a=10
test_validation_param_statuscode= 403

Comment:		TC_ITER_2_POST_20 has been dropped (see INC078630)

[SINGLE_TRANS]

name=			TC_ITER_2_POST_21								
method=			POST
uri_scheme=		http://
uri=			WapTestName
path=			/perl/dumpform.pl
Content-Type=	application/x-www-form-urlencoded 
bodyfile= c:\HttpTest\acceptance\BodyFile\TC_ITER_2_POST_21.txt
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_2_POST_22								
method=			POST
uri_scheme=		http://
uri=			WapTestName
path=			/perl/dumpform.pl
Content-Type=	application/x-www-form-urlencoded 
body= a=10\n\r& b=65 &c=, ,.z;cz ]=94321 0()*&%$£"
test_validation_param_statuscode= 200

[POST23]
name=			TC_ITER_2_POST_23								

Comment = START OF ITERATION 3 TESTS
Comment = GET Test 13 is not working
Comment = Get 8, 12 need changes to scripts on linux box. All MUST use 10.35.2.4 not waptest

[SINGLE_TRANS]
name=			TC_ITER_3_GET_1
method=			GET
uri_scheme=		http://scooby:doo@
uri=			WapTestName
path=			/http_tests/rc/401/private/index.html
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_3_GET_2
method=			GET
uri_scheme=		http://thisis:invalid@
uri=			WapTestName
path=			/http_tests/rc/401/private/index.html
test_validation_param_statuscode= 401

[SINGLE_TRANS]
name=			TC_ITER_3_GET_3
method=			GET
uri=			http://jigsaw.w3.org/HTTP/neg
test_validation_param_statuscode= 300
test_validation_param_expectederror= -7302

[SINGLE_TRANS]
name=			TC_ITER_3_GET_4
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			/~ferozu/301/
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_3_GET_5
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			/~ferozu/303/
test_validation_param_statuscode= 200

[SINGLE_TRANS] 
name=			TC_ITER_3_GET_6
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			/~ferozu/307/
test_validation_param_statuscode= 200

[SINGLE_TRANS] 
Comment: This does an infinite looping redirect
RunTest=		0
name=			TC_ITER_3_GET_7
method=			GET
uri_scheme=		http://
uri=			JigsawTestIP
path=			/redirect/FAQ.html
test_validation_param_expectederror= -7300
test_validation_param_numredirects= 4

[SINGLE_TRANS]  
RunTest=		1
name=			TC_ITER_3_GET_8
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=4081.txt&resp=4082.txt
test_validation_param_statuscode= 408
header=			Accept:*/*

[SINGLE_TRANS]
name=			TC_ITER_3_GET_9
method=			GET
uri_scheme=		http://
uri=			LocalHostIPAddr
test_validation_param_expectederror= -33

[SINGLE_TRANS]
name=			TC_ITER_3_GET_10
method=			GET
uri=			http://jigsaw.w3.org/HTTP/h-retry-after.html
test_validation_param_statuscode= 503

[SINGLE_TRANS]
name=			TC_ITER_3_GET_11
method=			GET
uri=			http://jigsaw.w3.org/HTTP/h-retry-after-date.html
test_validation_param_statuscode= 503

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_3_GET_12
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=9991.txt&resp=9992.txt
test_validation_param_statuscode= 999

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_3_GET_13
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=4131.txt&resp=/dev/null
test_validation_param_expectederror= -36
test_validation_param_statuscode= 999

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_3_GET_14
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=4141.txt&resp=4142.txt
header=			Sport:football/*,cricket/101
test_validation_param_statuscode= 200

[SINGLE_TRANS]
RunTest=		1
name=			TC_ITER_3_GET_15
method=			GET
uri_scheme=		http://
uri=			WapTestIP
port=			9000
path=			/tryit?req=nonstd1.txt&resp=nonstd2.txt
test_validation_param_statuscode= 200

Comment= POST Iteration 3 tests
Comment= 1 Gives back a 405, not 200. It also shows up problem in auth filter. Therefore not run

Comment= POST Iteration 3 tests
Comment= 1 Gives back a 405, not 200. It also shows up problem in auth filter. Therefore not run

[SINGLE_TRANS]
name=			TC_ITER3_POST_1
method=			POST
uri_scheme=		http://scooby:doo@
uri=			WapTestName
path=			/http_tests/rc/401/private/dumpform.pl
Content-Type=	application/x-www-form-urlencoded 
body= a=10
test_validation_param_statuscode= 405

[SINGLE_TRANS]
name=			TC_ITER3_POST_2
method=			POST
uri_scheme=		http://thisis:invalid@
uri=			WapTestName
path=			/http_tests/rc/401/private/dumpform.pl
Content-Type=	application/x-www-form-urlencoded 
body= a=10
test_validation_param_statuscode= 401

[SINGLE_TRANS]
RunTest=		0
name=			TC_ITER3_POST_3
method=			POST
uri_scheme=		http://
uri=			JigsawTestIP
path=			/redirect/nodumping.html
Content-Type=	application/x-www-form-urlencoded 
body= a=10
test_validation_param_statuscode= 200

[SINGLE_TRANS]
RunTest=		0
name=			TC_ITER3_POST_4
method=			POST
uri_scheme=		http://
uri=			IISIP
path=			/tests/302
Content-Type=	application/x-www-form-urlencoded 
body= a=10
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER3_POST_5
method=			POST
uri_scheme=		http://
uri=			WapTestName
path=			/~ferozu/410/
Content-Type=	application/x-www-form-urlencoded 
body= a=10
test_validation_param_statuscode= 410

[Iter3Post6]
name=			TC_ITER_3_POST_6

[Iter3Post7]
name=			TC_ITER_3_POST_7

[SINGLE_TRANS]

name=			TC_ITER_5_HEAD_1
method=			HEAD
uri_scheme=		http://
uri=			WapTestName
path=			/
test_validation_param_statuscode= 200

[SINGLE_TRANS]

name=			TC_ITER_5_TRACE_1
method=			TRACE
uri_scheme=		http://
uri=			WapTestName
path=			/
test_validation_param_statuscode= 200

[SINGLE_TRANS]

name=			TC_ITER_5_GET_1
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			/
from=			Feroz.Uddin@symbian.com
test_validation_param_statuscode= 200

[Iter5Chunked1]
name=			TC_ITER_5_CHUNKED_1

[Iter5Chunked2]
name=			TC_ITER_5_CHUNKED_2

[SINGLE_TRANS]
name=			TC_ITER_5_OPTIONS_1
method=			OPTIONS
uri_scheme=		http://
uri=			WapTestName
path=			/
body= a=10
test_validation_param_expectederror= -7330

[SINGLE_TRANS]
name=			TC_ITER_5_OPTIONS_2
method=			OPTIONS
uri_scheme=		http://
uri=			WapTestName
path=			/
test_validation_param_statuscode= 200

[SINGLE_TRANS]
name=			TC_ITER_5_OPTIONS_3
method=			OPTIONS
uri_scheme=		http://
uri=			WapTestName
path=			/
test_validation_param_statuscode= 200

[SINGLE_TRANS]

name=			TC_ITER_5_QUALITY_PARAM
method=			GET
uri=			http://jigsaw.w3.org/HTTP/neg
Accept=			text/plain;q=0.2,text/html
test_validation_param_statuscode= 200

# Test case for checking URI formats

[SINGLE_TRANS]

name=			TC_EMPTYPORT_GET_1
method=			GET
uri_scheme=		http://
uri=			WapTestName
path=			:
test_validation_param_statuscode= 200

[SINGLE_TRANS]
RunTest=		1
name=			TC_INVALID_URI_GET_1
method=			GET
uri_scheme=		http://
uri=
test_validation_param_expectederror= -7373

[SINGLE_TRANS]

name=			TC_INVALID_URI_GET_2
method=			GET
uri_scheme=		wtai://
uri=			WapTestName
test_validation_param_expectederror= -7373

# Test cases for response trailers in chunked response

[SINGLE_TRANS]

name=			TC_TRAILER_GET_1
method=			GET
uri_scheme=		http://
uri=			WapTestIP
path=			/cgi-bin/trailertest1.cgi
test_validation_param_statuscode= 200

[SINGLE_TRANS]

name=			TC_TRAILER_GET_2
method=			GET
uri_scheme=		http://
uri=			WapTestIP
path=			/cgi-bin/trailertest2.cgi
test_validation_param_statuscode= 200

endscript


# Comment can follow the 'endscript' marker
#
# Note that items in the [Defaults] section are applied to every section that follows; ie. they
# provide default 'global' settings.  They may be overridden in individual sections as desired.
#
# Hence to disable a particular test, set 'RunTest= 0' in the section for that test. (note the SP)
# 
# Scripts can also included by using a [Scripts] section. The scripts must be in the same location
# as the including script and the test cases will be included at the same point the [Scripts] section.
# Any number of scripts can also be included and mulitple levels is supported. The defaults sections
# of a script file will only apply to the test cases in that file.
# eg
# [Scripts]
# 1= script2.ini
# 2= script3.ini
#
# Iter 1 test 13 is diabled because is causes a panic
# Iter 2 POST tests 14 and 18 are disabled because they haven't been written yet

