def exportConfig(connection, sessionUrl, destFilePath): ''' This method saves the current configuration as crf file to the disk of the machine on which the IxLoad instance is running. 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 to save the rxf for - destFilePath is the location where to save the crf on the machine that holds the IxLoad instance ''' exportConfigUrl = "%s/ixload/test/operations/exportConfig" % (sessionUrl) destFile = destFilePath.replace("\\", "\\\\") data = {"destFile": destFile} performGenericOperation(connection, exportConfigUrl, data)