def applyConfiguration(connection, sessionUrl): ''' This method is used to apply the currently loaded test. After starting the 'Apply Config' action, wait for the action to complete. 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 that should run the test. ''' applyConfigurationUrl = "%s/ixload/test/operations/applyConfiguration" %(sessionUrl) data = {} performGenericOperation(connection, applyConfigurationUrl, data)