REST API Testing Made Simple : REST Assured + Java + Cucumber/ BDD + Maven

preview_player
Показать описание
1) Most simple REST API testing using Cucumber
2) Uses REST Assured: JayWay open source libraries
3) Used Java, Maven
4) Use it to raise HTTP request GET/ POST/ PUT/ DELETE
5) Use it to parse HTTP response
6) JSON parsing etc

Source code available at:

@imademethink
Рекомендации по теме
Комментарии
Автор

Thank you.. got some idea on API testing with bdd. Could you please upload a video on 1) email validation - check if new email has arrived using API testing. 2) navigated to the correct page when a client requests a url..(like we are clicking a link from webpage, but then we have to translate this action to API because we don't use ui in api testing

smanap
Автор

I dont see any code in step defination or library

mansidalal
Автор

hi think, Nice explanation could you please post this in github so we can download execute in my machine.

sivakrishna
Автор

I am trying to POST (a JSON file) via REST assured and I have tried two different ways (please see the 3 attachments) and none of them seems to work. Please see what or where I am missing something (also attaching my POM as that is required for the second method).
I can send you my request and json file/pom if there is an email address you have. But I don't know where to send it to? Thanks!

kashifshehzad