User Tools

Site Tools


devops:mock:hoverfly

This is an old revision of the document!


HoverFly

CA LISA

ServiceVirtualization tool. Like CA LISA: http://www.itko.com/solutions/service_virtualization.jsp

Hoverfly
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

You can see the captured datasets under the GUI

devops/mock/hoverfly.1651228765.txt.gz · Last modified: by skipidar