Can I use Gatling to test a custom java action

Hi,

Your QueryAction doesn’t work: it performs blocking operations in the caller thread which is one of the few shared threads the Gatling engine uses to run. When a virtual user is blocking there, it blocks all the other virtual users that share the same thread. If you want to call a blocking API, you must offload to a different thread pool.