WireMock.Net icon indicating copy to clipboard operation
WireMock.Net copied to clipboard

After Updating WireMock From 1.4.42 to 1.13.0

Open ibrar434 opened this issue 3 months ago • 3 comments

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

ibrar434 avatar Oct 16 '25 10:10 ibrar434

@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 avatar Nov 08 '25 07:11 StefH

@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 avatar Nov 23 '25 09:11 StefH

@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 avatar Dec 05 '25 08:12 StefH