Commit 53b4ad2f authored by Roque Porchetto's avatar Roque Porchetto

scalability_test: getScalabilityTestMetricUrl method in init test suite

parent 83155fbc
...@@ -26,7 +26,13 @@ class WendelinERP5_scalability(): ...@@ -26,7 +26,13 @@ class WendelinERP5_scalability():
erp5_address = instance_information_dict["zope-address"] erp5_address = instance_information_dict["zope-address"]
return "http://%s/erp5" % erp5_address return "http://%s/erp5" % erp5_address
def getBootstrapScalabilityTestUrl(self, count=0, instance_information_dict=None, **kw): def getScalabilityTestMetricUrl(self, instance_information_dict, **kw):
metrics_url = "http://%s:%s@%s/erp5" % (instance_information_dict['user'],
instance_information_dict['password'],
instance_information_dict['zope-address'])
metrics_url += "/ERP5Site_getScalabilityTestMetric"
def getBootstrapScalabilityTestUrl(self, count=0, instance_information_dict, **kw):
bootstrap_url = "http://%s:%s@%s/erp5" % (instance_information_dict['user'], bootstrap_url = "http://%s:%s@%s/erp5" % (instance_information_dict['user'],
instance_information_dict['password'], instance_information_dict['password'],
instance_information_dict['zope-address']) instance_information_dict['zope-address'])
......
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