API Testing for Job Scrapers Using Postman

Supported Methods : GET,POST,PUT,DELETE

GET : Open new HTTP Request enter request URL as below and basic authentication admin/password then send and observe the result in the body.

https://numpyninja-joblistapi.herokuapp.com/Jobs


POST: Open new HTTP Request enter request URL as below and give all the paramaters and random values as below

https://numpyninja-joblistapi.herokuapp.com/Jobs

· Job Title : “abc”

· Job Company Name :”Numpy Ninja”

· Job Location: “ Home"

· Job Type: “ Contract”

· Job Posted time :” 44 minutes ago”

· Job Description : “Training ”

· Job Id : “5555”



· POST : Adding existing values should throw error. all parameters and values are required


· PUT :Open new HTTP Request enter request URL as below and basic authentication admin/password then send and observe the result in the body. Give few parameters and values

https://numpyninja-joblistapi.herokuapp.com/Jobs


PUT :Open new HTTP Request enter request URL as below and basic authentication admin/password then send and observe the result in the body. Give few parameters and invalid values

Not existing value : eg: Job id : “xrer” is not valid It throws not found.


· DELETE : Open new HTTP Request enter request URL as below and basic authentication admin/password then send and observe the result in the body. Give few parameters and existing values. value is deleted.

https://numpyninja-joblistapi.herokuapp.com/Jobs




87 views0 comments

Recent Posts

See All