Skip to main content
1 vote
1 answer
60 views

I attempted to start sbt with sbt -Dpact.logLevel=DEBUG and it threw a class-cast exception. [error] (pactVerify) java.lang.ClassCastException: class org.apache.logging.slf4j.Log4jLogger cannot be ...
Troy Daniels's user avatar
  • 3,670
1 vote
1 answer
44 views

My very first Pact test validates that the response is 200 OK, but I'd like to add tests that verify the schema of the JSON response. It seems that like or maybe SomethingLike is the solution but I ...
Bernhard Hofmann's user avatar
1 vote
0 answers
46 views

So far I have seen that PACT (contract) tests can be written using JUnit in Java. Is there any way it can also be written using cucumber framework in Java? Writing Java PACT tests using cucumber in ...
Siddharth Mishra's user avatar
1 vote
1 answer
59 views

I have Pact tests for a Go service. One of the consumer pact scenarios sends a GET request with a query parameter uuidToken. The problem is that uuidToken in the database is an immutable field: it’s ...
Maxim Koev's user avatar
2 votes
1 answer
105 views

I want to setup pact consumer tests using Playwright as test runner and language is Typescript. I want to spin up mock server once per worker and share it across all tests within worker. However it ...
Maxim Koev's user avatar
1 vote
1 answer
71 views

Sample code present in https://docs.pact.io/implementation_guides/net/docs/messaging-pacts is not working. Consumer part worked successfully but provider start showing error . I made sure Json path is ...
Indranil's user avatar
0 votes
0 answers
50 views

We have an application and it consists of many api's that directly talks to the db and computes logic and send the response back to the view layer. It also connects with many microservices to get ...
irfan mike's user avatar
0 votes
1 answer
28 views

I am writing Provider tests with .Net and Pact V4. I have several consumer tests (interactions) and on the provider side I use a DB. My question is, can I and how teardown the DB between interactions? ...
Olga Nosova's user avatar
0 votes
0 answers
32 views

I am using Pact contract testing for my website to check a mockDataObject if it up to date with the real response or not, mockDataObject will be use later for integration testing. The mockDataObject ...
JellyFish's user avatar
1 vote
0 answers
38 views

These two functions are identical, except the order that claimed2 appears is swapped. I have a function sum-claims which is a pure function, it does not write to the blockchain. (defun pretty-read-...
Nexion21's user avatar
  • 349
0 votes
0 answers
60 views

I am trying to run a test for my project that will need the whole API app to run by using process to start and run the application on a real TCP socket for eventual pact testing. The API seems to ...
Isaac Richardson's user avatar
0 votes
0 answers
34 views

I need to model below response using pact dsl Map<String, Collection<myObject>> responseBody; I tried below and I can see, I can expect dynamic key names using this. On consumer, I used ...
johnnycash's user avatar
0 votes
0 answers
29 views

My java class @Pact(consumer = "P01819-ipa-mi") public V4Pact tradesByFilterProductTypeFXFWD(PactBuilder builder) throws InterruptedException { return builder ...
Denys Koval's user avatar
0 votes
1 answer
70 views

I'm trying to use the Pact Terraform Provider with Pulumi using the Terraform Provider for Pulumi. Setup worked fine, but as soon as I'm configuring anything else than the Provider, I'm getting an ...
Tim Vahlbrock's user avatar
1 vote
0 answers
129 views

I am currently trying to move to V4 pacts. Currently I have this pact, which works @Pact(consumer = CONSUMER, provider = PROVIDER) RequestResponsePact provider(PactDslWithProvider builder) { return ...
Ruth's user avatar
  • 1,178

15 30 50 per page
1
2 3 4 5
48