I am trying to write a python test script which will start a Server and Client locally and then transfer their STDOUT to two files. This I need to do from the same test script and the asserts should be the next step. When I am doing the same, and when the server starts, my code hangs or somehow don't write in the file. I used subprocess.Popen to start the server and client. I cant post my code over here.
Please provide me the inputs to achieve the same.
Thanks and Regards,