Where to find all the functions?

Hello!

Where can I find all the newman functions? for i.e .to.have, or to.be.equalOf etc. There seem to be a bunch but I cannot find a wiki with them. Is there a collection or something?

I am a beginner to Postman so would appreciate your help:)

Kind regards

1 Like

Hey @captain_hoy, I assume you’re talking about the test assertion syntax here, those are not newman functions.

pm.expect is a generic assertion function. Underlying this is the ChaiJS expect BDD library, you can refer to its documentation to get a better idea about the combination of chainable getters. We also have our own API reference that you can refer to for further clarifications.

Hope this helps, feel free to reach out in case this wasn’t your query or in case you have additional doubts.

1 Like