General framework for performance testing SDN controllers