quickjs-tart

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

test556 (554B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 
      9 <reply>
     10 <data>
     11 HTTP/1.1 200 OK swsclose
     12 Server: test-server/fake
     13 Last-Modified: Tue, 13 Jun 2000 12:10:00 GMT
     14 Content-Length: 6
     15 Connection: close
     16 
     17 -foo-
     18 </data>
     19 </reply>
     20 
     21 #
     22 # Client-side
     23 <client>
     24 <server>
     25 http
     26 </server>
     27 <tool>
     28 lib%TESTNUMBER
     29 </tool>
     30 <name>
     31 send and recv HTTP
     32 </name>
     33 <command>
     34 http://%HOSTIP:%HTTPPORT
     35 </command>
     36 </client>
     37 
     38 #
     39 # Verify data after the test has been "shot"
     40 <verify>
     41 <protocol>
     42 GET /%TESTNUMBER HTTP/1.1
     43 Host: ninja
     44 
     45 </protocol>
     46 </verify>
     47 </testcase>