amplitude / analytics-go

Go Amplitude Analytics SDK
MIT License
12 stars 7 forks source link

test: AMP-58111-load-testing-with-revel #21

Open Mercy811 opened 2 years ago

Mercy811 commented 2 years ago

Summary

Load testing with https://github.com/amplitude/sdk-load-test

  1. cd Amplitude-Go/examples/revel_example
  2. install revel
  3. change your api key in examples/revel_example/myapp/app/controllers/app.go
  4. start revel server: revel run -a myapp
  5. download load testing tool
  6. change target: "http://localhost:port" to the port Revel engine is listening on. (Not sure why revel proxy port doesn't work . It returns timeout error)
  7. run yarn run to start the test

Checklist