[Koha-bugs] [Bug 10806] The staff benchmark script does not check authentication failure

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Sat Sep 28 14:20:55 CEST 2013


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10806

--- Comment #5 from Bernardo Gonzalez Kriegel <bgkriegel at gmail.com> ---
(In reply to Katrin Fischer from comment #4)
> It seems I can't get this to work with my locally running Koha. I have tried
> various variations of localhost and 127.0.0.1 in the URL parameter, maybe
> someone else can take a look?

Just copying my results, I used a real staff URL on port 80

1)
bgkriegel at sentey:~/kohaclone$ perl misc/load_testing/benchmark_staff.pl
--steps=1 --url=http://staffdev.local.koha/cgi-bin/koha/ --password="test"
--user="test"
Authentication successful
Use of uninitialized value $author in split at
misc/load_testing/benchmark_staff.pl line 124.
Use of uninitialized value $author in split at
misc/load_testing/benchmark_staff.pl line 124.
--------------
Koha STAFF benchmarking utility
--------------
Benchmarking with 20 occurences of each operation and 30 concurrent sessions
Step 1: staff client main page          13537ms 1.477 pages/sec
Skipping step 2
Skipping step 3
Skipping step 4
Skipping step 5
Skipping step 6
Skipping 'testing all transactions at once'
 (step 0)

2)
bgkriegel at sentey:~/kohaclone$ perl misc/load_testing/benchmark_staff.pl
--steps=1 --url=http://staffdev.local.koha/cgi-bin/koha/ --password="badtest"
--user="test"
Authentication failure: bad login/password at
misc/load_testing/benchmark_staff.pl line 87.

3)
bgkriegel at sentey:~/kohaclone$ perl misc/load_testing/benchmark_staff.pl
--steps=1 --url=http://badhost.local.koha/cgi-bin/koha/ --password="test"
--user="test"
Authentication failure:
        500 Can't connect to badhost.local.koha:80 (Bad hostname) at
misc/load_testing/benchmark_staff.pl line 89.

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list