I am using nwaman npm library to run the collection.
I am able to get the reports generated in newman folder in my working directory. I wan to provide a custom path and name for the report in my Typescript code.
I am using nwaman npm library to run the collection.
I am able to get the reports generated in newman folder in my working directory. I wan to provide a custom path and name for the report in my Typescript code.
Got the solution.
reporter = {
'json': {
'export': `path/file.json`
},
'junit': {
'export': `path/file.xml`
}
}