Newman implimentation with pre-request-script and tests

Your question may already have an answer on the community forum. Please search for related topics, and then read through the guidelines before creating a new topic.

Here’s an outline with best practices for making your inquiry.

My question:
I am new in postman.I am trying to implement newman with postman.
my question is, can I write pre-request-script and tests script in newman to check any conditon?

Details (like screenshots):

How I found the problem:

I’ve already tried:

Hi @navigation-administ6

Newman runs Postman collections in the command line.

So the pre-req and test scripts would be written in Postman.
Then you would use Newman to run that collection via the command line.