jooby-project / jooby

The modular web framework for Java and Kotlin
https://jooby.io
Apache License 2.0
1.71k stars 197 forks source link

WebSocket Client #716

Closed jschneider closed 7 years ago

jschneider commented 7 years ago

Hey guys,

would love to have a web sockets client for my integration tests. Any suggestions what to use? Maybe add a dependency and a sample to the tests?

jknack commented 7 years ago
<!-- Async Http Client -->
    <dependency>
      <groupId>com.ning</groupId>
      <artifactId>async-http-client</artifactId>
      <scope>test</scope>
    </dependency>

Example: https://github.com/jooby-project/jooby/blob/abec5e85904b36c30ee1f9f4eed945d8549a4a15/coverage-report/src/test/java/org/jooby/ws/OnTextMessageFeature.java

If you find a better one let me know.

ps: In future please use gitter for these type of questions. Thanks

jschneider commented 7 years ago

Ok. Thanks and sorry.