[Koha-bugs] [Bug 11124] The staff benchmark script does not work with sql administrator account

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Dec 6 10:57:47 CET 2013


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

M. de Rooy <m.de.rooy at rijksmuseum.nl> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #22316|0                           |1
        is obsolete|                            |

--- Comment #3 from M. de Rooy <m.de.rooy at rijksmuseum.nl> ---
Created attachment 23333
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=23333&action=edit
Bug 11124: The staff benchmark script does not work with sql administrator
account

On step 6 (at least), the circulation and return page redirect to the
select branch page and nothing is done.

The script should die if the user used is the sql administrator account.

Test plan:
Suppose that the sql admin account is root/root and koha/koha a superlibrarian
account.

1/
perl misc/load_testing/benchmark_staff.pl --steps=6
--url=http://admin.koha.local/cgi-bin/koha/
--password="koha" --user="koha"
should produce:
  ...
  Step 6
  ...

2/
perl misc/load_testing/benchmark_staff.pl --steps=1
--url=http://admin.koha.local/cgi-bin/koha/
--password="root" --user="root"
should produce:
Authentication successful
You cannot use the database administrator account to launch this script

Signed-off-by: Marcel de Rooy <m.de.rooy at rijksmuseum.nl>

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


More information about the Koha-bugs mailing list