We are using k6 to run load testing on different platforms.
k6 run sharegpt_load.js
k6 run sharegpt_load.js -e HOST=https://xxx
-e HOST=https://xxx # host url
-e DO_SAMPLE=1 # do sample request
sudo gpg -k
sudo gpg --no-default-keyring --keyring /usr/share/keyrings/k6-archive-keyring.gpg --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys C5AD17C747E3415A3642D57D77C6C491D6AC1D69
echo "deb [signed-by=/usr/share/keyrings/k6-archive-keyring.gpg] https://dl.k6.io/deb stable main" | sudo tee /etc/apt/sources.list.d/k6.list
sudo apt-get update
sudo apt-get install k6