Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ RUN_STRESS_TEST() {
TMP_FILE="test.tmp"
echo ">> [#$INDEX_RUN/$TOTAL_RUN] Running stress test with $AB_TOTAL_REQUESTS requests with $TRANSACTIONS_PER_REQUEST transactions per request and $AB_CONCURRENCY concurrency"
TRANSACTIONS_LIST=$(head -n $TRANSACTIONS_PER_REQUEST "$TRANSACTIONS_FILE" | tr "\n" ",")
AGGREGATOR_PROVER_URL="${AGGREGATOR_ENDPOINT}${AGGREGATOR_PROVER_ROUTE}?transaction_hashes=$TRANSACTIONS_LIST"
AGGREGATOR_PROVER_URL="${AGGREGATOR_ENDPOINT}${AGGREGATOR_PROVER_ROUTE}?transaction_hashes=${TRANSACTIONS_LIST::-1}"
if ab -n $AB_TOTAL_REQUESTS -c $AB_CONCURRENCY -s "$AB_TIMEOUT" "$AGGREGATOR_PROVER_URL" > $TMP_FILE ; then
REQUESTS_PER_SECOND=$(cat $TMP_FILE | awk '/Requests per second:/ {print $4}')
if [[ $INDEX_RUN -eq 1 ]] ; then
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@
2a30ab552d4cba84f76b733e047341a1f6f1db2c188ab76c9b1f3e57b3691dae
2a30ac372b3a576c98821a8288de0fc127000fa2d9d1440d30bec47d0c1469c1
32a2e5af7ba3c335b7ad41726d9184785b1d250ec5d6bd8c47344c80b93b93ec
test123
0000000000000000000000000000000000000000000000000000000000000000
32a2e5c227e5d65cfbbdb7271a6fedc4c6955b8f981222bf3be438f56106e872
32a2e5db86820448e1b40b290700c137ea9d1910648011348f10b8bf72556c34
32a2e5f34106865cf37de2621a886a59de36f8e684d9531ccee32d89f5b6f5ec
Expand Down Expand Up @@ -97,4 +97,4 @@ test123
6fb1c935c2b1aee31e360b339e078ba975e5d53eb222cd0e4ac90b047e78ca1d
6fb1c96508e533135114c92f314aef4defa81fbf134cb635f25ec5409569d909
6fb1c9b7c5df86b6ef4df4cb1b7267eb84f1f8c544f44b08788c6007e3dcd6e0
test456
1111111111111111111111111111111111111111111111111111111111111111