Skip to content
Snippets Groups Projects
Commit 215faf4f authored by Krzysztof Mochocki's avatar Krzysztof Mochocki
Browse files

Extend logging

parent a159c66f
No related branches found
No related tags found
No related merge requests found
......@@ -79,7 +79,7 @@ ENV ROOT_DIR="${WDIR}"
ENV SERVE_PORT=""
# additional arguments that will be passed to benchmarking script
ENV ADDITIONAL_ARGS="--skip-version-check"
ENV ADDITIONAL_ARGS="--skip-version-check -i"
# path to directory, where jmeter and python benchmark script will put all it's output
ENV JMETER_WORKDIR=${ROOT_DIR}/wdir
......
......@@ -339,6 +339,7 @@ with JMETER_REPORT_OUT_FILE.open('rt', encoding='utf-8') as in_file:
if error_counter > 0:
log.error(f'Amount of invalid requests/total amount of requests: {error_counter}/{count + 1}')
log.info(f"total amount of calls: {count}")
# generate pretty table
table = PrettyTable(field_names=['Endpoint', 'Max [ms]', 'Min [ms]', 'Average [ms]', 'Median [ms]'])
value_extr = lambda x: x.value
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment