Skip to content
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

Is there a way to generate JSON HAR files as output? #64

Closed
sjhcockrell opened this issue Sep 11, 2013 · 2 comments
Closed

Is there a way to generate JSON HAR files as output? #64

sjhcockrell opened this issue Sep 11, 2013 · 2 comments
Labels

Comments

@sjhcockrell
Copy link
Contributor

I've been using the default phantom.js netsniff module to generate JSON HAR files for display in a HAR viewer.

Is there a way to do this currently with phantomas, or should this be a candidate for a new module?

See:

https://raw.github.com/ariya/phantomjs/master/examples/netsniff.js

@macbre
Copy link
Owner

macbre commented Sep 11, 2013

No, there's no support for generating HAR files in phantomas.

This can of course be implemented as a new module, however the question here is: why would need that in phantomas? :) phantomas is meant to be metrics collector, not a network snfffer.

@sjhcockrell
Copy link
Contributor Author

Fair enough.

The only logic being that formatted data in a HAR format could be useful in conjunction with the data generated here as a visual for analyzing out-of-order requests, etc.

Seems like it's a separate concern to the project, so that analysis can be done with a separate PhantomJS-based script.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants