Hi Timothy ,here the error contract validation means
suppose
1.there is contract signed between consumer and provider (for data type and attribute values)
2. I need to do the pact verification by giving all the mandatory values(for data type and attribute values) as positive scenario(200)
3. and again I need to do the pact verification between same counsumer and provider by missing some mandatory values(for data type and attribute values) as negative scenario(400)
so i am currently able to do the verification for statement 2nd and 3rd by using seperate pact class.
but i don't want diffrent classes for pact file creation.
i want this verification for positive and negative under the single class.
Why do you want multiple pact files from one class? for positive and negative validations as mentioned above