Hoverfly commandsΒΆ

This page contains the output of:

hoverfly --help

The command’s help content has been placed here for convenience.

Usage of hoverfly:
        add new user '-add -username hfadmin -password hfpass'
        supply '-admin false' to make this non admin user (defaults to 'true')  (default true)
    -ap string
        admin port - run admin interface on another port (i.e. '-ap 1234' to run admin UI on port 1234)
        enable authentication, currently it is disabled by default
        start Hoverfly in capture mode - transparently intercepts and saves requests/response
    -cert string
        CA certificate used to sign MITM certificates
    -cert-name string
        cert name (default "hoverfly.proxy")
    -cert-org string
        organisation name for new cert (default "Hoverfly Authority")
    -db string
        Persistance storage to use - 'boltdb' or 'memory' which will not write anything to disk (default "memory")
    -db-path string
        database location - supply it to provide specific database location (will be created there if it doesn't exist)
    -dest value
        specify which hosts to process (i.e. '-dest fooservice.org -dest barservice.org -dest catservice.org') - other hosts will be ignored will passthrough'
    -destination string
        destination URI to catch (default ".")
        Enable CORS headers to allow frontend development
        Disable the cache that sits infront of matching
        generate CA certificate and private key for MITM
        allow only secure secure requests to be proxied by hoverfly
    -httptest.serve string
        if non-empty, httptest.NewServer serves on this address and blocks
    -import value
        import from file or from URL (i.e. '-import my_service.json' or '-import http://mypage.com/service_x.json'
    -journal-size int
        Set the size of request/response journal (default "1000") (default 1000)
    -key string
        private key of the CA used to sign MITM certificates
    -logs string
        Specify format for logs, options are "plaintext" and "json" (default "plaintext") (default "plaintext")
    -logs-size int
        Set the amount of logs to be stored in memory (default "1000") (default 1000)
        supply -metrics flag to enable metrics logging to stdout
    -middleware string
        should proxy use middleware
        start Hoverfly in modify mode - applies middleware (required) to both outgoing and incomming HTTP traffic
    -password string
        password for new user
    -password-hash string
        password hash for new user instead of password
        use plain http tunneling to host with non-443 port - defaults to false
    -pp string
        proxy port - run proxy on another port (i.e. '-pp 9999' to run proxy on port 9999)
    -proxy-auth Proxy-Authorization
        Switch the Proxy-Authorization header from proxy-auth Proxy-Authorization to header-auth `X-HOVERFLY-AUTHORIZATION`. Switching to header-auth will auto enable -https-only (default "proxy-auth")
        start Hoverfly in synthesize mode (middleware is required)
        turn on/off tls verification for outgoing requests (will not try to verify certificates) - defaults to true (default true)
    -upstream-proxy string
        specify an upstream proxy for hoverfly to route traffic through
    -username string
        username for new user
    -v    should every proxy request be logged to stdout
        get the version of hoverfly
        start Hoverfly in webserver mode (simulate mode)