tbuttier
(Thomas B)
March 28, 2018, 3:47pm
1
Hi
When I run tests through Newman, with the JON reporter, the json results file contains a stream object
“stream”: {
“type”: “Buffer”,
“data”: [
123,
34,
105,
100,
34,
58,
34,
…
And when I try to import this JSON file into Collection Runner, it says “Coult not import Test run”.
If I export the test run directly from Runner, there is no stream object in my file, so I can understand it.
Am I doing something wrong?
Thanks
HI @tbuttier - As of now you cannot import the JSON generated from Newman into the Collection runner.
This has been raised as a feature request on Github.
opened 06:12AM - 05 Mar 18 UTC
closed 09:44AM - 17 Nov 22 UTC
feature
collection-runner
product/runtime
While trying to import a result json after execution from command line using new… man, the post collection runner is always is returning the error - "The run you are trying to import already exists".
Result analysis of tests is pretty difficult, since the results cannot be imported back to collection runner.
## App Details:
Postman Windows App
OS - Windows 10
## Issue Report:
Steps to reproduce the problem.
1. Run any test from commandline using newman, generating a report in json format,
2. Import the result json back to postman collection runner using import test run feature.
Screen shot for the same is attached below:
![importresultjson](https://user-images.githubusercontent.com/25816031/36965603-2871126a-2080-11e8-92a5-e83d0ca744c1.png)
tbuttier
(Thomas B)
March 30, 2018, 6:04am
3
Hi @singhsivcan . Thanks for the reply, and I am looking forward the release with this feature included!