-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Running 100000 iterations of a single POST call seems to break the reporter #935
Comments
|
Hmm, this is because the output report has too much of data. |
|
This is something anyone that's going to performance test an API is going to try... This should be supported out of the box (especially when we're not using this programatically... which is a requirement for the configuration you're suggesting). This should and must be supported out of the box. |
|
@jbnok, the current reporters are not designed for load testing scenarios, but I can see why it will be useful 👍 |
|
I wrote a reporter that basically just cuts out a bunch of stuff. It cut what was a 92.5 MB report (in the standard JSON reporter) down to 315 KB, while keeping what I consider the important data. This doesn't use a streamer, still JSON.stringify, but I haven't run into the Invalid String Length issue since switching to it. Hopefully this is useful to other people as well: https://www.npmjs.com/package/newman-reporter-json-light |
|
Was running into the same issue. I'll try your reporter out @Paramagnetic ! |
|
Same issue here... Would be useful to be able to filter out successful runs. |
|
@Paramagnetic Recently we also got this same issue, and considering there are more people experience the same, have you considered to create a pull request to submit your solution to postman repo? Thank you. |
|
This should be resolved as we add reported flags to trim request and response payloads. But I really like the light JSON reporter. Will recommend your reporter meanwhile. @Paramagnetic |
|
I have installed @Paramagnetic json-light-reporter but how am I supposed to use that? I placed it in newman/lib/reporters and trying: "newman run collection.json --globals globals.json -r newman-reporter-json-light" in the bash console. But "please install reporter using npm" information shows after Enter. Edit: Moreover, that doesn't solve the problem with collecting data by node process. I would be delighted if there will be an option to NOT store any data and just keep sending an infinite number of queries. |
Hello @shamasis, |
|
I use big-json to generate the summary.json instead of using JSON.stringify(). It works. The code looks like below. |
|
@
This is still an issue while running it in Azure Dev Ops. newman version 5.3.2 running only 2500 iterations. |
Version and environment information:
newman -v): 3.4.3_
Steps to reproduce the problem:
The text was updated successfully, but these errors were encountered: