From 85e5aa41019de2da02a175c4d22752adb0754a03 Mon Sep 17 00:00:00 2001 From: Tobias Peslalz Date: Wed, 24 Jul 2024 19:33:27 +0200 Subject: [PATCH] :sparkles: (analysis) add total counts by stage --- .../10-12/output/total_request_failure_count.tex | 12 ++++++++++++ .../14-16/output/total_request_failure_count.tex | 12 ++++++++++++ .../16-18/output/total_request_failure_count.tex | 12 ++++++++++++ loadtesting/notebooks/locust.ipynb | 12 ++++++++++++ 4 files changed, 48 insertions(+) create mode 100644 loadtesting/data/baseapp/2024-07-15/10-12/output/total_request_failure_count.tex create mode 100644 loadtesting/data/baseapp/2024-07-15/14-16/output/total_request_failure_count.tex create mode 100644 loadtesting/data/baseapp/2024-07-15/16-18/output/total_request_failure_count.tex diff --git a/loadtesting/data/baseapp/2024-07-15/10-12/output/total_request_failure_count.tex b/loadtesting/data/baseapp/2024-07-15/10-12/output/total_request_failure_count.tex new file mode 100644 index 0000000..452a556 --- /dev/null +++ b/loadtesting/data/baseapp/2024-07-15/10-12/output/total_request_failure_count.tex @@ -0,0 +1,12 @@ +\begin{tabular}{lrr} +\toprule + & Total Request Count & Total Failure Count \\ +User Count & & \\ +\midrule +100 & 117488 & 8 \\ +200 & 175315 & 0 \\ +300 & 133829 & 1 \\ +400 & 109636 & 0 \\ +500 & 98388 & 1 \\ +\bottomrule +\end{tabular} diff --git a/loadtesting/data/baseapp/2024-07-15/14-16/output/total_request_failure_count.tex b/loadtesting/data/baseapp/2024-07-15/14-16/output/total_request_failure_count.tex new file mode 100644 index 0000000..41b7f5d --- /dev/null +++ b/loadtesting/data/baseapp/2024-07-15/14-16/output/total_request_failure_count.tex @@ -0,0 +1,12 @@ +\begin{tabular}{lrr} +\toprule + & Total Request Count & Total Failure Count \\ +User Count & & \\ +\midrule +100 & 92368 & 9 \\ +200 & 94329 & 7 \\ +300 & 90766 & 3 \\ +400 & 76405 & 7 \\ +500 & 79115 & 55 \\ +\bottomrule +\end{tabular} diff --git a/loadtesting/data/baseapp/2024-07-15/16-18/output/total_request_failure_count.tex b/loadtesting/data/baseapp/2024-07-15/16-18/output/total_request_failure_count.tex new file mode 100644 index 0000000..d0fffc8 --- /dev/null +++ b/loadtesting/data/baseapp/2024-07-15/16-18/output/total_request_failure_count.tex @@ -0,0 +1,12 @@ +\begin{tabular}{lrr} +\toprule + & Total Request Count & Total Failure Count \\ +User Count & & \\ +\midrule +100 & 82626 & 5 \\ +200 & 81963 & 1 \\ +300 & 72558 & 0 \\ +400 & 66904 & 39 \\ +500 & 63384 & 236 \\ +\bottomrule +\end{tabular} diff --git a/loadtesting/notebooks/locust.ipynb b/loadtesting/notebooks/locust.ipynb index dfc5325..f48e649 100644 --- a/loadtesting/notebooks/locust.ipynb +++ b/loadtesting/notebooks/locust.ipynb @@ -171,6 +171,18 @@ "outputs": [], "execution_count": null }, + { + "metadata": {}, + "cell_type": "code", + "source": [ + "tmp = locust_df.groupby('User Count').agg({'Total Request Count': 'max', 'Total Failure Count': 'max'})\n", + "tmp.to_latex(outputdir+'total_request_failure_count.tex', escape=True)\n", + "tmp" + ], + "id": "c5aa4f41d38616cf", + "outputs": [], + "execution_count": null + }, { "metadata": {}, "cell_type": "code",