Modern Tools for API Testing, Debugging and Monitoring

Post on 14-Jul-2015

1,132 views 2 download

Tags:

transcript

Modern Tools for API Testing, Debugging and MonitoringNeil Mansilla Runscope

REST Client

Making any type of HTTP call (GET, POST, PUT, DELETE, etc.) w/headersTool that is beyond browser’s GET, and friendlier than curl

* Hurl.it: web-based HTTP client

* Browser extension app (REST Client, Postman)

REST Client > Hurl.it (hurl.it)

Request Capture

Tool that captures all of the details for a request (URL, headers, body)

* RequestBin

Request Capture > RequestBin (requestb.in)

Traffic Capture

Tools for capturing HTTP traffic

* Fiddler

* Charles

* Many other network proxy tools

All logos and trademarks in this presentation are property of their respective owners.

Local Tunneling

Temporarily expose a localhost service/port on a public URL

* ngrok (ngrok.com for binaries, or find source on GitHub)

All logos and trademarks in this presentation are property of their respective owners.

Monitoring / Alerting

Automated monitoring and notifications when an endpoint/URL is down

* Pingdom: web site monitoring

* OpsGenie: notifications via SMS, smart phone push

* PagerDuty: notifications via email, SMS

Test Data / Mocks

Tools for creating sample stubbed data; mock endpoint responses

* json-generator.com: easy way to create complex sample data

* Mocky (mocky.io): create mock HTTP endpoints

Test Data / Mocks > JSON Generator (json-generator.com)

Test Data / Mocks > Mocky (mocky.io)

Runscope Community Tools (runscope.com/community)

Runscope manages/owns several of the API tools mentioned:

Runscope sponsored API related community projects:

Runscope Community Tools (runscope.com/community)

Solve API Problems Fast

Runscope: Powerful API Monitoring, Testing and DebuggingFeature / Task Runscope Solution

HTTP Client Runscope Request EditorAdvanced HTTP client with logging to Traffic Inspector

Request Capture Runscope Request CapturesDebug requests sent by your client apps or webhooks

Traffic Capture Runscope Traffic InspectorLogs and indexes all traffic made from Request Editor, Captures, Runscope URL Helper, Radar tests, Gateway Agent, Passageway, etc.

Local Tunneling Runscope PassagewayTemporarily share local web server on a public URL; all traffic logged to Traffic Inspector

Monitoring Runscope RadarAutomated testing without any programming required

Notifications Runscope Radar IntegrationsSlack, PagerDuty, HipChat, OpsGenie, email, etc.

Runscope > Request Editor (link to docs)

1. Edit and launch request 2. Request details

3. Response details

{ live demo }

Runscope > Request Editor (link to docs)

Runscope > Request Captures (link to docs)

{ live demo }

Runscope > Request Captures (link to docs)

Runscope > Traffic Inspector (link to docs)

Above: log stream of all traffic with ability to introspect, search by keyword/attribute, edit/try, compare, share, etc.

{ live demo }

Runscope > Traffic Inspector (link to docs)

Runscope > Radar (link to docs)

• Automated API testing

• Powerful test cases and assertions without any coding required

• Multiple global testing locations in the cloud

• Test endpoints on local host or behind firewall (Remote Radar Agent)

• Scheduled from one-minute to one-day intervals

• Trigger tests with URLs for continuous integration and deployment workflows

• All test runs stored in Traffic Inspector

Runscope > Radar (link to docs)

Above: overview page with snapshot of results/performance from latest tests.

Runscope > Radar (link to docs)

{ live demo }

Runscope > Radar Integrations (link to docs)

• Notifications / ChatOps

• Continuous integration/deployment,build and hosting

• Reporting and analytics

All logos and trademarks in this presentation are property of their respective owners.

Thank you. Questions?

Neil Mansilla

Developer Relations, Runscope

Email: neil@runscope.com

Twitter: @mansillaDev

Try Runscope today

https://www.runscope.com