modern tools for api testing, debugging and monitoring

27
Modern Tools for API Testing, Debugging and Monitoring Neil Mansilla Runscope

Upload: neil-mansilla

Post on 14-Jul-2015

1.139 views

Category:

Technology


2 download

TRANSCRIPT

Page 1: Modern Tools for API Testing, Debugging and Monitoring

Modern Tools for API Testing, Debugging and MonitoringNeil Mansilla Runscope

Page 2: Modern Tools for API Testing, Debugging and Monitoring

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)

Page 3: Modern Tools for API Testing, Debugging and Monitoring

REST Client > Hurl.it (hurl.it)

Page 4: Modern Tools for API Testing, Debugging and Monitoring

Request Capture

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

* RequestBin

Page 5: Modern Tools for API Testing, Debugging and Monitoring

Request Capture > RequestBin (requestb.in)

Page 6: Modern Tools for API Testing, Debugging and Monitoring

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.

Page 7: Modern Tools for API Testing, Debugging and Monitoring

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.

Page 8: Modern Tools for API Testing, Debugging and Monitoring

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

Page 9: Modern Tools for API Testing, Debugging and Monitoring

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

Page 10: Modern Tools for API Testing, Debugging and Monitoring

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

Page 11: Modern Tools for API Testing, Debugging and Monitoring

Test Data / Mocks > Mocky (mocky.io)

Page 12: Modern Tools for API Testing, Debugging and Monitoring

Runscope Community Tools (runscope.com/community)

Runscope manages/owns several of the API tools mentioned:

Page 13: Modern Tools for API Testing, Debugging and Monitoring

Runscope sponsored API related community projects:

Runscope Community Tools (runscope.com/community)

Page 14: Modern Tools for API Testing, Debugging and Monitoring

Solve API Problems Fast

Page 15: Modern Tools for API Testing, Debugging and Monitoring

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.

Page 16: Modern Tools for API Testing, Debugging and Monitoring

Runscope > Request Editor (link to docs)

1. Edit and launch request 2. Request details

3. Response details

Page 17: Modern Tools for API Testing, Debugging and Monitoring

{ live demo }

Runscope > Request Editor (link to docs)

Page 18: Modern Tools for API Testing, Debugging and Monitoring

Runscope > Request Captures (link to docs)

Page 19: Modern Tools for API Testing, Debugging and Monitoring

{ live demo }

Runscope > Request Captures (link to docs)

Page 20: Modern Tools for API Testing, Debugging and Monitoring

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.

Page 21: Modern Tools for API Testing, Debugging and Monitoring

{ live demo }

Runscope > Traffic Inspector (link to docs)

Page 22: Modern Tools for API Testing, Debugging and Monitoring

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

Page 23: Modern Tools for API Testing, Debugging and Monitoring

Runscope > Radar (link to docs)

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

Page 24: Modern Tools for API Testing, Debugging and Monitoring

Runscope > Radar (link to docs)

{ live demo }

Page 25: Modern Tools for API Testing, Debugging and Monitoring

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.

Page 26: Modern Tools for API Testing, Debugging and Monitoring

Thank you. Questions?

Neil Mansilla

Developer Relations, Runscope

Email: [email protected]

Twitter: @mansillaDev

Try Runscope today

https://www.runscope.com

Page 27: Modern Tools for API Testing, Debugging and Monitoring