Putting it all together
The next step is to instruct JMeter to use InfluxDB as a backing store by writing our test plan metrics to the excilys
database we created earlier. This will allow the results of our test plan to be available for consumption in real time by the Grafana Web UI.
To see our results, we will also need to configure at least one dashboard in Grafana. A Grafana dashboard consists of one or more panels used to visualize data in different formats. Configuring a Grafana dashboard, though simple, goes beyond the scope of this book. For our purposes, we will be leveraging a community dashboard provided by NovaTec-APM. It meets our needs and is available at https://grafana.com/dashboards/1152.
Importing the Grafana dashboard
To use the community dashboard, we will need to import it. To do that, perform the following:
- Open Grafana Web UI by pointing your browser to
http://localhost:3000
. - Log in with the following credentials:
- Username:
admin
- Password:
admin
- Username:
- Click on the
Grafana icon
in...