로딩...

k6

부하 테스트

brew install k6
import http from 'k6/http'
import { check, group, sleep } from 'k6'

export const options = {
  stages: [
    { duration: '1m', target: 1000 },
    { duration: '2m', target: 1000 },
    { duration: '1m', target: 0 },
  ]
}

export default function() {
  http.get('http://192.168.64.50')
  sleep(1)
}
k6 run [http.js]