Commit ccdf6758 authored by Benjamin Blanc's avatar Benjamin Blanc

scalability/runScalabilityTestSuite: add hardodec login/pass for ERP5 instance

parent a1d27747
......@@ -89,14 +89,13 @@ def getCreatedDocumentNumberFromERP5(erp5_url, log):
log("count docs number from ERP5 instance")
count_retry = 0
parsed = urlparse.urlparse(erp5_url)
user = parsed.username;
password = parsed.password;
user = 'zope'
password = 'insecure'
header_dict = {'Authorization': 'Basic %s' % \
base64.encodestring('%s:%s' % (user, password)).strip()}
zope_connection = getConnection(erp5_url, log)
while count_retry < 100 :
try:
count = count + 1
zope_connection.request(
'GET', '/erp5/count_docs_scalability',
headers=header_dict
......
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