Commit 6847ecb8 authored by Roque Porchetto's avatar Roque Porchetto

scalability_test: fix wrong parameter name

parent 362974ac
......@@ -21,20 +21,20 @@ class WendelinERP5_scalability():
def getTestRepetition(self, test_number):
return 3
def getScalabilityTestUrl(self, instance_information):
erp5_address = instance_information["zope-address"]
def getScalabilityTestUrl(self, instance_information_dict):
erp5_address = instance_information_dict["zope-address"]
return "http://%s/erp5" % erp5_address
def getScalabilityTestUser(self, instance_information):
return instance_information["user"]
def getScalabilityTestUser(self, instance_information_dict):
return instance_information_dict["user"]
def getScalabilityTestPassword(self, instance_information):
return instance_information["password"]
def getScalabilityTestPassword(self, instance_information_dict):
return instance_information_dict["password"]
def getBootstrapScalabilityTestUrl(self, count=0, instance_information_dict=None, **kw):
bootstrap_url = "http://%s:%s@%s/erp5" % (instance_information['user'],
instance_information['password'],
instance_information['zope-address'])
def getBootstrapScalabilityTestUrl(self, count=0, instance_information_dict_dict=None, **kw):
bootstrap_url = "http://%s:%s@%s/erp5" % (instance_information_dict['user'],
instance_information_dict['password'],
instance_information_dict['zope-address'])
bootstrap_url += "/ERP5Site_bootstrapScalabilityTest"
boostrap_url += "?user_quantity=%i" % self.getUserQuantity(count)
return boostrap_url
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment