- Update The URL and app-name to match your app in public/views/index.html.
- Optional: Update User Info object in main.js to whatever user information you'd like to see. By default it will generate generic values.
To visualize the raw data outside of the FOE plugin: dashboard.json is included to be imported into Grafana.
Via Node
npm install
node website.jsVia Docker
docker build . -t farotestapp
docker run -p 3001:3001 farotestapp
- Navigate to http://localhost:3001
- Click Sign In
- Add to cart multiple times.
- Refresh and repeat steps multiple times, in different order
Instead of manually creating traffic you can run a small k6 browser test that will run 10 Virtual Users for 30 seconds:
Install K6: https://k6.io/docs/get-started/installation/
Test Script to automatically create traffic:
K6_BROWSER_HEADLESS=true k6 run test.jsNote: must be on k6 version 0.46 or greater.