Documente Academic
Documente Profesional
Documente Cultură
Automation tools
Edwin Taquichiri Montao
Agenda
API Testing
API Test Cases
Approach of API Testing
API Testing Challenges
Automation Tools
Best Practices of API Testing
Automation Tools
value analysis and error guessing and write test cases for the API
Input Parameters for the API need to be planned and defined
appropriately.
Execute the test cases and compare expected and actual results.
API Testing
Performed by developers
Performed by testers
properly
Parameters selection should be explicitly mentioned in the test
case itself
Call sequencing should be performed and well planned
Prioritize API function calls so that it will be easy for testers to
test
Automation Tools
SOAP
SOAPUI (java) www.soapui.org
php SOAP extension (php) http://php.net/manual/es/book.soap.php
REST
SOAPUI
curl
chrome extensions (Advanced REST client, postman)
SOAPUI
10
11
12
SOAPUI (Suite)
13
CURL
A command line tool for getting or sending files using URL syntax.
14
CURL - Example
http://developer.espn.com/docs/athletes#parameters
curl -k
"http://api.espn.com/v1/sports/basketball/nba/teams/24?api
key=zzzuy4exm2tmvgnb5j3df4xz" | python -mjson.tool
15
CURL - Example
16
Chrome Extensions
17
Chrome Extensions
18
Public APIs
http://www.programmableweb.com/apis/directory
19
Q&A
20
21