authentication.feature 868 B

12345678910111213141516171819202122232425
  1. Feature: Authentication
  2. Authenticate to jabber server
  3. Scenario: plain text authentication
  4. Given Test connection adapter
  5. And Test response data for plain
  6. When connecting
  7. Then plain authentication element should be send
  8. And should be authenticated
  9. And Stream start should be send 2 times
  10. Scenario: wrong user or password
  11. Given Test connection adapter
  12. And Test response data for authentication failure
  13. And exceptions are catched when connecting
  14. When connecting
  15. Then a authorization exception should be catched
  16. Scenario: digest-md5 authentication
  17. Given Test connection adapter
  18. And Test response data for digest-md5 auth
  19. When connecting
  20. Then digest-md5 authentication element should be send
  21. And digest-md5 response send
  22. And empty digest-md5 response send