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
browser: add browser based test #506
Conversation
I move that and local to testing. The e2e tests I left in the root. It feels like testing is all the manual inspection tools should go. |
@mmatczuk this is super cool! Unfortunately, the script won't end for me. All browsers are long gone, forwarder does not have any open connections, yet the process lives on:
|
ef07d38
to
b613785
Compare
It turns its silently fails on exception and hangs. |
Nah it's still not good, I think I'd rewrite it in sync mode. |
4de3411
to
40ec6e6
Compare
@Choraden PTAL |
40ec6e6
to
7d558b2
Compare
This test allows to generate real load coming from a browser. At the moment it only supports FireFox but can be easily extended with other browsers.
7d558b2
to
dcba572
Compare
Foxnews and wsj time out waiting, however in the browser it looks ok. I don't know if this has something to do with forwarder or the testing tool itself. I don't see any disturbing logs in forwarder though. |
LGTM, good job @mmatczuk |
Maybe they should be "talkative" |
It did help me with wsj. Foxnews still times out. |
Add random clicking and typing after page is loaded for a minute. It is based on https://github.com/marmelab/gremlins.js on most pages it works beyond GDPR cookie div.
This Prometheus instance can work with Forwarder running natively. It listens to localhost:10000 for metrics.
dcba572
to
bcdc3ec
Compare
This test allows to generate real load coming from a browser. At the moment it only supports FireFox but can be easily extended with other browsers.