test59 585 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. <testcase>
  2. <info>
  3. <keywords>
  4. HTTP
  5. HTTP GET
  6. </keywords>
  7. </info>
  8. #
  9. # Server-side
  10. <reply name="1">
  11. <data>
  12. HTTP/1.0 200 OK swsclose
  13. Date: Thu, 09 Nov 2010 14:49:00 GMT
  14. Server: test-server/fake
  15. hej
  16. </data>
  17. </reply>
  18. #
  19. # Client-side
  20. <client>
  21. <server>
  22. http
  23. </server>
  24. <name>
  25. HTTP URL with slash but with "parameter"
  26. </name>
  27. <command>
  28. "http://%HOSTIP:%HTTPPORT?mooo/59"
  29. </command>
  30. </client>
  31. #
  32. # Verify data after the test has been "shot"
  33. <verify>
  34. <strip>
  35. ^User-Agent:.*
  36. </strip>
  37. <protocol>
  38. GET /?mooo/59 HTTP/1.1
  39. Host: %HOSTIP:%HTTPPORT
  40. Accept: */*
  41. </protocol>
  42. </verify>
  43. </testcase>