Connect to Server during FunctionalTest

Hi

I am developing some mmo games, and most gameplay logic is running on server side. As the project is growing up, I’d like to create some functional tests or feature tests based on ue4 automation framework. So is there any idea how can i connect to server during the functional test?
Thank you very much!