If you are using Postman, then how you gathering your API code coverage?

If you are using Postman, then how you gathering your API code coverage?

I did some searched and found out that it is not possible to get API code coverage via Postman client or even by using Newman.

How you guys collect your API code coverage or test coverage if you are using postman/newman/.

This as already been asked here: Code coverage with Postman /Newman

Thank you Vdespa.

Sorry I didn’t specific my question clear.
The question is more about how people gathering API code coverage if they also use Postman.

If you already have unit tests that tested your APIs, then is creating tests in postman really needed?
Do you guys also have another set of testing to collect API coverage?

how people gathering API code coverage if they also use Postman.

they don’t!

As explained in the other question, my opinion is that code coverage does not make much sense in the world of API testing, regardless if you use Postman or not.

One idea would be to do API coverage testing in the sense that you have a specification and check if you have test cases for the entire specification. But that is another topic.

1 Like

Thanks Vdespa! This explained my question.