sledge-serverless-framework icon indicating copy to clipboard operation
sledge-serverless-framework copied to clipboard

fib errors for test scripts of fibonacci: Sending a http request with…

Open lyuxiaosu opened this issue 2 years ago • 0 comments

It seems Sledge right now only supports sending a http request with a http body by POST not GET. You can reproduce this by running hey command with hey -disable-compression -disable-keepalive -disable-redirects -z "${duration_sec}s" -cpus 2 -c 100 -t 0 -o csv -m GET -d "29\n" "http://${hostname}:10010/fib", you will find Sledge reply 200 OK but 0 fib result. After replacing GET with POST, sledge can return the right result.

lyuxiaosu avatar Oct 03 '22 15:10 lyuxiaosu