# Technology Tip #1 – Use Vegeta as a Modern Load Testing Tool

> Use [Vegeta](https://github.com/tsenart/vegeta) as a modern HTTP load testing tool written in [Golang](https://golang.org/). It is built out of a need to drill HTTP services with a constant request rate. It can be used both as a command line utility and a library

### Installation Instructions on Mac Machine

-   Install ITERM Terminal – [ITERM2](https://iterm2.com/):

```
brew install --cask iterm2
```

-   Install JSON Monitoring Tool – [JPLOT](https://github.com/rs/jplot):

```
brew install rs/tap/jplot      
```

-   Install JSON Aggregation CLI – [JAGGR](https://github.com/rs/jaggr):

```
brew install rs/tap/jaggr
```

### **An example of running load testing using Vegeta**

```
echo 'GET http://localhost:8080/latency?delay=1' | \
    vegeta attack -rate 5000 -duration 10m | vegeta encode | \
    jaggr @count=rps \
          hist\[100,200,300,400,500\]:code \
          p25,p50,p95:latency \
          sum:bytes_in \
          sum:bytes_out | \
    jplot rps+code.hist.100+code.hist.200+code.hist.300+code.hist.400+code.hist.500 \
          latency.p95+latency.p50+latency.p25 \
          bytes_in.sum+bytes_out.sum
```

![Vegata Load Testing Tool](https://vedcraft.com/images/2021/10/Vegata.gif)

* * *

### Read blogs on our website for various focus areas

![](https://vedcraft.com/images/2015/09/elearn.jpg)

## Software Architecture and Design Patterns

## Emerging Technology Patterns & Trends

## Technology Learnings and Knowledge Sharing
