Security News
RubyGems.org Adds New Maintainer Role
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
newman-reporter-influxdb
Advanced tools
InfluxDB reporter for Newman that sends the test results information to InfluxDB which can be used from Grafana to build dashboard.
newman
newman-reporter-influxdb
node
and npm
newman
- npm install -g newman
npm install -g newman-reporter-influxdb
Installation should be done globally if newman is installed globally, otherwise install without
-g
option
Specify -r influxdb
option while running the collection
newman run <collection-url> -r influxdb \
--reporter-influxdb-server <server-ip> \
--reporter-influxdb-port <server-port> \
--reporter-influxdb-name <database-name> \
--reporter-influxdb-measurement <measurement-name>
Example:
newman run https://www.getpostman.com/collections/631643-f695cab7-6878-eb55-7943-ad88e1ccfd65-JsLv -r influxdb \
--reporter-influxdb-server localhost \
--reporter-influxdb-port 8086 \
--reporter-influxdb-name newman_reports \
--reporter-influxdb-measurement api_results
Option | Remarks |
---|---|
--reporter-influxdb-server | IP Address or Host of InfluxDB |
--reporter-influxdb-port | Port no. (Usually 8086 ) |
--reporter-influxdb-name | Database name |
--reporter-influxdb-measurement | Measurement Point name (If not provided, then reporter will create measurement with prefix newman_results-<timestamp> ) |
--reporter-influxdb-username (Optional) | Username created for InfluxDB (e.g. newman_user ) |
--reporter-influxdb-password (Optional) | Password of the user (e.g. p@ssw0rd ) |
newman-reporter-influxdb | InfluxDB |
---|---|
v1.0.0+ | v1.7 |
npm pack
npm i -g newman-reporter-<name>.<version>.tgz
npm publish --access public
- name: npm publish
run: |
LATEST=`npm view . version`
CURRENT=`cat package.json | jq -r .version`
if [ "$LATEST" != "$CURRENT" ]
then
npm ci
npm publish
fi
{
"scripts": {
"postpublish" : "PACKAGE_VERSION=$(cat package.json | grep version | head -1 | awk -F: '{ print $2 }' | sed 's/[\",]//g' | tr -d '[[:space:]]') && git tag $PACKAGE_VERSION && git push --tags"
}
}
PACKAGE_VERSION=$(cat package.json \
| grep version \
| head -1 \
| awk -F: '{ print $2 }' \
| sed 's/[",]//g' \
| tr -d '[[:space:]]')
echo $PACKAGE_VERSION
https://github.com/influxdata/influxdb/blob/1.7/services/udp/README.md
FAQs
Newman Reporter for InfluxDB
The npm package newman-reporter-influxdb receives a total of 438 weekly downloads. As such, newman-reporter-influxdb popularity was classified as not popular.
We found that newman-reporter-influxdb demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.
Security News
Research
Socket's threat research team has detected five malicious npm packages targeting Roblox developers, deploying malware to steal credentials and personal data.