Mountebank tool can be used for load testing purposes

555 views
Skip to first unread message

hs.shankara...@gmail.com

unread,
Feb 26, 2015, 7:10:46 AM2/26/15
to mounteban...@googlegroups.com
Hi ,

whether mountebank tool can be used for load testing purposes. Say simple xml based responses in the order of 50-200 TPS.



Regards,
Shankara Subramanian

Brandon Byars

unread,
Feb 26, 2015, 10:01:17 AM2/26/15
to hs.shankara...@gmail.com, mountebank-discuss

Hi there,
Yes, with the --nomock command line flag to avoid a memory leak, and possibly with the wait behavior to add latency.   I'll follow up with some of the devs on one large project that I know used mountebank for load testing to see if there are additional lessons learned.
-Brandon

--
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.

jmth...@thoughtworks.com

unread,
Feb 26, 2015, 2:44:19 PM2/26/15
to mounteban...@googlegroups.com, hs.shankara...@gmail.com
Hey Shankara,

We in fact did just finish up using mountebank for a round of performance testing. In our case we found that the limiting factor was more in the tool we were using to generate traffic than Mountebank itself. In our case the tool maxed out around 270 TPS, with Mountebank staying fairly responsive throughout.

I will echo what Brandon said regarding --nomock. Disabling the mocking feature is definitely important, otherwise you will start to see some instability over particularly long performance runs.

We also found it very useful to use the wait behavior to add in some artificial latency. In our case we were trying to have Mountebank come as close to mimicking a production environment as possible. We first gathered end to end latency numbers on what performance was like in production. We then looked specifically at the average latency of the services that Mountebank was going to mimick. After we had that, we fed those numbers into our stubs, and Mountebank was able to give us a pretty good approximation of how our API was going to perform in production.

It was really successful, and helped us build a lot of confidence about the performance of our API.

Please let me know if you have any more questions, I'd be happy to answer them.

Thanks,
James

hs.shankara...@gmail.com

unread,
May 4, 2020, 4:21:06 AM5/4/20
to mountebank-discuss
Hi

is there any base line numbers that mountebank capable to support ?

for Functional testing  ??
for Performance testing  ?? 

Thanks
Shankara Subramanian
Reply all
Reply to author
Forward
0 new messages