zeebe-io / zeebe-performance-test

1 stars 0 forks source link

Fix flaky mesure.sh #10

Closed rodrigo-lourenco-lopes closed 1 year ago

rodrigo-lourenco-lopes commented 1 year ago

This issue is likely caused by the request to the endpoint is happening before the information being available.

Waiting for minimal throughput
jq: error (at <stdin>:0): null (null) cannot be parsed as a number
Error: Process completed with exit code 5.

The error that we find in this script is that we are trying to parse a null value, the request-response body in this case.

One solution could be to increase the sleep timer before this request happens. Another one that was used here is to retry the endpoint until the request-response body is no longer null.

Closes #7