【文件属性】:
文件名称:newman-reporter-influxdb:纽曼InfluxDB记者
文件大小:17KB
文件格式:ZIP
更新时间:2021-05-14 13:33:40
api influxdb postman api-testing newman
纽曼记者流入数据库
用于InfluxDB报告程序,它将测试结果信息发送到InfluxDB(1.x,2.x),可从Grafana使用它来构建仪表板。
入门
安装newman
安装newman-reporter-influxdb
安装InfluxDB(获取服务器地址,端口,数据库名称等)
先决条件
node和npm
newman npm install -g newman
安装
npm install -g newman-reporter-influxdb
如果在全球范围内安装了newman,则应该在全局范围内进行安装,否则,不使用-g选项进行安装
用法
在运行集合时指定-r influxdb选项
newman run < collection> -r influxdb \
--reporter-influxdb-server < server> \
-
【文件预览】:
newman-reporter-influxdb-develop
----index.js(111B)
----renovate.json(41B)
----package.json(748B)
----.github()
--------workflows()
----test()
--------failed.json(31KB)
----LICENSE(1KB)
----package-lock.json(709B)
----src()
--------influxdb-reporter.js(6KB)
--------http.service.js(3KB)
--------udp.service.js(670B)
----.gitignore(2KB)
----Makefile(2KB)
----README.md(6KB)