Tutorial 6: Using the CLI and the Hoverfly Cloud API
In this walkthrough you will use the Hoverfly Cloud command line interface, to start a service from the command line. You will then use the Hoverfly Cloud API to modify the behavior of the service.
Part 1. Prepare the environment
Part 2. Start a Service from the hcc CLI
hcc service start product --simulation-name product-sim
Usage: hcc [command] Available Commands: capture Commands for interacting with local capture proxy config Get/set CLI config properties help Help about any command reverse-proxy Commands for interacting with local reverse proxy proxying to Hoverfly Cloud scenario Commands for interacting with Hoverfly Cloud Scenarios service Commands for interacting with Hoverfly Cloud Services simulation Commands for interacting with Hoverfly Cloud Simulations version Get the version of Hoverfly Cloud CLI Flags: --api-token string API token from Hoverfly Cloud --domain string Domain name of Hoverfly Cloud -h, --help help for hcc --insecure Allow reverse proxy to private Hoverfly Cloud deployment without certs
Part 3. Use the Hoverfly Cloud API to retrieve information about a service
Part 4. Adding behavior to a running service
Part 5. Test the modified service
Part 6. Remove the service and simulation
Last updated

