Created
February 12, 2021 19:05
-
-
Save KensukeSakama/eb48e3a914a262c0abb93ace047b7ff0 to your computer and use it in GitHub Desktop.
Revisions
-
KensukeSakama created this gist
Feb 12, 2021 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,38 @@ Kens-MacBook-Pro:KenDBReview KenSakama$ k6 run --vus 1000 --iterations 10000 loadtest.js /\ |‾‾| /‾‾/ /‾‾/ /\ / \ | |/ / / / / \/ \ | ( / ‾‾\ / \ | |\ \ | (‾) | / __________ \ |__| \__\ \_____/ .io execution: local script: loadtest.js output: - scenarios: (100.00%) 1 scenario, 1000 max VUs, 10m30s max duration (incl. graceful stop): * default: 10000 iterations shared among 1000 VUs (maxDuration: 10m0s, gracefulStop: 30s) WARN[0013] Request Failed error="Get \"http://localhost:8080/api/products\": dial tcp 127.0.0.1:8080: connect: connection reset by peer" WARN[0013] Request Failed error="Get \"http://localhost:8080/api/products\": dial tcp 127.0.0.1:8080: connect: connection reset by peer" WARN[0013] Request Failed error="Get \"http://localhost:8080/api/products\": dial tcp 127.0.0.1:8080: connect: connection reset by peer" running (00m12.0s), 0000/1000 VUs, 10000 complete and 0 interrupted iterations default ✓ [======================================] 1000 VUs 00m11.9s/10m0s 10000/10000 shared iters data_received..............: 4.5 MB 380 kB/s data_sent..................: 920 kB 77 kB/s http_req_blocked...........: avg=10.55ms min=0s med=3µs max=482.37ms p(90)=307.2µs p(95)=118.14ms http_req_connecting........: avg=10.32ms min=0s med=0s max=482.25ms p(90)=17.5µs p(95)=117.93ms http_req_duration..........: avg=1.13s min=0s med=1.07s max=2.72s p(90)=1.37s p(95)=1.4s http_req_receiving.........: avg=75.46µs min=0s med=60µs max=11.91ms p(90)=102µs p(95)=130µs http_req_sending...........: avg=1.13ms min=0s med=18µs max=96.54ms p(90)=102.1µs p(95)=5.52ms http_req_tls_handshaking...: avg=0s min=0s med=0s max=0s p(90)=0s p(95)=0s http_req_waiting...........: avg=1.13s min=0s med=1.07s max=2.72s p(90)=1.37s p(95)=1.4s http_reqs..................: 10000 835.377502/s iteration_duration.........: avg=1.14s min=3.86ms med=1.07s max=2.95s p(90)=1.38s p(95)=1.46s iterations.................: 10000 835.377502/s vus........................: 1000 min=1000 max=1000 vus_max....................: 1000 min=1000 max=1000 Kens-MacBook-Pro:KenDBReview KenSakama$