Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enable using of regexp pattern on request body (Wiremock engine) #153

Closed
kulasekp opened this issue Nov 6, 2020 · 1 comment
Closed
Assignees
Labels
Milestone

Comments

@kulasekp
Copy link
Contributor

kulasekp commented Nov 6, 2020

We already have the possibility to define regex pattern on mock using Mokka UI.
What is missing is passing this value to Wiremock's StubMapping : please focus on WireMockStubMappingConverter

what is missing is:

if (StringUtils.isNotBlank(mockConfiguration.getPattern())) {
    requestPatternBuilder.withRequestBody(new RegexPattern(mockConfiguration.getPattern()));
}
@kulasekp kulasekp added this to the 0.7.0 milestone Nov 6, 2020
@kulasekp kulasekp self-assigned this Nov 9, 2020
@kulasekp kulasekp changed the title Enable using of regexp pattern on request body Enable using of regexp pattern on request body (Wiremock engine) Nov 9, 2020
@kulasekp kulasekp closed this as completed Nov 9, 2020
@kulasekp
Copy link
Contributor Author

kulasekp commented Nov 9, 2020

Commit: df65724

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant