quickjs-tart

quickjs-based runtime for wallet-core logic
Log | Files | Refs | README | LICENSE

test4000 (685B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 ECH GREASE
      5 </keywords>
      6 </info>
      7 
      8 #
      9 # Server-side
     10 <reply>
     11 <data>
     12 HTTP/1.1 200 OK
     13 Date: Tue, 09 Nov 2010 14:49:00 GMT
     14 Server: test-server/fake
     15 Content-Length: 7
     16 
     17 MooMoo
     18 </data>
     19 </reply>
     20 
     21 #
     22 # Client-side
     23 <client>
     24 <features>
     25 ECH
     26 </features>
     27 <server>
     28 https
     29 </server>
     30 <name>
     31 HTTPS GET with ECH GREASE
     32 </name>
     33 # Using '-k' over '--insecure' to also test the short form
     34 # Add ECH grease
     35 <command>
     36 --ech grease -k https://%HOSTIP:%HTTPSPORT/%TESTNUMBER
     37 </command>
     38 </client>
     39 
     40 #
     41 # Verify data after the test has been "shot"
     42 <verify>
     43 <protocol>
     44 GET /%TESTNUMBER HTTP/1.1
     45 Host: %HOSTIP:%HTTPSPORT
     46 User-Agent: curl/%VERSION
     47 Accept: */*
     48 
     49 </protocol>
     50 </verify>
     51 </testcase>