https://pact.io logo
Join Slack
Powered by
# pactflow
  • s

    Srikanth Vemuri

    05/18/2023, 12:23 PM
    Hi, I am trying to use
    --filter-state
    to allow 5 out of 6 interactions in a contract to be verified. When I run the contract verification, I see only required 5 interactions are running, but he PactFlow website, shows all the 6 interactions with green check mark. I expect the 6th interaction to be untouched since the verification is not ran against it. Can someone explain this behavior? Thanks. cc: @Adam Cox
  • t

    Timothy Jones

    05/18/2023, 1:17 PM
    Not a pactflow person, but I don’t think you can publish partial verification. I believe filter state is only for debugging
  • t

    Timothy Jones

    05/18/2023, 1:17 PM
    If you’re using filter state you should not be publishing
  • s

    Srikanth Vemuri

    05/19/2023, 12:33 PM
    On this topic: https://pact-foundation.slack.com/archives/CLS16AVEE/p1684412631122329 We have a contract that has multiple interactions (say 2 sets of interactions) and these needs to run on some dependent pre-conditions. We set pre-conditions for set 1 and run those interactions using
    --filter-state
    for set 1 and the same thing for set 2. Why does the pactflow makes all interactions green check mark, if I run only set 1 interactions? Is that by design or a bug in pactflow? @Timothy Jones: Thanks for your response, I don’t see any relation mentioned anywhere in docs on
    --filter-state
    and
    publish
    . We should be able to publish partial interaction in a contract.
    m
    t
    a
    • 4
    • 16
  • s

    Sergio Riveros

    05/19/2023, 3:56 PM
    Hi everyone, is there any docs or examples in JS/TS I can check about the integration of PACT with Swagger, thanks in advance!
    m
    • 2
    • 1
  • r

    Rob Turner

    05/22/2023, 3:57 PM
    Hello, was wondering if someone can help me out. I cloned the consumer and provider repos for the bi-directional testing examples. They both use a
    make
    file that references
    pactfoundation/pact-cli
    . But this does not exist in the repo so it fails. can't see any sign of this folder anyway. Anyone know what the deal is?
    y
    • 2
    • 161
  • i

    Ivan Mikhalka

    05/23/2023, 11:11 AM
    Hi, how ongoing changes in Pactflow free plan (1 July) will affect admins? Both users and admins going to have same access level?
    👀 1
    g
    y
    c
    • 4
    • 6
  • l

    Lori Maurais

    05/23/2023, 4:21 PM
    Hi, I’m just getting started on a pactflow poc. I have a simple contract (messaging) published on the consumer side (java), but when I try to run the provider test (node) I am unable to download that contract from the broker. Any help would be appreciated. Thanks! Pasting log in a thread
    m
    s
    • 3
    • 19
  • j

    Jonatan Jaworski

    05/24/2023, 3:55 AM
    Hi everyone - Does Pactflow have any sort of rate limiting for certain endpoints in their API? I'm trying to automate token rotation for webhooks, and what I have in mind will rotate auth tokens for all the teams in the organisation once a week; as a result I'll be firing a bunch of requests to update the value of a secret for every team, and I'm wondering if that's going to fail due to rate limiting.
    m
    • 2
    • 2
  • r

    Ravi L

    05/24/2023, 9:57 AM
    Hi Pactflow Team, Need guidance on how to setup Pactflow on premises, had below questions. I will be glad someone shedding some light on those questions 1. While setting up Pactflow on premises, is that the whole Pactflow foundation that is going to be get setup on premises?? 2. Is PactFlow Broker is an individual component of Pactflow which can be setup individually??
    y
    m
    • 3
    • 5
  • t

    Tatiana

    05/24/2023, 1:13 PM
    Hi Team! We are in the process of rolling out Pact across our services and we would love to track the adoption. Do you have any features in the platform to show the statistics/usage data behind PactFlow? For example, we’re looking for: • number of validations per service/per service couple per last X days • heatmap of contract checks in the system (eg. similar to Network Diagram available in the app but with usage on top of it) If not, do you have any suggestions on what PactFlow could offer us in this case?
    m
    • 2
    • 2
  • g

    Giulio Giovannini

    05/25/2023, 8:51 AM
    Hi! I am testing the bi-directional contract testing and I have a problem with pactoflow not matching the resource url between the consumer and the provider. The consumer contract has a request to path
    /mybaseurl/resource
    while the provider Open API Spec yaml starts with a servers parameter like:
    Copy code
    servers:
      - url: /mybaseurl
    and then defines the resource as:
    Copy code
    /resource
        post:
          ...
    Pactflow can not match the paths as it disregards the servers parameter. The open Api Spec is autogenerated by Springboot so I can not change it that much. Is there a workaround for this?
    👋 1
    y
    m
    • 3
    • 15
  • m

    MiKey

    05/25/2023, 4:06 PM
    Is it expected behavior that a user with role Test Maintainer cannot filter on environments in the matrix?
    🤔 1
    m
    • 2
    • 2
  • t

    Tatiana

    05/30/2023, 6:39 PM
    Hi team! I have a question regarding tags in PactFlow. I have the following situation: I publish contracts with
    main
    tag to PactFlow only when changes were introduced to the
    app
    directory. Also, I assign a contract version as a commit id. However, I encountered a situation when
    main
    tag is unassigned from the contract. Contract has no tag and a new contract wasn’t published. It happens when changes are made NOT in the
    app
    directory, changes merged to a main branch, and in the end
    main
    tag is unassigned from the contract somehow. I am confused here, why the contract loses the tag if another contract wasn’t published, we didn’t run contract publishing job. Did you encounter such situation? Do you have any ideas why it may happen?
    m
    s
    • 3
    • 21
  • a

    Alex

    05/31/2023, 7:49 AM
    Hi all! I am working under "*Pactflow Enterprise - Cloud*" plan. In https://pactflow.io/features/ I see, that "*SAML 2.0 Provider"* is supported, as an Authentication method. When looking into "https://siemens.pactflow.io/settings/authentication" I see 2 Authentication methods • Google Authentication • GitHub Authentication Question: where do I set up the SAML authentication?
    m
    • 2
    • 3
  • n

    Nada Bukinac

    05/31/2023, 10:42 AM
    Hi all! I have one silly question 🙂 Did anyone here tried to generate the contract tests with chatGPT? I mean it would be fantastic that for the old services I can generate the contract test without to much of the effort by devs 🙂
    m
    • 2
    • 1
  • t

    Thomas

    05/31/2023, 12:20 PM
    Hello, I'm working with version
    PactFlow Version: 0dde05985
    , which fixes are included there? Does it already include https://github.com/pactflow/swagger-mock-validator/pull/18 ?
    y
    m
    • 3
    • 5
  • m

    Matt (pactflow.io / pact-js / pact-go)

    05/31/2023, 1:01 PM
    It should have all of them included up to #26. #18 was closed but not merged, the fix there is incorporated in the most recent merge, which contains numerous improvements to content-negotiation and content matching
  • e

    Eli Thorkelson

    05/31/2023, 6:16 PM
    Hi! I’m trying to test a new CI integration with PactFlow and my user account was just upgraded from
    Viewer
    to
    Viewer, CI/CD
    . I tried to generate a read/write API token for testing, but the Api Tokens page only shows me information about a Read only token. Anyone know how I should proceed?
    s
    • 2
    • 2
  • r

    Rob Turner

    06/01/2023, 1:18 PM
    Hi all, can PactFlow be used to test hidden endpoints. E.g. what if the provider has an endpoint markerd with
    [ApiExplorerSettings(IgnoreApi = true)]
    or the like?
    t
    • 2
    • 4
  • t

    Thomas

    06/01/2023, 3:09 PM
    Javascript error on pactflow.io
    Copy code
    Something went wrong. This error has been sent to the PactFlow team and will be investigated ASAP.
    
    TypeError: n is undefined
    i
    • 2
    • 3
  • t

    Tiago Andre Ranghetti

    06/01/2023, 6:49 PM
    Hi there 👋! I deployed both consumer and provider to the environment "dev" in Pactflow with a successful validation. Now, I'm trying to simulate a breaking change in the consumer API, I renamed an existing field. Using can-i-deploy doesn't allow me to deploy neither the consumer nor the provider with the new versions. Can you please guide me to the right direction here? Which side should I deploy first and how I do that when having these scenarios? Thanks in advance.
    m
    s
    b
    • 4
    • 7
  • j

    Jegadeesan Ponnusamy

    06/02/2023, 4:33 PM
    Hi all, I am trying to learn more on the Pactflow for functional testing. Could someone give some direction on this topic? I wanted to understand whether is it possible mock test data for a provider or consumer and run the functional testing using Pact Flow
    m
    • 2
    • 2
  • s

    Sugi S

    06/05/2023, 4:22 PM
    Hello there 👋 I have a question regarding keyword support
    oneOf
    in the schema...Using BDCT workflow and we have
    oneOf
    keyword in the schema and I had followed the instructions here : https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas/keyword-support/ and dereferencing and inlining $refs using
    swagger-cli
    before publishing to pact broker...When I set the
    additionalProperties:false
    to the oneOf
    refs
    as mentioned here: https://github.com/pactflow/bdct-oas-examples/blob/main/examples/oneOf/oneOf.oas.yml#LL44C7-L44C34 the contract is failing.... We also use these oneOf refs in the include param...Wondering if that could be the issue..any suggestions?
    m
    s
    • 3
    • 14
  • n

    Noor Hashem

    06/07/2023, 1:52 PM
    Hi there! Does pactflow have an api endpoint for organizations to be able to pull their billing / invoice amounts for past or current months?
    m
    • 2
    • 2
  • t

    Timothy Jones

    06/09/2023, 7:22 AM
    Documentation bug: this link says it’s using a “public tenant on pactflow”, which is technically true, but I think might be misleading - as that looks like the OSS broker not the pactflow broker. You might want to either update the text to say that it’s a publicly hosted version of the OSS broker, or update the public one to be a real pactflow instance as an advert for the service (probably the text update is the easiest).
  • s

    Sugi S

    06/09/2023, 3:32 PM
    👋 Currently using BDCT and using github actions to do
    can-i-deploy
    Recently seeing an issue where the contract comparison takes longer and the build fails....Suggested fix :https://docs.pactflow.io/docs/bi-directional-contract-testing/deploying#polling was to use retries and wait time.....Wondering if these params are available via current github actions https://github.com/pactflow/actions/blob/main/can-i-deploy/canideployTo.sh
    y
    • 2
    • 2
  • s

    Steven

    06/13/2023, 6:27 AM
    Hi, Is it possible to get the contract files( e.g. swagger files from provider side ) in pact-broker ?
    m
    • 2
    • 5
  • r

    Rajat Chouhan

    06/13/2023, 10:20 AM
    Hello, I have a question regarding keyword support
    oneOf
    in the schema...Using BDCT workflow and we have
    oneOf
    keyword in the schema and I had followed the instructions here : https://docs.pactflow.io/docs/bi-directional-contract-testing/contracts/oas/keyword-support/ and we did dereferencing and inlining $refs with keyword
    oneOf
    pact results are red and without
    oneOf
    pact results are green. Can we use
    oneOf
    keyword in schema to make pact green? Any suggestions? Please refer to the attached observations.
    Contract_Test_Observation.docx
    m
    a
    • 3
    • 9
  • j

    Jegadeesan Ponnusamy

    06/13/2023, 3:53 PM
    Hi, Do we have Pactflow available for asynchronous message based testing for .Net? If so, could you please share some examples or documentation? I was going through the examples and documentation, but couldnt find anything seems to be available for Pactflow.
    m
    • 2
    • 4
1...910111213Latest