How to create pact files if i have 100+ requests, ...
# pactflow
s
How to create pact files if i have 100+ requests, do I have to create 100 pact files?
m
A pact file stores the interactions between two applications
so if the 100+ requests are between Application A and B, then you’ll have 1 pact file
s
I tried with 5 requests only last request generating pact file with last interaction
m
can you please share your code? Perhaps you’re clearing out the pact file after each test?
s
Sure I will, I am using playwright example
I could generate single pact for multiple interactions
One help can you refer post request in playwright example
t
I don’t really have any context here, but I did find this, which is worth being aware of: https://github.com/microsoft/playwright/discussions/11168