Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
T
telecom
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Roque
telecom
Commits
6847ecb8
Commit
6847ecb8
authored
Nov 28, 2017
by
Roque Porchetto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scalability_test: fix wrong parameter name
parent
362974ac
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
10 deletions
+10
-10
scalability_test/__init__.py
scalability_test/__init__.py
+10
-10
No files found.
scalability_test/__init__.py
View file @
6847ecb8
...
...
@@ -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
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment