Hello,
I have a use case, I hope you can help me here.
We are using karate framework for API testing. As this is built on top of Cucumber, it requires creating feature files. Everything was working well.
Now, we had a requirement where we need to run the postman collections as it is. Karate supports generating the feature files on the basis of collection provided, but it skips the tests and pre-request scripts.
We are thinking to revise our approach here,
Requirements are.
- need to run postman collection.
- all the tests and pre-requests script should run and if any assertion fails, it should report it back.
- the reporting should be more detailed oriented.
I have come across newman and seems like a good fit, but can we generate cucumber/testng/junit type of reports with it ?
Can we use java based solution for this ? Installing the newman package and running it in using Runtime library, is this a good practice to have in project ?
As we are taking the requirement 1) as the topmost priority and this is directly connected with the postman, what alternates can we suggest for this requirement ?