test26 562 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  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.0 200 Mooo swsclose
  12. Server: test-server/fake
  13. Connection: close
  14. *flopp*
  15. </data>
  16. </reply>
  17. # Client-side
  18. <client>
  19. <server>
  20. http
  21. </server>
  22. <name>
  23. specify more -o than URLs
  24. </name>
  25. <command>
  26. http://%HOSTIP:%HTTPPORT/want/%TESTNUMBER -o - -o -
  27. </command>
  28. </client>
  29. # Verify data after the test has been "shot"
  30. <verify>
  31. <protocol>
  32. GET /want/%TESTNUMBER HTTP/1.1
  33. Host: %HOSTIP:%HTTPPORT
  34. User-Agent: curl/%VERSION
  35. Accept: */*
  36. </protocol>
  37. </verify>
  38. </testcase>