oha icon indicating copy to clipboard operation
oha copied to clipboard

save request results into sqlite database

Open brandonsimpson21 opened this issue 2 years ago • 0 comments

can now be invoked with

oha <url> --db-url loadtest.db

to store the vector of request results into a sqlite db.

considerations:

  • table name: defaults to loadtest table to avoid another parameter
  • there may be other data people may want to keep track of.

the table looks like this:

CREATE TABLE loadtest (
            url TEXT NOT NULL,
            duration REAL,
            status INTEGER,
            len_bytes INTEGER,
        )

brandonsimpson21 avatar Jul 10 '23 16:07 brandonsimpson21