api testing heuristics for developers

22
API Testing Heuristics for Developers Linda Roy @LindaSaraRoy

Upload: others

Post on 03-Jul-2022

33 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: API Testing Heuristics for Developers

API Testing Heuristics for

Developers Linda Roy @LindaSaraRoy

Page 2: API Testing Heuristics for Developers

●  WHY I introduced API testing heuristics

●  WHAT were the API heuristics

●  Takeaways

Agenda

Page 3: API Testing Heuristics for Developers

@LindaSaraRoy http://yipa.org/training/online/on-demand/telling-your-impact-story/

Page 4: API Testing Heuristics for Developers

Oracles

Heuristics

Mnemonics @LindaSaraRoy

Page 5: API Testing Heuristics for Developers
Page 6: API Testing Heuristics for Developers

API Testing Heuristics

VADER : Verbs

Authorisation/Authentication

Data

Errors

Responsiveness

http://qa-matters.com/2016/07/30/vader-a-rest-api-test-heuristic/

@LindaSaraRoy

Page 7: API Testing Heuristics for Developers

Verbs A

D E R

@LindaSaraRoy https://www.tes.com/lessons/olVgSJ5UZHSzhA/repaso-go-go-verbs

Page 8: API Testing Heuristics for Developers

GET

@LindaSaraRoy

Page 9: API Testing Heuristics for Developers

POST

@LindaSaraRoy

Page 10: API Testing Heuristics for Developers

DELETE

@LindaSaraRoy

Page 11: API Testing Heuristics for Developers

V Authorisation D E R

@LindaSaraRoy http://www.quickmeme.com/meme/3tt20a

Page 12: API Testing Heuristics for Developers

@LindaSaraRoy

Page 13: API Testing Heuristics for Developers

@LindaSaraRoy

Page 14: API Testing Heuristics for Developers

V A Data E R

https://www.linkedin.com/pulse/meares-digital-analytics-file-featuring-stories-voice-chris-meares @LindaSaraRo

y

Page 15: API Testing Heuristics for Developers

@LindaSaraRoy

Page 16: API Testing Heuristics for Developers

V A D Errors R

https://www.flickr.com/photos/girliemac/sets/72157628409467125 @LindaSaraRo

y

Page 17: API Testing Heuristics for Developers

@LindaSaraRoy

Page 18: API Testing Heuristics for Developers

V A D E Responsiveness

@LindaSaraRoy https://www.inkcinct.com.au/web-pages/australian/social-general/2011-social-general.htm

Page 19: API Testing Heuristics for Developers

@LindaSaraRoy

Page 20: API Testing Heuristics for Developers

Did It Work?

●  Teammates understood quality is team’s responsibility

●  Mnemonics are a fun way to trigger test ideas

●  Making it visible to everyone at all times

@LindaSaraRoy

Page 21: API Testing Heuristics for Developers

Takeaways

●  Good to get devs to test

●  Mnemonics are good coaching tools

●  Don’t forget API testing has heuristics

●  Don’t go to the dark side!

@LindaSaraRoy

Page 22: API Testing Heuristics for Developers

Thank you!

●  API and Microservices testing learning pathway - Katrina The Tester ●  ICE OVER MAD ●  API testing playgrounds

○  Build.Kiva

For more heuristics:

@LindaSaraRoy