How to start with XMPP compression using Smack api ? Less help available


I have enabled compression in one of my android client through smack api using


But I am not getting results. I need help.

What process should I follow? How can I test if compression in working or not?

Please help me!