quickjs-tart

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

test1183 (640B)


      1 <testcase>
      2 <info>
      3 <keywords>
      4 HTTP
      5 HTTP GET
      6 </keywords>
      7 </info>
      8 
      9 # Server-side
     10 <reply>
     11 <data>
     12 HTTP/1.1 200 OK
     13 Server: Blafasel/5.0
     14 Date: Sat, 16 Jan 2021 14:48:30 GMT
     15 Content-Length: 12
     16 
     17 Bla bla bla
     18 </data>
     19 
     20 </reply>
     21 
     22 # Client-side
     23 <client>
     24 <server>
     25 http
     26 </server>
     27 <features>
     28 proxy
     29 </features>
     30 <name>
     31 %TESTNUMBER used instead of actual test number
     32 </name>
     33 <command>
     34 http://%HOSTIP:%HTTPPORT/%TESTNUMBER
     35 </command>
     36 </client>
     37 
     38 # Verify that the %TESTNUMBER has been resolved to %TESTNUMBER
     39 <verify>
     40 <protocol>
     41 GET /%TESTNUMBER HTTP/1.1
     42 Host: %HOSTIP:%HTTPPORT
     43 User-Agent: curl/%VERSION
     44 Accept: */*
     45 
     46 </protocol>
     47 </verify>
     48 </testcase>