Shivam Kumar
05/31/2022, 10:41 AMorg.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter
exception. Can someone please help us on fixing it? If there is recommendation to use another approach, Can you please share?
@TestTemplate
@ExtendWith(PactVerificationInvocationContextProvider::class)
fun pactVerificationTestTemplate(context: PactVerificationContext, requestBuilder: org.apache.hc.core5.http.HttpRequest) {
var newUri = sanitiseUrl(requestBuilder.uri.toString())
requestBuilder.setUri(URI(newUri))
context.verifyInteraction()
}
Dependencies used:
<http://au.com|au.com>.dius.pact.consumer.junit5
, 'org.apache.httpcomponents.core5', name: 'httpcore5', version: '5.1.3'
rholshausen
05/31/2022, 11:17 PMShivam Kumar
06/01/2022, 2:26 PMorg.apache.http.HttpRequest
library, but there is no option to update the api path with this class. Do we have any suggestions or is it even possible to update the api path in provider contract verification step?rholshausen
06/01/2022, 9:54 PM