Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

save request results into sqlite database #263

Merged
merged 6 commits into from
Aug 3, 2024

Conversation

brandonsimpson21
Copy link
Contributor

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,
        )

@hatoo
Copy link
Owner

hatoo commented Aug 3, 2024

I'm sorry for not getting back to you sooner.
But I finally decided to add sqlite3 feature to enable users to further analysis #542

@hatoo hatoo merged commit d6ea80e into hatoo:master Aug 3, 2024
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants