The thread contains this informationā¦just scroll up
Looks awesome.
This should just replace the default HTML template from Newman ha
Ha - To be fair, itās basically the same code with a few changes to it. Itās not really a rewrite but it feels like I have some form of control over the changes, I can also add what ever I like in there
Iāve tried looking around the different repos to see what the main things that people would like to see in the report.
Iām going to have a go at the console logs next, I semi had something working but I wasnāt really happy with it.
Any additional features that you feel is needed would be some welcome feedback
Hello @danny-dainton,
Good Morningā¦, no files here, i can find images only ā¦ No code related docās ā¦
Kiran,
This is the reporter link here that @danny-dainton posted which I am not sure why you werenāt able to look up: https://www.npmjs.com/package/newman-reporter-htmlextra. We have made the newman report generation system pluggable so people can build their own view. It is not the responsibility of the plug-in creator to customize something exactly according to your wishes.
@danny-dainton Thanks for posting! We are looking into improving the reporting system in Postman comprehensively. Seeing plug-ins come up by the community helps a lot.
Hi,
Copy to Clipboard, was not copying the whole response ā¦its like limited characters only
Ok, I would obviously need more information to have a look in to that. I donāt really know where to go with its like limited characters only
There is a newer version than that one, out now, where Iāve changed some things on the syntax highlighting, Copying JSON seems to be ok but I still need to look at the XML responsesā¦those are always a bit hit and miss.
As a decent workaround, you could always just manually Copy and Paste the text in front of you
Iāve hopefully fixed this in the 1.2.6 version.
Hi dannydainton,
Good Morningā¦
I"m trying to do report changes like iteration on Top of Request in Requests Tabā¦
Here Im sending sample templateā¦Please help on this like could share steps of how to build the report.
Regards,
Kiran
I donāt know what youāve even tried, to even begin helping you.
It looks like youāve just dropped some html from somewhere else, on top of the default style.
I would just create a new template and concentrate on figuring out what you want from that tab effect. Then look at merging the 2 or better, create a new templete for you to use, in your context.
Unless itās an actual bug, I canāt really help as the templates are the users preference.
what Iām asking, I need report template like Iterarions menu on Top of the Request Tab Page
Have you tried creating a new template?
This is not something that Iām going to spend time on, creating reports to suit your own needs, is solely the responsibility of the user.
Postman has designed the reporters to enable users to create thier own reports. Itās impossible for me to know exactly what everone wants to display on the report and then create a generic template to capture all of that information. The report would be a mess
The default template is there, to just create an initial output from the tool. Its the same for all the HTML reporters, the next step is for users, like yourself, to create something different/separate that works for you.
Unless itās an absolutely fundamental flaw in the code and the functionality causes the report to render something I didnāt forseeā¦Iām not updating the report.
I will, in time, create additional templates to possibly include things like a Tabbed iteration version but that time is not now and not close enough for me to place a time against it.
I didnāt think that I would have anything created by now but following some of the awesome work mentioned earlier in this thread, Iāve added a āworkableā iteration menu on the Requests tab.
Havenāt had a great deal of time with this so I have no doubt that there might be issues but itās in a usable state for now. Iām sure there is an issue if all the requests are in a single folder and you select more than 1 iterationā¦Iāll try and fix that
hi,
Please help me to resolve this
when I run the collection using,
ānewman run path_to_collection.json -d variable_value.csv -r html,cliā
it is print only 1st output in html report.
Would you like to see reports like the one above?
The HTML reporter that creates the report mentioned in the thread above, is htmlextra
, itās different from the official Postman one that you have mentioned in your command.
Once downloaded, you can use the reporter like this:
newman run path_to_collection.json -d variable_value.csv -r htmlextra,cli
@danny-dainton
how can I use console log option in this
can i log my variable value and response body
if yes than Howā¦please describe me
What are you seeing when you run the report now?
By default, you will see each of the requests and their response bodies, as well as all the other information about the request.
The console logs, if you add them to a Pre-request Script
or Tests
tab, will show on the report under the Console Logs
tab. This is the first iteration of this and I will hopefully be adding those into the requests at some point.