https://github.com/d0k1/jsflight
Tools to record and replay user's activity in a web application
https://github.com/d0k1/jsflight
java jmeter load-testing selenium
Last synced: about 1 year ago
JSON representation
Tools to record and replay user's activity in a web application
- Host: GitHub
- URL: https://github.com/d0k1/jsflight
- Owner: d0k1
- License: apache-2.0
- Created: 2015-11-10T16:03:25.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2018-06-18T14:58:50.000Z (about 8 years ago)
- Last Synced: 2025-03-25T13:39:46.078Z (about 1 year ago)
- Topics: java, jmeter, load-testing, selenium
- Language: Java
- Homepage:
- Size: 1.22 MB
- Stars: 20
- Watchers: 4
- Forks: 12
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# JSFlight
Tools to record user's activity and replay it later.
The project's main goal is to store major user events in a browser (mouse clicks, key presses) and them reproduce them using Selenium WebDriver.
Besides it can store HttpRequests on server-side and convert them to a JMeter Scenario to replay it later.
## Recording concepts
### Browser recording
* You should add some JS to a host page to record browsers events
* Injected code will add some event handlers (you can easily configure what events should be recorded and what are not)
* Event handlers store their data in browser's session store
* Data from browser's session store is to be sent to the server with some period of time (Default period is 5 seconds)
* `javax.servlet.http.HttpServlet` on server side decides what to do with data it received
### Server-Side recording
* There is base class to be used to build a custom `javax.servlet.Filter`
* The filter will record any http request to urls it has been mapped to
* Of course you can add some special app's internal events to the recording. For example to monitor a production environment (or to get more data to replay user load more accurate)
[](https://jitpack.io/#d0k1/jsflight)
[](https://codeship.com/projects/114774)
[](https://www.codacy.com/app/denis-kirpichenkov/jsflight)
[](https://codeclimate.com/github/d0k1/jsflight)
[](https://codeclimate.com/github/d0k1/jsflight)