Search code examples
performancejmeterperformance-testingdistributed-testing

Can JMeter Slave and Master be on different platforms?


I am trying to do a POC with JMeter master on my Windows laptop and slave on one of the remote machines which is Linux based. Is this feasible? If yes, where should the JMeter directory be copied? Root or somewhere else?

If this is not possible and assuming I manage to get two linux machines (one master and one slave), the main question remains - where should the JMeter directory be placed?

Any pointers will be appreciated. Thanks


Solution

  • It should be okayish given your test is operating-system-agnostic, i.e. you use relative paths, dynamic file/line separators, etc.

    JMeter master machine is only responsible for:

    • Sending the .jmx test script to the slaves
    • Starting the test execution
    • Collecting results from them

    Just remember to:

    1. Use the same Java version
    2. Use the same JMeter version
    3. Make sure that all plugins are installed on the slaves if your test relies on the plugins
    4. Make sure to copy all dependent files (extra .jar files, CSV files, properties, etc.)

    With regards to the JMeter placement on Linux - it's totally up to you, just make sure that your Linux user has read/write/execute permissions on that folder, normally I would go for /opt or /usr/local folders and would rather not install JMeter into the root of the file system.

    More information: How to Perform Distributed Testing in JMeter