test1183 643 B

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