0

I need to run same JMeter script on more than one site at the same time to test performace. I am trying to use one JMeter script and hit 10 sites at the same time I have tried to use multi test feature in Blazemeter, but it is not maintainable as if there is a change i need to make in the script i will have to upload same script again which is time consuming. Another option I had is to repeat the script 10 times in one JMeter file which will access 10 different site, but this solution sounds to be not correct and will then becomes high maintenance if I need to make a change to the file.

Please advise if you have faced this situation and what is the right solution for that.

Tools I am using: JMeter for scripting which reads users from csv and BlazeMeter for execution

1

How about using BlazeMeter's Taurus for this? You can reference only one JMeter .jmx script and override the properties/variables to point it to different sites you need to test.

Below example demonstrates how to concurrently launch one script 2 times providing different ${hostname} variable to them:

---
execution: 
#This is for site # 1
- scenario: 
    variables: 
      hostname: http://example.com
    script: Test.jmx
#This is for site # 2    
- scenario:
    variables: 
      hostname: http://jmeter.apache.org
    script: Test.jmx
#etc.    
        

More information: Taurus - Working with Multiple JMeter Tests

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.