test1259 686 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  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 OK swsclose
  12. Date: Tue, 09 Nov 2010 14:49:00 GMT
  13. Content-Type: text/html
  14. Set-Cookie: I-am=here; domain=localhost;
  15. boo
  16. </data>
  17. </reply>
  18. # Client-side
  19. <client>
  20. <server>
  21. http
  22. </server>
  23. <name>
  24. HTTP URL with semicolon in password
  25. </name>
  26. <command>
  27. "http://user:pass;word@%HOSTIP:%HTTPPORT/we/want/%TESTNUMBER"
  28. </command>
  29. </client>
  30. # Verify data after the test has been "shot"
  31. <verify>
  32. <protocol>
  33. GET /we/want/%TESTNUMBER HTTP/1.1
  34. Host: %HOSTIP:%HTTPPORT
  35. Authorization: Basic dXNlcjpwYXNzO3dvcmQ=
  36. User-Agent: curl/%VERSION
  37. Accept: */*
  38. </protocol>
  39. </verify>
  40. </testcase>