<div dir="ltr">That was my question in an email to Stuart..I can&#39;t find a client similar to tyrus-client you can find in Glassfish(OMG sorry for bringing that up, just as a hint) for example. A client lib to include as dep.<br>
</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Nov 5, 2013 at 5:14 PM, Arun Gupta <span dir="ltr">&lt;<a href="mailto:arun.gupta@gmail.com" target="_blank">arun.gupta@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For now this test is invoked from outside a WAR file.<br>
<br>
I&#39;m debugging on a separate thread so that it can run from within an<br>
Arquillian setup. Until then, is there a Java SE client that can be<br>
used to run this test ?<br>
<span class="HOEnZb"><font color="#888888"><br>
Arun<br>
</font></span><div class="im HOEnZb"><br>
On Tue, Nov 5, 2013 at 5:10 PM, Stuart Douglas<br>
&lt;<a href="mailto:stuart.w.douglas@gmail.com">stuart.w.douglas@gmail.com</a>&gt; wrote:<br>
</div><div class="HOEnZb"><div class="h5">&gt; Is this being run from outside a War by any chance? Looking at the code it<br>
&gt; appears we only add websockets dependency to a war, and as a result the<br>
&gt; container provider implementation is not available.<br>
&gt;<br>
&gt; Stuart<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Nov 5, 2013 at 4:48 PM, Arun Gupta &lt;<a href="mailto:arun.gupta@gmail.com">arun.gupta@gmail.com</a>&gt; wrote:<br>
&gt;&gt;<br>
&gt;&gt; Trying to run a simple WebSocket test from:<br>
&gt;&gt;<br>
&gt;&gt; <a href="https://github.com/arun-gupta/javaee7-samples/tree/master/websocket/binary" target="_blank">https://github.com/arun-gupta/javaee7-samples/tree/master/websocket/binary</a><br>
&gt;&gt;<br>
&gt;&gt; But this is throwing the following exception:<br>
&gt;&gt;<br>
&gt;&gt; Running org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest<br>
&gt;&gt; Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.055<br>
&gt;&gt; sec &lt;&lt;&lt; FAILURE!<br>
&gt;&gt;<br>
&gt;&gt; testEndPointByteBuffer(org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest)<br>
&gt;&gt;  Time elapsed: 0.023 sec  &lt;&lt;&lt; ERROR!<br>
&gt;&gt; java.lang.RuntimeException: Could not find an implementation class.<br>
&gt;&gt;     at<br>
&gt;&gt; javax.websocket.ContainerProvider.getWebSocketContainer(ContainerProvider.java:73)<br>
&gt;&gt;     at<br>
&gt;&gt; org.javaee7.websocket.binary.test.WebsocketByteBufferEndpointTest.testEndPointByteBuffer(WebsocketByteBufferEndpointTest.java:63)<br>
&gt;&gt;     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br>
&gt;&gt;     at<br>
&gt;&gt; sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)<br>
&gt;&gt;     at<br>
&gt;&gt; sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)<br>
&gt;&gt;     at java.lang.reflect.Method.invoke(Method.java:606)<br>
&gt;&gt;<br>
&gt;&gt; What is missing ?<br>
&gt;&gt;<br>
&gt;&gt; Arun<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; <a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
&gt;&gt; <a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
&gt;&gt; _______________________________________________<br>
&gt;&gt; wildfly-dev mailing list<br>
&gt;&gt; <a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
&gt;&gt; <a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
&gt;<br>
&gt;<br>
<br>
<br>
<br>
--<br>
<a href="http://blog.arungupta.me" target="_blank">http://blog.arungupta.me</a><br>
<a href="http://twitter.com/arungupta" target="_blank">http://twitter.com/arungupta</a><br>
_______________________________________________<br>
wildfly-dev mailing list<br>
<a href="mailto:wildfly-dev@lists.jboss.org">wildfly-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/wildfly-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/wildfly-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>\n\m<br>&quot;camel is a horse made up in a laboratory&quot;
</div>