This is an old revision of the document!
Table of Contents
HoverFly
CA LISA
ServiceVirtualization tool. Like CA LISA: http://www.itko.com/solutions/service_virtualization.jsp
Hoverfly
Download http://hoverfly.readthedocs.io/en/latest/pages/introduction/downloadinstallation.html
DOcumentation: https://media.readthedocs.org/pdf/hoverfly/v0.10.2/hoverfly.pdf
Repository: https://github.com/SpectoLabs/hoverfly Releases: https://github.com/SpectoLabs/hoverfly/releases/
Tutorials: http://hoverfly.readthedocs.io/en/latest/pages/tutorials/basic/basic.html#
Starting and logging in
hoverctl.exe start hoverctl.exe login --username hfadmin --password hfpass
Enable proxy
To enable the proxy - you can proxy everything. You will just have to allow the traffic to the hoverfly running on port 8888, and to the frontend running on port 8500 or 4200.
Depending on the way, you started it- via a jar or via a “ng start”
Recording the traffic
Set the hoverfly into the “Capture mode”.
And recode the traffic, e.g. by navigating the REST api URLs manually.
Then export the strategy.json
hoverctl export simulation.json
Congratulation! You are now independent from the backend and may test the frontend - independently from backend.
By just importing the recorded actions
hoverctl import simulation.json