简体   繁体   中英

How to perform distributed testing in JMeter for different tenants with multiple app servers?

I have to do performance testing on 3 web/app servers which are accessed by 5 different tenants(URLs). The operations are same in all the tenants with JDBC authentication.

I have multiple JMX files, take one for example ie. JMX for Signin and Signout functions.

Note :** Here all the JMX are recorded from one single tenant.

Note :** 1 DB for 1 tenant, so all the tenants have different logins.

What I need to do is: Execute the JMX for all the tenants in Parallel. Signin & Signout should be performed in all the tenants at the same time.

So far, I have tried distributed testing and failed to get on that. Currently working with ANT and still I dont have clear idea on how to achieve parallel JMX execution in different tenants.

Please suggest me any solution.Your help is greatly appreciated.

Thanks, Bala.

The only guaranteed option to have certain requests running at exactly the same moment is merging your multiple JMX files into single test plan using ie Include Controllers or Module Controllers and using Synchronizing Timer


If you're just looking for a way to execute multiple JMX files in parallel the easiest option would be going for Taurus tool. Taurus acts like a wrapper for JMeter

The relevant YAML configuration file would be something like:

---
execution:
- scenario:
    script: Signin.jmx
- scenario: 
    script: Signout.jmx

More information: Taurus - Working with Multiple JMeter Tests

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM