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

Sugestions for additional / improved heuristics #6

Open
pes10k opened this issue Mar 24, 2018 · 2 comments
Open

Sugestions for additional / improved heuristics #6

pes10k opened this issue Mar 24, 2018 · 2 comments

Comments

@pes10k
Copy link

pes10k commented Mar 24, 2018

I'm using the tool to do record-replay browser sessions. Its great (thanks!)

A couple of ideas for suggestions for better heuristics for which request to return (that would at least be useful in my case, and maybe generally to users of the library):

  • Keep track of which responses have already been returned from the HAR, and either remove them from further consideration, or de-prioritize them in the heuristic scoring system
  • Keep track of the order that responses have been returned, and prioritize / favor responses that come as-soon after the last returned response as possible (since on replay, responses likely should be returned in the same order)
  • Add further debugging information, describing which response is being suggested, and for which reasons.

Are any of the above appealing? If so, I'd be happy to submit PR's for them. Just wanted to get a heads up in if they seem appealing before getting the code ready

@ProximaNova
Copy link

ProximaNova commented Jun 9, 2019

#6 (comment) - @snyderp How do I run this software? Explain it to me like I am 5 years old. See #8

Seriously, all readmes should explain things like their audience is a 5 year old, that way there is no room for error. Also I have localhost running with XAMPP and PHP.

@pes10k
Copy link
Author

pes10k commented Jun 10, 2019

@ProximaNova you might want to ask the software author. I'm not in a position to write a guide to someone else's software, but you might find google's catapult / record-replay systems to be a useful (though heavier) alternative.

https://github.com/catapult-project/catapult/tree/master/web_page_replay_go

good luck!

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

No branches or pull requests

2 participants