Imposter expectedImposter = new Imposter();
expectedImposter = new ImposterBuilder().
onPort(6363).
stub().
response().
is().
header("Content-Type", "application/json").
statusCode(200).body(new File ("/workspace_luna/Mock/src/main/java/com/foocomp/mockers/service/MockResponse.json")).
end().
end().
predicate().
equals().method("GET").
end().
contains().
path("/submit/custAccount/ueyudhwiuey84387r8347r834fhjkehfjksfkjnjfy8934yr3478/vist-cards").
end().
deepEquals().
query("enhanced", "true").
end().
end().
end().
build();
Regards
Shekhar
--
You received this message because you are subscribed to the Google Groups "mountebank-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to mountebank-disc...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
thanks Brandon, but the now the issue is due to regex in the path it matches for other url's too, it has become too generic. I've tried to be more specific and rearranging my stubs to avoid wrong condition satisfaction, but issue that persist now is that URI path using regex has become universal satisfactor.
For example -
To unsubscribe from this group and stop receiving emails from it, send an email to mountebank-discuss+unsub...@googlegroups.com.