In order to get `json` output from the test data, located at `test/data`, a docker container with InfluxDB instanse and imported data should be running. To run the InfluxDB container, simply execute:
In order to get `json` output from the test data, located at `test/data`, a docker container with InfluxDB instance and imported data should be running. In order to build the docker container with necessary test data, run the following script:
```
test/docker/influxdb/build_influxdb.sh
```
To run the InfluxDB container, simply execute:
```
test/docker/influxdb/run_influxdb.sh
```
...
...
@@ -68,11 +72,13 @@ IDB = {
As an example the following command will output the test data in the `json` format for a `pdf` report:
```
./data.py -t pdf 2368599
./data.py -t pdf 1352076
```
You can use other `JOBID`s which you can find in `test/data` directory.
**Note**: Test data with JOBID `2368599` doesn't include *Infiniband* metrics, therefore it is required to switch off `InfluxDB` support in the configuration file(`conf/config.py`) before using it.
## Export job info
In order to export the job info with `JOBID` you should call `export.py`: