Is there any way that after run the collection with Powershell/Newman and parse(take just that part) the error part and save at another file?
I am running my test collection in azure pipeline, for that I used newman scripts. But now I need to extract errors and create API calls for each error line. For the first step, I was planning to extract every error end of the automation test. After extracting that (maybe in another file), I plan to read each error and call API after each line.
newman run "collection_name.postman_collection.json" --environment "DEV.postman_environment.json" => probably I need to add something for extract just errors