User Tools

Site Tools


devops:mock:hoverfly

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
devops:mock:hoverfly [2023/06/23 06:47] skipidardevops:mock:hoverfly [2023/11/01 07:15] (current) – ↷ Page moved from camunda:devops:mock:hoverfly to devops:mock:hoverfly skipidar
Line 5: Line 5:
 Like CA LISA: http://www.itko.com/solutions/service_virtualization.jsp Like CA LISA: http://www.itko.com/solutions/service_virtualization.jsp
  
 +Microservices and "HoverFly"
 +https://www.linkedin.com/pulse/hoverfly-virtualizing-microservices-testing-eldad-uzman
  
 === Hoverfly === === Hoverfly ===
Line 15: Line 17:
  
  
-DOcumentation: https://media.readthedocs.org/pdf/hoverfly/v0.10.2/hoverfly.pdf+Documentation: https://media.readthedocs.org/pdf/hoverfly/v0.10.2/hoverfly.pdf
  
 Repository: https://github.com/SpectoLabs/hoverfly Repository: https://github.com/SpectoLabs/hoverfly
Line 23: Line 25:
  
  
-=== Starting and logging in ===+=== Starting hoverfly ===
  
-<code+<sxh js
-hoverctl.exe start + 
-hoverctl.exe login --username hfadmin --password hfpass +# start 
-</code>+hoverfly \ 
 + -ap 8006 \ 
 + -pp 8005 \ 
 + -username "admin"
 + -password "pass"
 + -listen-on-host 0.0.0.0 \ 
 + -logs-file "/tmp/hoverfly.log" 
 + 
 +start on windows 
 +.\hoverfly ` 
 + -ap 8888 ` 
 + -pp 8005 ` 
 + -username "admin"
 + -password "pass"
 + -listen-on-host 0.0.0.0 ` 
 + -logs-file "/tmp/hoverfly.log" 
 +</sxh>
  
 === Enable proxy === === Enable proxy ===
Line 47: Line 65:
 {{https://lh3.googleusercontent.com/-8dnh5dt_ang/Ws9S5EzW08I/AAAAAAAAAH4/z_vzOIsdJOEGUlgJ5WnHgK0nUzb2fJEnwCHMYCw/s0/2018-04-12_14-36-52.png}} {{https://lh3.googleusercontent.com/-8dnh5dt_ang/Ws9S5EzW08I/AAAAAAAAAH4/z_vzOIsdJOEGUlgJ5WnHgK0nUzb2fJEnwCHMYCw/s0/2018-04-12_14-36-52.png}}
  
-And recode the traffic, e.g. by navigating the REST api URLs manually.+And record the traffic, e.g. by navigating the REST api URLs manually.
  
 Then export the strategy.json Then export the strategy.json
 +
 <code> <code>
 hoverctl export simulation.json hoverctl export simulation.json
Line 161: Line 180:
 http    127.0.0.1       8005 http    127.0.0.1       8005
 </sxh> </sxh>
 +
 +
 +*note* :
 +
 +"proxy_dns" is key here, otherwise the certificates of "hoverfly" wont be accepted.
  
  
devops/mock/hoverfly.1687502855.txt.gz · Last modified: by skipidar