Netty SSL Handler Tests

I am going to start setting up the ssl handler for our server. Several times I watched an example of secure chat. I'm just trying to formulate how I can write unit test using the inline test classes.

Does anyone have an example of testing a netty unit to configure an ssl handler? I was wondering if anyone would like to share their efforts in this area. I'm still not sure how to get started.

Many thanks.

+5
source share
1 answer

I had to do unit tests for Netty handler pipelines that included StartTLS and compression. It was easier for me to just use a loopback socket, rather than trying to connect encoder / decoder attachments.

, , , loopback - .

0

All Articles