def waitForAllCaptureData(connection, sessionUrl): ''' This method is used after a test ran, to wait until all the port capture data was received. Args: - connection is the connection object that manages the HTTP data transfers between the client and the REST API - sessionUrl is the address of the session on which the test was ran. ''' waitForAllCaptureDataUrl = "%s/ixload/test/operations/waitForAllCaptureData" % (sessionUrl) data = {} performGenericOperation(connection, waitForAllCaptureDataUrl, data)