[Koha-bugs] [Bug 32673] New: Remove misc/load_testing/ scripts

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Wed Jan 18 14:30:47 CET 2023


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32673

            Bug ID: 32673
           Summary: Remove misc/load_testing/ scripts
 Change sponsored?: ---
           Product: Koha
           Version: unspecified
          Hardware: All
                OS: All
            Status: ASSIGNED
          Severity: normal
          Priority: P5 - low
         Component: Test Suite
          Assignee: jonathan.druart+koha at gmail.com
          Reporter: jonathan.druart+koha at gmail.com
        QA Contact: testopia at bugs.koha-community.org

We are spending too much time trying to package HTTPD::Bench::ApacheBench, and
this dependency is only used by misc/load_testing scripts

I am not sure this is even used by anyone, and I didn't manage to make them
work (just spent 5 min however):

$ perl misc/load_testing/benchmark_staff.pl
--url=http://kohadev-intra.mydnsname.org:8081/cgi-bin/koha/ --user=koha
--password=koha --steps=123456
Authentication successful
--------------
Koha STAFF benchmarking utility
--------------
Benchmarking with 20 occurrences of each operation and 30 concurrent sessions 
Step 1: staff interface main page       36ms    555.555 pages/sec
Step 2: catalog detail page             34ms    588.235 biblios/sec
Step 3: catalogue search                35ms    571.428 biblios/sec
Step 4: patron detail page              28ms    714.285 borrowers/sec
Step 5: patron search page              69ms    579.71 borrowers/sec
Step 6a circulation (checkouts)         35ms    571.428 checkouts/sec
Step 6b circulation (checkins)          36ms    555.555 checkins/sec
Skipping 'testing all transactions at once'

That does not seems correct (too fast).

Moreover D12 is currently failing (00-strict.t because of missing deps)

Mason did the work but it's not there yet:
https://salsa.debian.org/perl-team/modules/packages/libhttpd-bench-apachebench-perl

What do we want? I would vote for removing the script and the dependency.

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


More information about the Koha-bugs mailing list