Webservice Maven Framework
Pom.xml- io.cucumber, io.rest.assured,jackson,
reporting-maven cucumber reporting-damian
feature file-gherkin language
Step definition- Given- requestSpecification used (utility file)
-body from testData file-pojo concept
When- get resourceURL from API resources
Then-get response from json
Hooks- used to work before tags which mentioned in feature file
looging- used to read log
TestRunner- path of feature and step definition path, we may pick tag names to run specific tags
need to run thru maven command- mvn test verify to generate report
Pom.xml- io.cucumber, io.rest.assured,jackson,
reporting-maven cucumber reporting-damian
feature file-gherkin language
Step definition- Given- requestSpecification used (utility file)
-body from testData file-pojo concept
When- get resourceURL from API resources
Then-get response from json
Hooks- used to work before tags which mentioned in feature file
looging- used to read log
TestRunner- path of feature and step definition path, we may pick tag names to run specific tags
need to run thru maven command- mvn test verify to generate report