What is the maximum capacity of wiremock as a server?

483 views
Skip to first unread message

Jackie chen

unread,
Jun 4, 2022, 2:05:36 AM6/4/22
to wiremock-user
Hi All,

Has anybody done with some capacity testing with wiremock as a server?

how many stub mappings can it serve to clients as maximum?

Tom Akehurst

unread,
Jun 9, 2022, 6:13:07 AM6/9/22
to wiremock-user
There's no hard maximum - it depends primarily on the memory and CPU you make available to the server, and how you tune the performance parameters (primarily container thread count).

I've seen examples of 10k+ mappings working with no problem in the past, but how it performs depends a lot on the complexity of the matching.

So, if you have mostly simple stubs that match on method and URL, performance will be quick, but if you have a lot of matching on e.g. large JSON or XML request bodies then this will take significantly more CPU time to process.

Reply all
Reply to author
Forward
0 new messages