Hi,
Marcus Lindblom a écrit :
(I hope this is the place for funkload questions. I couldn't find a
proper link, and this list popped up on google.)
There is no mailing list, you can email me or fill a ticket in the trac
http://svn.nuxeo.org/trac/pub/report/12
login as tracguest/tracguest
Hi,
I'm trying to use funkload to load test another server, but I can't get
neither fl-run-test nor fl-run-bench to respect the -u or --url option.
It goes to localhost:80 no matter what I type.
Shouldn't this work? It seems so according to docs and option list (-h):
fl-run-test mytest.py --url=http://otherserver
The --url option override the value of the configuration file (section:
main, key: url).
This option is effective only if you read and use this value in your
code, for instance:
...
class MyTestCase(FunkLoadTestCase):
def setUp(self):
self.server_url = self.conf_get('main', 'url')
def test_first(self):
server_url = self.server_url
self.get(server_url + "/index.html",
description="Home page")
...
I think your test have hard coded requests like:
self.get('http://localhost/index.html')
Regards
ben
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel