Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Agile api dev Into the Box 2018

82 views

Published on

John Farrar

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Agile api dev Into the Box 2018

  1. 1. 1
  2. 2. Into The Box 2018 2
  3. 3. …an approach to software development under which requirements and solutions evolve through the collaborative effort of self-organizing cross-functional teams and their customer/end users. What is Agile?
  4. 4. Tools: Postman It is awesome and just keeps getting better. API: ColdBox It gets the job done! UI: Vue Anything you can do, I can Vue better! (delivered via Axios) API agile: able to move quickly and easily 4
  5. 5. Tools: Postman It is awesome and just keeps getting better. API: ColdBox It gets the job done! Build: Jenkins Bamboo, CircleCI, CodeFresh, CodeShip, GitLab, Travis, or ??? API agile: able to move quickly and easily 5
  6. 6. Postman ( free for single users ) • Request GUI • Collections • Documentation • Environments • Mock Servers • Monitors • Templates • Workspaces • ( bonus: API Network Listing ) Features of Interest
  7. 7. Postman ( free for single users ) Request GUI • Request GUI • Collections • Documentation • Environments • Mock Servers • Monitors • Templates • Workspaces • ( bonus: API Network Listing )
  8. 8. Request GUI HTTP Verbs
  9. 9. Request GUI • COPY • DELETE • GET • HEAD • LINK • OPTIONS • PATCH • POST • PROPFIND • PURGE • PUT • UNLINK • UNLOCK • VIEW HTTP Verbs
  10. 10. Request GUI Route (URL)
  11. 11. Request GUI • Inherit From Parent • No Auth • Bearer Token • Basic Auth • Digest Auth • OAuth 1.0 • OAuth 2.0 • Hawk Authentication • AWS Signature • NTLM Authentication [Beta] Authorization Type
  12. 12. Request GUI • Inherit From Parent • No Auth • Bearer Token • Basic Auth • Digest Auth • OAuth 1.0 • OAuth 2.0 • Hawk Authentication • AWS Signature • NTLM Authentication [Beta] Authorization Type
  13. 13. Request GUI • Key • Value • Description • Bulk Edit • Presets HTML Headers
  14. 14. Request GUI • Form Data • Encoded Form Data • Raw Data • Text • JSON • XML • more… • Binary Request Data
  15. 15. Request GUI • Pre-request • Tests Scripting
  16. 16. Request GUI • Body • Cookies • Headers • Test Results • Stats • Status • Time • Size Response
  17. 17. Basic API endpoint requests 17 Postman in Practice 1
  18. 18. Postman ( free for single users ) 18
  19. 19. Postman ( free for single users ) 19
  20. 20. Basic API endpoint requests 20 Collections (runner, console) Postman in Practice 1 2
  21. 21. Request GUI • Name • Description • Authorization • Pre-request Scripts • Tests • Variables Collections
  22. 22. Request GUI • Person • Team ($) Workspaces
  23. 23. Request GUI • Collections • Environment • Iterations • Log • Data • Persist Variables Runner
  24. 24. Request GUI • Console Log • ( console stuff ) • Filter Console
  25. 25. Postman ( free for single users ) 25
  26. 26. Postman ( free for single users ) 26
  27. 27. Basic API endpoint requests 27 Collections (runner, console) Environments (variables) Postman in Practice 1 2 3
  28. 28. Postman ( free for single users ) 28
  29. 29. Postman ( free for single users ) 29
  30. 30. Request GUI • Console Log • ( console stuff ) • Filter Environments
  31. 31. Basic API endpoint requests 31 Collections (runner, console) Environments (variables) Tests Postman in Practice 1 2 3 4
  32. 32. Postman ( free for single users ) 32
  33. 33. Postman ( free for single users ) 33
  34. 34. Basic API endpoint requests 34 Collections (runner, console) Environments (variables) Tests Newman Postman in Practice 1 2 3 4 5
  35. 35. Postman ( free for single users ) 35
  36. 36. Postman ( free for single users ) 36
  37. 37. Postman ( free for single users ) Documentation
  38. 38. Postman ( free for single users ) • Option 1: Build API First and Test • Option 2: Build Mock API and • Option 3: Paired Development Mock Servers
  39. 39. Postman ( free for single users ) • Stuff Monitors
  40. 40. Postman ( free for single users ) Templates
  41. 41. Postman ( free for single users ) Templates
  42. 42. Postman ( free for single users ) Templates
  43. 43. Integrated 43 Personalization Collaborative Intuitive Customization Agile Coding Environment 1 2 3 4 5
  44. 44. ColdBox API BaseHandler.cfc
  45. 45. Build Automation • Version Your Tests with Your Code Pipelines
  46. 46. THANK YOU

×