simplehar icon indicating copy to clipboard operation
simplehar copied to clipboard

Filter file based on string input and save back

Open shaunakv1 opened this issue 10 years ago • 5 comments

Really nice tool! I would be really cool if there's a way to filter and save back a har file.

shaunakv1 avatar Feb 06 '15 03:02 shaunakv1

Hi Shaunak! Which kind of filter are you thinking?

rafacesar avatar Feb 11 '15 13:02 rafacesar

Filters you have would do (although i couldn't get the search to work first time, but did eventually), but I am interested in functionality to save back Filtered HAR files.. Thanks for your reply!

shaunakv1 avatar Feb 11 '15 16:02 shaunakv1

I need to know which filter do you want to apply to save back. There is no filter today.

rafacesar avatar Feb 11 '15 20:02 rafacesar

Sorry @rafacesar , I had been doing quite a bit of looking and got confused. Please refer to this question of mine http://stackoverflow.com/questions/28358424/filter-and-save-back-har-files.

Ideally I am looking for filters/sort similar to what chrome's inspector lets your do, but with ability to save back the filtered HAR file.

Thanks for your patience.

shaunakv1 avatar Feb 16 '15 18:02 shaunakv1

No problems! Now I get it! The search idea alone is good, but i think that a Ctrl(Cmd)-F can solve this. The download idea is good too, but there is some problems:

  • It was not thought to work in that way, so i'll need to re-create a new har file from scratch.
  • If the new har file get compared with the original, you can get some strange differences because simplehar try to deal with some inconsistencies that some har files have.

Right now I don't have enough time to make this change, but if you really want to use simplehar to this and need this fast, I can help you if you want to make these changes.

rafacesar avatar Feb 16 '15 23:02 rafacesar