-
Notifications
You must be signed in to change notification settings - Fork 86
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Newman HTML report error with pm.sendRequest #180
Comments
@zodikadem This is a known issue, as reporters do not support pm.sendRequest just yet. We'll be taking a look at including this in the weeks to come. In the meantime, this issue can be left open for tracking. Thanks for reporting this! 😄 |
@kunagpal, |
@kunagpal, |
@zodikadem Unfortunately, I can't offer an E.T.A for this at the moment. I'll update this thread when a fix is being worked on. 😞 |
@kunagpal, thank you for the response. I understand. |
Hello, unfortunately this bug continue, is there are some date to fix this problem? |
@kunagpal Is there any workaround for this bug? Or ETA when it will be fixed ? |
@kunagpal Any update yet? :) |
@kunagpal Any update yet? |
@kunagpal, it is been more than 6 months since I reported this issue. Any plans on fixing it ? |
+1 :D |
@kunagpal Any update yet? |
Any update on this? |
+1 for this |
+1 |
We just moved the reporter out of newman. PR welcome on this https://github.com/postmanlabs/newman-reporter-html We are also trying to schedule it in the task list. |
Hi, Please note that this is not HTML reporter issue. This is also the case e.g. for junit reporter (tested on 4.10). Here is what I get in junit report:
Because of this empty testsuite So I would consider this as a high priority item on reporters. P.S. Should we close #1671 and #1631 as duplicates of this one? |
+1 |
@codenirvana @kunagpal - this issue is manifesting in various forms in all reporters. Let’s consolidate them in one issue, close the rest and schedule a fix. |
I still hava same problem about sendRequest() & HTML-reporter |
I am still facing this issue. |
+1 |
I ran into this issue today as well. Hoping this gets a resolution. Also, in anyone else facing this challenge has found an alternative Reporting solution that is free, please let me know. This is very frustrating. |
Can I work on this @zodikadem ?? I would love to fix this as a GSoC Participant |
Sure @Shivansh2407 it's yours ! |
Hey @shamasis / @codenirvana Are we going to tackle this issue with I'm crossing the HTML Reporter streams here but here a basic output from htmlextra, which I'm guessing would be the same for this one: The main request is a |
@codenirvana Could we transfer this issue to the Newman repo? |
Any update about this? |
Hi guys! This issue was opened more than 3 years ago, is there any updates about the fix? |
Hello, Any fixes or alternative workarounds for this issue please?! |
I am actually seeing the main request twice instead of pre-request/main request. How many more years until this is resolved? |
Changes to be committed: newman_run.bat Note: There are existing issues with newman not able to report test results/runs correctly if there is a pm.SendRequest() call in the collection scripts. postmanlabs/newman-reporter-html#180 (comment)
@shamasis @shubhbhargav @codenirvana - Any plans to fix this reporter issue? This is blocking us to consume the stats present in the report Below ticket is also related |
Hey, is there any update on this? This bug is affecting newman outputs very badly! |
Is there any update on this issue? |
Postman for Windows
Version 5.3.2
Win 7 / x64
Newman 3.8.3
// Read if AMT has the posted values
const randomDataRequest = {
url: 'http://{{domain}}/rh/amts/' + jsonData.id,
method: 'GET'
};
pm.sendRequest(randomDataRequest, function(err, res) {
if (err) {
console.log(err);
}
pm.test('Verify that POST values = GET values', function() {
pm.expect(res).to.have.property('code', 200);
pm.expect(res.json()).to.deep.equal(jsonData);
});
});
// Read if AMT has the posted values
const randomDataRequest = {
url: 'http://{{domain}}/rh/amts/' + jsonData.id,
method: 'GET'
};
pm.sendRequest(randomDataRequest, function(err, res) {
if (err) {
console.log(err);
}
pm.test('Verify that POST values = GET values', function() {
pm.expect(res).to.have.property('code', 200);
pm.expect(res.json()).to.deep.equal(jsonData);
});
});
newman-report-issue.docx
The text was updated successfully, but these errors were encountered: