Coder Social home page Coder Social logo

yangxikun / monitor-man Goto Github PK

View Code? Open in Web Editor NEW
43.0 8.0 13.0 1.27 MB

HTTP API monitor based on postman and newman.

License: MIT License

JavaScript 44.60% HTML 0.22% Shell 0.11% Vue 55.08%
newman-web newman http-monitor postman monitor-man monitor

monitor-man's Introduction

monitor-man

HTTP API monitor based on postman and newman. It provides webui for newman, and some other useful things.

For multi IDC deploy support, see monitor-man-distribute

Home Page

How it work

  1. setup monitor-man
  2. export your collection, data file, enviroment from postman, then upload to monitor-man
  3. monitor-man will setup a newman for monitor your test

Setup

By Node

  1. git clone this project
  2. run npm install or yarn install
  3. run npm run build
  4. change listening port export PORT=9200(default 8889)
  5. set redis info export REDIS_HOST=127.0.0.1;export REDIS_PORT=6379;export REDIS_AUTH=foobar123;export REDIS_DB=0 (monitor-man rely on redis to store all information)
  6. set log level export LOG_LEVEL=debug, default to debug
  7. run node app.js

BY Docker

  1. docker pull yangxikun/monitor-man(https://hub.docker.com/r/yangxikun/monitor-man/)
  2. docker run --name monitor-man --env REDIS_HOST=10.17.16.5 --env REDIS_PORT=6379 --env REDIS_DB=1 --env REDIS_AUTH=foobar123 --env TIMEZONE=Asia/Shanghai -p 8889:8889 yangxikun/monitor-man:2.0.1
  3. now, visit http://127.0.0.1:8889

build docker image:

  1. git clone this project
  2. npm install
  3. wget https://nodejs.org/dist/v8.4.0/node-v8.4.0-linux-x64.tar.xz
  4. docker build -t yangxikun/monitor-man:2.0.1 .

Available config environment variable

  • PORT: listen port
  • REDIS_HOST
  • REDIS_PORT
  • REDIS_AUTH
  • REDIS_DB
  • TIMEZONE: see /usr/share/zoneinfo/(docker only)
  • LOG_LEVEL: default debug, see log4js

Doc

see Wiki

Write tests for APIs using Postman

License

This software is licensed under MIT. See the LICENSE file for more information.

monitor-man's People

Contributors

yangxikun avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

monitor-man's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.