(ci/cd) view load test results

This commit is contained in:
ishaan-jaff 2024-03-15 12:19:36 -07:00
parent fe9878017f
commit 493d24e4f7

View file

@ -32,7 +32,9 @@ def interpret_results(csv_file):
# Construct Markdown table header # Construct Markdown table header
markdown_table = "| Name | Status | Median Response Time (ms) | Average Response Time (ms) | Requests/s | Failures/s | Request Count | Failure Count | Min Response Time (ms) | Max Response Time (ms) |" markdown_table = "| Name | Status | Median Response Time (ms) | Average Response Time (ms) | Requests/s | Failures/s | Request Count | Failure Count | Min Response Time (ms) | Max Response Time (ms) |"
markdown_table += "\n| --- | --- | --- | --- | --- | --- | --- | --- |" markdown_table += (
"\n| --- | --- | --- | --- | --- | --- | --- | --- | --- | --- |"
)
# Construct Markdown table rows # Construct Markdown table rows
for row in rows: for row in rows: