Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    kunal1628
    @kunal1628
    when I try to open another cmd interface and check status - hoverfly is still running on 8500
    Am i missing anything here?
    John Davenport
    @JohnFDavenport
    Check that you haven’t got multiple copies of hoverfly running
    kunal1628
    @kunal1628
    Nope, I only have one instance of Hoverfly running. Again, restarted my machine, opened cmd and checked Hoverfly status, it's stuck on 'Admin interface is starting' again
    image.png
    John Davenport
    @JohnFDavenport
    Ok, then I’m not sure
    kunal1628
    @kunal1628
    what is the sequence of commands for changing port? start hoverfly as a webserver, change port and then import simulation?
    Ghost
    @ghost~608c9aa56da03739847b6a12
    anyone know how to add proxy to grpcurl requests? (need this so my requests hit hoverfly)
    5 replies
    ybeezy
    @ybeezy:matrix.org
    [m]
    Hi @tommysitu The remote instance of hoverfly runs Proxy in forward mode, Can I run it in Reverse mode like you would on a local machine ?
    2 replies
    Anirban Das
    @anirbandas18
    Hi All, I am using hoverfly-java version 0.14.0 on JDK 11/Windows 10 and could see that the HoverflyConfig class has no API (getter setter) corresponding to the specification of the option: -response-body-files-allow-origin in the hoverfly binary executable file. Is there any specific reason for its exclusion or can I expect it in some later versions of the native Java library available on Maven?
    3 replies
    Balachander Jayachandran
    @BalachanderJ
    Hi...Am running Hoverfly in simulate mode with a simulation template JSON file imported. I also do have a middleware defined...and i see that all requests defined in the simulation json file passes through middleware....Is it possible to capture the requests that are NOT defined in the simulation JSON in the middleware...I would like to construct the response in the middleware if the corresponding request is not part of the simulation file....plz help...
    3 replies
    eldaduzman
    @eldaduzman

    Hi guys!
    I'm trying to run hoverfly as https proxy and it seems (from the documentation at least) that I must specify the certificate with every request I send.
    Is there any chance that hoverfly can do key exchange? because this means that all servers under test would have to be modified to send a request with a cert attached (good luck with that :( )

    Thanks!

    Connor Beck
    @ConnorJBeck
    Hello! Quick question - will there be a new release of hoverfly-java soon? There's been a number of changes committed since December 2020, including one that fixes a breaking issue with assertThatNoDiffIsReported for me, but with no official release, getting those changes is a pain.
    1 reply
    Damian Jansen
    @dj_munky_twitter
    Hey all, is it possible to start hoverfly docker with a spec imported?
    Damian Jansen
    @dj_munky_twitter
    This message was deleted
    1 reply
    Damian Jansen
    @dj_munky_twitter
    Hey all, is it possible to json match on a wildcard, or provide multiple jsonpaths?
    eg. I want to json match { { "login": { "email": "anyemail", "password": "anypassword" } }
    1 reply
    frankvoellmann
    @frankvoellmann
    Hi everyone! New here, looking for help regarding hoverfly Golang. Namely github.com/SpectoLabs/hoverfly/core and github.com/SpectoLabs/hoverfly/hoverctl/configuration. When I do a 'go get github.com/SpectoLabs/hoverfly/hoverctl/configuration' for instance, I get 'fatal: repository 'https://github.com/daryl/zeus/' not found' for a package used by hoverfly. Any ideas/help would be useful. Thanks
    8 replies
    ronald6776
    @ronald6776
    Hi All, is it possible to run hoverfly as windows services? Just like Jenkins. When the user logged off from the windows server the hoverctl or hoverfly tool running in command prompt is closed. Is there any solution available? Did anyone face this?
    balavivek143
    @balavivek143

    Hi Team. We are using hoverfly for our virtualization. And facing issue. Not able to do capture mode for destination server requiring 2 way ssl authentication. The destination server is not recognizing the ssl key

    Followed steps given here https://docs.hoverfly.io/en/latest/pages/tutorials/advanced/configuressl/configuressl.html.
    1) We have pfx file, extracted the cert and key from pfx and used in capture mode.
    2) hoverctl start --pac-file corporateProxy.pac --client-authentication-client-cert certFrompfx.pem --client-authentication-client-key UnencryptedRSAkeyFromPfx.pem --client-authentication-destination https://distination.server --disable-tls

    Any suggestions ?

    1 reply
    hazedav
    @hazedav

    Hey there, I have a capture/middleware use case where I want to be able to manipulate (prune) the response data. I have the middleware successfully working in modify mode, but per the documentation this does not save requests and responses (i.e. capture). And capture mode doesn't allow the middleware to affect responses (only requests). Any advice as to how best to get the best of both worlds here (middleware response data and capture)?

    Thanks in advance,
    David

    Khayyam Saleem
    @khayyamsaleem
    Hi! Are there any patterns that people have adopted for customizing the matching / scoring system? for example, being able to "weigh" the match of certain fields as higher than other fields?
    Toni Isidoro
    @toniis
    I asked for a grpc trial license please can anyone send me a trial license?
    Does hoverfly cloud support grpc too?
    John Davenport
    @JohnFDavenport
    Hi @toniis I’ve sent you an email. Hoverfly Cloud doesn’t currently support gRPC.
    sozerdi
    @sozerdi
    Hi All. It is stated that Simulation JSON can be shared among Hoverfly users or instances (https://docs.hoverfly.io/en/latest/pages/keyconcepts/simulations/simulations.html). I couldn't find how to do it. Any suggestions?
    4 replies
    James Washburn
    @edelbitter_twitter
    Hello everybody . I'm using hoverfly-java version 0.14.0 HoverflyDsl , and I would like to create a matcher for multiple query param values for the same query param , as in for example : "?status=FOO&status=BAR&status=BAZ" . If I try adding them all with multiple .queryParam("status", "FOO"), etc, the simulation matcher only has one. Any way around it? Thanks
    1 reply
    Colt Stumpf
    @colts45s
    Working with hoverfly v1.3.0 given the following scenario. I recorded 30k unique requests in proxy mode and exported the json. I then start a webserver instance of hoverfly and load the json. 2 problems I have run into. 1. The load time is nearly as long as the record time(1h47m/1h26m) and during this time cpu and ram are at maybe 10%. Problem 2. After load is complete the cache is empty. I was under the impression there was eager caching at load and not lazy loading. after i replay the requests then they are in cache.
    Anirban Das
    @anirbandas18
    Hi, How do I match requests in hoverfly using request body only? I have a use case where the path is same for all request-response pairs but differ in request body. I want to match based on the request body content. Is this possible? I didn't find anything as such described in the official documentation.
    Jane Smith
    @sportykoala77_gitlab
    Hi all, I am trying to get my head around the usage of the Diff Mode in relation to what I would like to do. As per https://docs.hoverfly.io/en/latest/pages/keyconcepts/modes/diff.html, the main idea behind the DiffMode is the ability to store both the simulation and real API's response. Is there a way to use the DiffMode to modify the current simulation if the response has changed? I am trying to figure out how this can work and how this can be integrated in the CI/CD. Basically, I would like to use it as a sync approach, so that the two models are never out of sync and there are no unexpected failures.
    2 replies
    MiKey
    @milehimikey
    Hi all, I am researching testing solutions for distributed system architectures...hoverfly seems like the perfect tool. Is it still under active development as open source?
    2 replies
    Jane Smith
    @sportykoala77_gitlab
    Hi all, I have recently started “playing with” Hoverfly and I have a fairly simple use case: my backend calls a number of 3rd party APIs (one for this specific example) and I just would like to use the capture mode to generate my simulation. My understanding is that I can run my backend locally, hit each endpoints via Postman, which in turn will be proxing to Hoverfly (running on my local machine on port 8500). Is that a correct assumption? I went through the Hoverfly tutorial and also attempted at replicating the same approach I also found here: https://medium.com/@aribooluwatoba/hi-everyone-this-would-be-my-first-post-on-medium-and-im-so-excited-to-help-you-with-simplifying-335fdff68afc However, the exported simulation is consistently blank. Is the approach incorrect? Is there anything clearly wrong that I am doing? Thank you!
    9 replies
    MiKey
    @milehimikey
    Is there a non-deprecated helm chart available for hoverfly? The links in the docs go to deprecated charts.
    2 replies
    yamani mahfooz
    @ybinmahfooz:matrix.org
    [m]
    Hi I have an issue similar to @anirbandas18 How do I match requests in the hoverfly using request body only? I have a use case where the path is the same for all request-response pairs but differ in the request body. I want to match based on the request body content. Is this possible? I didn't find anything as such described in the official documentation. It would be great if this gets some traction. Thanks in advance @tommysitu
    2 replies
    Joffrey Mathieu
    @joffrey.mathieu_gitlab
    Hi, i am wondering how to access to REST API described here https://docs.hoverfly.io/en/latest/pages/reference/api/api.html?highlight=api#put-api-v2-simulation through hoverfly cloud?
    I tried https://myservice-random.hoverfly.iowith X-Hoverfly-Authorization header unsuccessfully :/
    3 replies
    chirag desai
    @chiragdesai2005:matrix.org
    [m]
    Hi Guys, I am new to this forum and very helpful to resolve my current technical issue. I am using hoverctl | master-2878 | | hoverfly | v0.17.2 versions and trying to call HTTPS url and getting Unsupported or unrecognized SSL message; nested exception is javax.net.ssl.SSLException: Unsupported or unrecognized SSL message exception.
    client is a springboot java based application which calls third party internal URL.
    If I add hoverfly proxy settings then it fails. without proxy, direct HTTPS call works fine from the springboot application
    Any idea what needs to be done here?
    1 reply
    phunguyen
    @NHP95
    I'm trying to setup Hoverfly on MacOS but it keeps running into cert errors
    image.png
    Tried disable-tls already but still run into this issue, any ideas on how to fix this? I want to use Hoverfly as a proxy to capture traffic
    phunguyen
    @NHP95

    Tried disable-tls already but still run into this issue, any ideas on how to fix this? I want to use Hoverfly as a proxy to capture traffic

    NVM, I figured out a way

    phunguyen
    @NHP95
    hello guys, I'm trying capturing traffic from an ios device. However, I couldn't get Hoverfly to work, I tried installed ssl cert as well but still, nothing happened.
    Any ideas?
    Pilou-Pilou
    @Pilou-Pilou

    Hello i need to match this request http://hoverfly.io?customQuery=one&customQuery=two
    in my json in query i have this section :
    "query": { "customQuery": [ { "matcher": "exact", "value": [ "one", "two" ] } ] }

    it doesn't match the request I test with also :
    "query": { "customQuery": [ { "matcher": "exact", "value": "one" }, { "matcher": "exact", "value": "two" } ] }
    it doesn't match
    any solution to match multiple queryParam with the same key ?

    satyageddada
    @satyageddada
    Hi, Hoverfly mock tests used to run good before a month. Not sure what happened tests works without proxy settings. If i add proxy settings 8888, 8500 its not directing to application. The page says loading data:, nothing happens. The hoverfly is hosted in azure container.
    Could someone help me out with this.
    No changes are made to tests or either to environment before and now.
    1 reply
    satyageddada
    @satyageddada
    Could some one help me with this
    application loads without proxy settings not with proxy hosted on Hoverfly azure container.