How to test protocols/servers/clients?

"Trustin Lee (이희승)" trustin at gmail.com
Mon Dec 28 19:50:48 EST 2009


Hi falconair,

falconair wrote:
> I'm writing my code to the 3.2 branch, is the correct transport (for testing)
> available already or will it be available in the future?

It will be available in the future.

> Also, the examples on the documentation page a extremely helpful.  Adding
> another class containing a couple of unit tests will be very helpful in
> understanding how to test these systems.

Excellent idea.  I should make it happen in 3.2, too. :)

Thanks,
Trustin

> 
> Thanks
> 
> Trustin Lee wrote:
>> Hi falconair,
>>
>> Currently, there is an in-vm transport in the
>> org.jboss.netty.channel.local package.  However, it is not compatible
>> with the socket transport.  The new local transport compatible with
>> socket transport will be available in 3.2.
>>
>> HTH,
>> Trustin
>>
>> falconair wrote:
>>> Is there a tutorial on how best to write tests for netty applications? 
>>> If I
>>> write a client/server, do I have to start up the server, have a client
>>> connect to it over tcp/udp/etc.?  Is there an in-vm dummy tcp?  What's
>>> the
>>> best way to test protocols (requests, responses, heart-beats, etc.)?
>>
>>  
>> _______________________________________________
>> netty-users mailing list
>> netty-users at lists.jboss.org
>> https://lists.jboss.org/mailman/listinfo/netty-users
>>
>>
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20091229/404ff91a/attachment-0001.bin 


More information about the netty-users mailing list