51 lines
		
	
	
		
			610 B
		
	
	
	
		
			Plaintext
		
	
	
	
			
		
		
	
	
			51 lines
		
	
	
		
			610 B
		
	
	
	
		
			Plaintext
		
	
	
	
<testcase>
 | 
						|
<info>
 | 
						|
<keywords>
 | 
						|
HTTP
 | 
						|
</keywords>
 | 
						|
</info>
 | 
						|
 | 
						|
#
 | 
						|
# Server-side
 | 
						|
<reply>
 | 
						|
<data>
 | 
						|
HTTP/1.1 200 OK
 | 
						|
Date: Tue, 09 Nov 2010 14:49:00 GMT
 | 
						|
Server: test-server/fake swsclose
 | 
						|
Connection: close
 | 
						|
Content-Type: text/html
 | 
						|
 | 
						|
hello
 | 
						|
</data>
 | 
						|
<datacheck>
 | 
						|
hello
 | 
						|
</datacheck>
 | 
						|
</reply>
 | 
						|
 | 
						|
# Client-side
 | 
						|
<client>
 | 
						|
<server>
 | 
						|
http
 | 
						|
</server>
 | 
						|
# tool is what to use instead of 'curl'
 | 
						|
<tool>
 | 
						|
lib%TESTNUMBER
 | 
						|
</tool>
 | 
						|
 | 
						|
 <name>
 | 
						|
resolver start callback
 | 
						|
 </name>
 | 
						|
 <command>
 | 
						|
http://%HOSTIP:%HTTPPORT/%TESTNUMBER
 | 
						|
</command>
 | 
						|
</client>
 | 
						|
 | 
						|
#
 | 
						|
# Verify data after the test has been "shot"
 | 
						|
<verify>
 | 
						|
<errorcode>
 | 
						|
0
 | 
						|
</errorcode>
 | 
						|
</verify>
 | 
						|
</testcase>
 |