After Updating WireMock From 1.4.42 to 1.13.0 #723

Closed
opened 2025-12-29 08:32:58 +01:00 by adam · 3 comments
Owner

Originally created by @ibrar434 on GitHub (Oct 16, 2025).

Originally assigned to: @StefH on GitHub.

When i update the WireMock From 1.4.42 to 1.13.0 File picked in Different Patern i think due to Scores Pattern the test which worked fine in previous version now making issue with latest version

Like In Updated version File if there was 3 request with same json in prrevious version wiremock picks 1st one but after update it picks last one which making issue

let me share my matcher code

I just change the code with scores and ismatch

    string sanitizedInput = XmlSanitizer.Sanitize(input);
    bool isMatch = this.expression.IsMatch(sanitizedInput);

    return isMatch ? MatchScores.Perfect : MatchScores.Mismatch;
Image

package update

Image

any idea is there any issue with that please guide me i just change package and mactcher code
Need Help

Originally created by @ibrar434 on GitHub (Oct 16, 2025). Originally assigned to: @StefH on GitHub. When i update the WireMock From 1.4.42 to 1.13.0 File picked in Different Patern i think due to Scores Pattern the test which worked fine in previous version now making issue with latest version Like In Updated version File if there was 3 request with same json in prrevious version wiremock picks 1st one but after update it picks last one which making issue let me share my matcher code I just change the code with scores and ismatch string sanitizedInput = XmlSanitizer.Sanitize(input); bool isMatch = this.expression.IsMatch(sanitizedInput); return isMatch ? MatchScores.Perfect : MatchScores.Mismatch; <img width="1384" height="700" alt="Image" src="https://github.com/user-attachments/assets/68a656df-bb94-425e-be57-2ec65564352c" /> package update <img width="1070" height="77" alt="Image" src="https://github.com/user-attachments/assets/3d3a40b6-31bc-44bd-9546-9c7e5757e1ab" /> any idea is there any issue with that please guide me i just change package and mactcher code Need Help
adam added the question label 2025-12-29 08:32:58 +01:00
adam closed this issue 2025-12-29 08:32:59 +01:00
Author
Owner

@StefH commented on GitHub (Nov 8, 2025):

@ibrar434
It could be that there were some changes, however it's difficult for me to understand you issue.

Can you please share the full example code and that matcher code ?

@StefH commented on GitHub (Nov 8, 2025): @ibrar434 It could be that there were some changes, however it's difficult for me to understand you issue. Can you please share the full example code and that matcher code ?
Author
Owner

@StefH commented on GitHub (Nov 23, 2025):

@ibrar434
It could be that there were some changes, however it's difficult for me to understand you issue.

Can you please share the full example code and that matcher code ?

@StefH commented on GitHub (Nov 23, 2025): @ibrar434 It could be that there were some changes, however it's difficult for me to understand you issue. Can you please share the full example code and that matcher code ?
Author
Owner

@StefH commented on GitHub (Dec 5, 2025):

@ibrar434
It could be that there were some changes, however it's difficult for me to understand you issue.

Can you please share the full example code and that matcher code ?

@StefH commented on GitHub (Dec 5, 2025): @ibrar434 It could be that there were some changes, however it's difficult for me to understand you issue. Can you please share the full example code and that matcher code ?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/WireMock.Net#723