Notice: OpenSpacer is no longer actively developed and is only available for data preservation reasons.

Monitoring Webservice REST/SOAP APIs mit Postman/Newman

webservice api monitoring  Best practice mit Postman / recording, parsing, tests fuer Icinga/nagios
Dominik Wuttke

Dominik Wuttke

Description

Postman ist ein kostenfreies Chrome Addon mit dem man REST/SOAP API calls einfach erstellen und anschließend in einer Bash ausführen kann.

https://www.getpostman.com/docs/introduction

Beispiel:
$ newman -c devopscamp.json -x

Iteration 1 of 1
200 349ms http://www.devops-camp.de/ [GET] http://www.devops-camp.de/
* Status code is 200
* Response time is less than 1000ms
* Body matches string: Das DevOps Camp geht in die 6. Runde
200 48ms http://www.devops-camp.de/informationen/was-ist-das-devops-camp/ [GET] http://www.devops-camp.de/informationen/was-ist-das-devops-camp/
* Status code is 200
* Response time is less than 1000ms
200 25ms http://www.devops-camp.de//#schedule [GET] http://www.devops-camp.de//#schedule
* Status code is 200
* Response time is less than 1000ms

Summary:

Parent Pass Count FailCount
-------------------------------------------------------------
Collection devopscamp 7 0

Total 7 0

 

This session took place at 08.10.2016 11:00 (DevOps Camp compact 2016 Sessionplan).

Comments

  • You have to register, to write a comment.