ASP.NET Web API 2 * Web Services for Websites, Modern Apps ...
Modern Tools for API Testing, Debugging and Monitoring
-
Upload
neil-mansilla -
Category
Technology
-
view
1.135 -
download
2
Transcript of Modern Tools for API Testing, Debugging and Monitoring
![Page 1: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/1.jpg)
Modern Tools for API Testing, Debugging and MonitoringNeil Mansilla Runscope
![Page 2: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/2.jpg)
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 4: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/4.jpg)
Request Capture
Tool that captures all of the details for a request (URL, headers, body)
* RequestBin
![Page 6: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/6.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/7.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/8.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/9.jpg)
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 12: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/12.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/13.jpg)
Runscope sponsored API related community projects:
Runscope Community Tools (runscope.com/community)
![Page 14: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/14.jpg)
Solve API Problems Fast
![Page 15: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/15.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/16.jpg)
Runscope > Request Editor (link to docs)
1. Edit and launch request 2. Request details
3. Response details
![Page 19: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/19.jpg)
{ live demo }
Runscope > Request Captures (link to docs)
![Page 20: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/20.jpg)
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 22: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/22.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/23.jpg)
Runscope > Radar (link to docs)
Above: overview page with snapshot of results/performance from latest tests.
![Page 25: Modern Tools for API Testing, Debugging and Monitoring](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/25.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/26.jpg)
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](https://reader030.fdocuments.in/reader030/viewer/2022032420/55a524a01a28abd90e8b4597/html5/thumbnails/27.jpg)