KEMBAR78
Modern Tools for API Testing, Debugging and Monitoring | PDF
Modern Tools for API
Testing, Debugging and
Monitoring
Neil Mansilla
Runscope
REST Client
Making any type of HTTP call (GET, POST, PUT, DELETE, etc.) w/headers



Tool 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 Debugging
Feature / Task Runscope Solution
HTTP Client Runscope Request Editor

Advanced HTTP client with logging to Traffic Inspector
Request Capture Runscope Request Captures

Debug requests sent by your client apps or webhooks
Traffic Capture Runscope Traffic Inspector

Logs and indexes all traffic made from Request Editor, Captures, Runscope URL Helper,
Radar tests, Gateway Agent, Passageway, etc.
Local Tunneling Runscope Passageway

Temporarily share local web server on a public URL; all traffic logged to Traffic Inspector
Monitoring Runscope Radar

Automated testing without any programming required
Notifications Runscope Radar Integrations

Slack, 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
Modern Tools for API Testing, Debugging and Monitoring

Modern Tools for API Testing, Debugging and Monitoring

  • 1.
    Modern Tools forAPI Testing, Debugging and Monitoring Neil Mansilla Runscope
  • 2.
    REST Client Making anytype of HTTP call (GET, POST, PUT, DELETE, etc.) w/headers
 
 Tool that is beyond browser’s GET, and friendlier than curl * Hurl.it: web-based HTTP client * Browser extension app (REST Client, Postman)
  • 3.
    REST Client >Hurl.it (hurl.it)
  • 4.
    Request Capture Tool thatcaptures all of the details for a request (URL, headers, body) * RequestBin
  • 5.
    Request Capture >RequestBin (requestb.in)
  • 6.
    Traffic Capture Tools forcapturing HTTP traffic * Fiddler * Charles * Many other network proxy tools All logos and trademarks in this presentation are property of their respective owners.
  • 7.
    Local Tunneling Temporarily exposea 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.
  • 8.
    Monitoring / Alerting Automatedmonitoring and notifications when an endpoint/URL is down * Pingdom: web site monitoring * OpsGenie: notifications via SMS, smart phone push * PagerDuty: notifications via email, SMS
  • 9.
    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
  • 10.
    Test Data /Mocks > JSON Generator (json-generator.com)
  • 11.
    Test Data /Mocks > Mocky (mocky.io)
  • 12.
    Runscope Community Tools(runscope.com/community) Runscope manages/owns several of the API tools mentioned:
  • 13.
    Runscope sponsored APIrelated community projects: Runscope Community Tools (runscope.com/community)
  • 14.
  • 15.
    Runscope: Powerful APIMonitoring, Testing and Debugging Feature / Task Runscope Solution HTTP Client Runscope Request Editor
 Advanced HTTP client with logging to Traffic Inspector Request Capture Runscope Request Captures
 Debug requests sent by your client apps or webhooks Traffic Capture Runscope Traffic Inspector
 Logs and indexes all traffic made from Request Editor, Captures, Runscope URL Helper, Radar tests, Gateway Agent, Passageway, etc. Local Tunneling Runscope Passageway
 Temporarily share local web server on a public URL; all traffic logged to Traffic Inspector Monitoring Runscope Radar
 Automated testing without any programming required Notifications Runscope Radar Integrations
 Slack, PagerDuty, HipChat, OpsGenie, email, etc.

  • 16.
    Runscope > RequestEditor (link to docs) 1. Edit and launch request 2. Request details 3. Response details
  • 17.
    { live demo} Runscope > Request Editor (link to docs)
  • 18.
    Runscope > RequestCaptures (link to docs)
  • 19.
    { live demo} Runscope > Request Captures (link to docs)
  • 20.
    Runscope > TrafficInspector (link to docs) Above: log stream of all traffic with ability to introspect, search by keyword/attribute, edit/try, compare, share, etc.
  • 21.
    { live demo} Runscope > Traffic Inspector (link to docs)
  • 22.
    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
  • 23.
    Runscope > Radar(link to docs) Above: overview page with snapshot of results/performance from latest tests.
  • 24.
    Runscope > Radar(link to docs) { live demo }
  • 25.
    Runscope > RadarIntegrations (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.
  • 26.
    Thank you. Questions? NeilMansilla Developer Relations, Runscope Email: neil@runscope.com Twitter: @mansillaDev Try Runscope today https://www.runscope.com