https://linen.dev logo
Title
l

Laura Ortega

03/09/2023, 6:20 PM
Hi, I want to use WireMock in large load tests (50K -80K rpm). What would be the optimal configuration? I was setting the values shown in the documentation (please clarify if those values are just examples and not recommendations) and it fails when trying to raise WireMock. ERROR:java.lang.RuntimeException: java.lang.IllegalStateException: Insufficient configured threads: required=5 < max=5 for QueuedThreadPool[qtp253348306]@f19c9d2{STARTED,5<=5<=5,i=5,r=-1,q=0}[ReservedThreadExecutor@7da10b5b{reserved=0/1,pending=0}]
t

Tom

03/09/2023, 6:21 PM
Hi @Laura Ortega, I suggest you use something like 100 container threads, 2 acceptor threads for every CPU core you’re running, and either limit or disable the request journal.
l

Laura Ortega

03/09/2023, 6:24 PM
Alright, I’ll try that. Thanks
👍 1