Skip to content

Commit 5582bba

Browse files
committed
stress_test: Add code for logging responses
1 parent 509cbdf commit 5582bba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/stress_test.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ REPLICATE_COUNT=$(("${3:-10}"))
1515
PARALLEL_MAX=${PARALLEL_MAX:-50}
1616

1717
CURL_ARGS="--compressed --parallel --parallel-immediate --parallel-max ${PARALLEL_MAX}"
18+
CURL_PRINT_RESPONSE_ARGS="-w %{http_code}\n"
1819

1920
JSON_TARGETS=('json/state' 'json/info' 'json/si', 'json/palettes' 'json/fxdata' 'settings/s.js?p=2')
2021
FILE_TARGETS=('' 'iro.js' 'rangetouch.js' 'settings' 'settings/wifi')

0 commit comments

Comments
 (0)