The Author Online Book Forums are Moving

The Author Online Book Forums will soon redirect to Manning's liveBook and liveVideo. All book forum content will migrate to liveBook's discussion forum and all video forum content will migrate to liveVideo. Log in to liveBook or liveVideo with your Manning credentials to join the discussion!

Thank you for your engagement in the AoF over the years! We look forward to offering you a more enhanced forum experience.

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!