test48 546 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. #
  2. # Server-side
  3. <reply>
  4. <data>
  5. HTTP/1.1 200 OK
  6. Date: Thu, 09 Nov 2010 14:49:00 GMT
  7. Connection: close
  8. </data>
  9. </reply>
  10. #
  11. # Client-side
  12. <client>
  13. <server>
  14. http
  15. </server>
  16. <name>
  17. HTTP with -d and -G and -I
  18. </name>
  19. <command>
  20. -d "foo=moo&moo=poo" http://%HOSTIP:%HOSTPORT/48 -G -I
  21. </command>
  22. </client>
  23. #
  24. # Verify data after the test has been "shot"
  25. <verify>
  26. <strip>
  27. ^User-Agent:.*
  28. </strip>
  29. <protocol>
  30. HEAD /48?foo=moo&moo=poo HTTP/1.1
  31. Host: 127.0.0.1:8999
  32. Pragma: no-cache
  33. Accept: */*
  34. </protocol>
  35. </verify>