Benoit Delbosc wrote:
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
Ah. Missed the login. :-| (It was on the front page too.. bah. :)
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:
Ah. Thanks. I'm just starting to use funkload/webunit, and there are some rough edges in my understanding of it. :)
I think your test have hard coded requests like:

        self.get('http://localhost/index.html')
No, I just fetch '/' and similar urls (server-relative). It'd been a bit obvious otherwise. ;-)

Thanks for the speedy response

Cheers
/Marcus
_______________________________________________
cps-devel mailing list
http://lists.nuxeo.com/mailman/listinfo/cps-devel

Reply via email to