Commit c9867ec5 authored by Arnaud Fontaine's avatar Arnaud Fontaine

Clarify sleep parameter in example.

parent 261ba046
...@@ -13,6 +13,12 @@ def createPerson(result, browser): ...@@ -13,6 +13,12 @@ def createPerson(result, browser):
This tests requires the bt5 erp5_simulation_performance_test This tests requires the bt5 erp5_simulation_performance_test
to be isntalled for relation with organisation to be isntalled for relation with organisation
Also, in order to get more realistic results with concurrent users, random
sleep must be introduced to simulate a "real" user. This can be done through
'sleep' parameter (a tuple giving the minimum and maximum sleep time) to
open*() (Browser instance), submit*() (Form instance) and click*() (Link
instance).
""" """
# Open ERP5 homepage # Open ERP5 homepage
browser.open() browser.open()
......
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