Deprecated: Function create_function() is deprecated in /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php on line 258

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372

Warning: Cannot modify header information - headers already sent by (output started at /home/qualit96/public_html/wp-content/plugins/revslider/includes/framework/functions-wordpress.class.php:258) in /home/qualit96/public_html/wp-includes/rest-api/class-wp-rest-server.php on line 1372
{"id":14284,"date":"2018-08-02T21:24:40","date_gmt":"2018-08-02T16:24:40","guid":{"rendered":"http:\/\/quality-spectrum.com\/?p=14284"},"modified":"2018-08-02T21:24:40","modified_gmt":"2018-08-02T16:24:40","slug":"learning-api-automation","status":"publish","type":"post","link":"http:\/\/quality-spectrum.com\/learning-api-automation\/","title":{"rendered":"Learning API automation"},"content":{"rendered":"

How to learn API automation?<\/p>\n

I’d follow the following steps:<\/p>\n

1)<\/p>\n

Don’t start with instaling an API automation tool<\/p>\n

2)<\/p>\n

Do NOT START with installing an API automation tool, learn what are API’s first then think about tools.<\/p>\n

3)<\/p>\n

Understanding how APIs \/ the HTTP request \/ response works. Lots of tutorials out there.<\/p>\n

A video covering the basics linked in the comments.<\/p>\n

4)<\/p>\n

Test some sample APIs with POSTMAN.<\/p>\n

That would give you an idea of how API calls are constructed and some common responses<\/p>\n

You can try using this website as a sample:
\nhttps:\/\/jsonplaceholder.typicode.com\/<\/p>\n

5)<\/p>\n

Look into learning RestAssured.<\/p>\n

There are a bunch of courses out there on it. It can work in parallel with Selenium.<\/p>\n

All you need to do is just add the Maven dependency –<\/p>\n

P.S.
\nI’m using RestAssured with spring Boots!<\/p>\n

#QsDaily #ApiAutomation #Automation #API<\/p>\n<\/div>