def loadRepository(connection, sessionUrl, rxfFilePath): ''' This method will perform a POST request to load a repository. 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 load the rxf for - rxfFilePath is the local rxf path on the machine that holds the IxLoad instance ''' loadTestUrl = "%s/ixload/test/operations/loadTest" % (sessionUrl) data = {"fullPath": rxfFilePath} performGenericOperation(connection, loadTestUrl, data)