top of page
hand-businesswoman-touching-hand-artificial-intelligence-meaning-technology-connection-go-

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.


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

· 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


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.




134 views0 comments

コメント

5つ星のうち0と評価されています。
まだ評価がありません

評価を追加
bottom of page