Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Performance Testing with JMeter  3

You're reading from   Performance Testing with JMeter 3 Enhance the performance of your web application

Arrow left icon
Product type Paperback
Published in Jul 2017
Publisher Packt
ISBN-13 9781787285774
Length 166 pages
Edition 3rd Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Bayo Erinle Bayo Erinle
Author Profile Icon Bayo Erinle
Bayo Erinle
Arrow right icon
View More author details
Toc

Creating an InfluxDB database for our test plan

In order to use InfluxDB for storing the metrics from our test plan, we first need to create a database to use. InfluxDB comes with both client Command Line Interface (CLI) and an HTTP API for interacting with it. We will be using the HTTP API to interact with InfluxDB. If you wish to use the CLI, refer to the documentation at https://docs.influxdata.com/influxdb/v1.2/tools/shell/.

To create a database named excilys on our local installation of InfluxDB, follow the mentioned steps:

  1. Open up a Terminal window and issue the following command:

This assumes you have curl installed on your machine. If you don't, please download and install curl. See http://bit.ly/2hdYgTW.

curl -i -XPOST http://localhost:8086/query --data-urlencode "q=CREATE DATABASE excilys"
  1. If successful, you should be returned an HTTP status code 200...
lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image