547655 (2) [Avatar] Offline
#1
Hi,

In chapter 10, book talks about using multiple threads to test the app. So far I had a cursory look over the code. I wasn't able to find a code where we use multiple threads (or all the threads available on a given system) to test the system with load test.

My question is, are we using multiple threads at all to test the app in this book? And if yes, can someone point me to that piece of code?


If mb is put in a production or staging server to load test the application, do we need to configure mb to use all the cpus of the system?

Thanks in advance.
71346 (5) [Avatar] Offline
#2
Hi there,
The gatling example in chapter 10 uses multiple threads, although gatling abstracts that away from you. It simulates virtual users with the use of threads, so multiple threads are hitting mountebank concurrently.
-Brandon
547655 (2) [Avatar] Offline
#3
71346 wrote:Hi there,
The gatling example in chapter 10 uses multiple threads, although gatling abstracts that away from you. It simulates virtual users with the use of threads, so multiple threads are hitting mountebank concurrently.
-Brandon


Oh wonderful. That is all I wanted to know. Thanks so much!