cubicweb/devtools/stresstester.py
changeset 11983 5de78b6fff2e
parent 11202 c8b80abab369
child 12037 88bf0ec257b2
--- a/cubicweb/devtools/stresstester.py	Thu Feb 23 17:51:11 2017 +0100
+++ b/cubicweb/devtools/stresstester.py	Thu Feb 23 18:02:33 2017 +0100
@@ -168,6 +168,7 @@
     # get local access to the repository
     print("Creating repo", prof_file)
     repo = Repository(config, prof_file)
+    repo.bootstrap()
     session = repo.new_session(user, password=password)
     reporter = ProfileReporter(queries)
     if threads > 1: