About this project
Trafficator is a simple web traffic generator built on Puppeteer for local analytics testing. It allows developers to define custom funnels and interaction steps to simulate user behavior, test analytics implementations, and measure local traffic.
### Installation
```bash
npm install trafficator
```
Or globally:
```bash
npm install --global trafficator
```
### Usage
Trafficator uses Puppeteer under the hood to power interactions and activities on each page. Create a `.trafficator.js` file with at least one funnel configured to get started.
```js
module.exports = {
funnels: [
{
entry: 'https://my-project.local/'
}
]
};
```
Run the `trafficator` command from the command line or via npm scripts to execute the configured sessions and concurrency.
Comments
0 Rating appears after 10 ratings
Sign in to join the discussion.