def getMaximumInstances(self): response = self.get(self.sessionIdUrl+'/ixLoad/preferences') maxInstances = response.json()['maximumInstances'] self.logInfo('\ngetMaximumInstances:%s' % maxInstances) return int(maxInstances)