# How to play with driller

Compile driller:

```
cargo build --release
```

### Example 1 (Delayed responses)

Start a Node HTTP server from `server` directory in another terminal:

```
cd example/server
DELAY_MS=100 node server.js
```

and then run:

```
cd example
../target/release/driller --benchmark benchmark.yml
```

### Example 2 (Cookies)

Start a Node HTTP server from `server` directory in another terminal:

```
cd example/server
npm install
node server.js
```

and then run:

```
cd example
../target/release/driller --benchmark cookies.yml
```

### Example 3 (Custom headers)

Start a Node HTTP server from `server` directory in another terminal:

```
cd example/server
npm install
node server.js
```

and then run:

```
cd example
../target/release/driller --benchmark headers.yml
