51518

Running Jmeter multiple independent jmx tests in parallel

Question:

I have a scenario where there are several independent jmx files, each of them has their own threadgroup etc. Using JMeter Ant script I can fire them all in sequence and collect the result in a jtl file. My challenge here is to do the same thing but fire off the tests in parallel. Please note that Include Controller is not an option since I want to use(or honor) the ThreadGroup and User Defined Variables in each jmx files. Thanks for your help

Answer1:

Perhaps <a href="https://ant.apache.org/manual/Tasks/parallel.html" rel="nofollow">Parallel Ant Task</a> is what you're looking for.

However <parallel> directive is not thread safe so I wouldn't recommend to use it with JMeter Ant task and consider using i.e. command-line mode, maven plugin or custom Java class which will spawn individual JMeter tests with it.

See <a href="http://blazemeter.com/blog/5-ways-launch-jmeter-test-without-using-jmeter-gui" rel="nofollow">5 Ways To Launch a JMeter Test without Using the JMeter GUI</a> guide for details of the approaches, hope this helps to find the one which matches your environment.

Answer2:

Yes, Ant parallel solves this problem.

Recommend

  • Nested ItemsControl Orientation
  • Media Queries not working in Chrome, works in Firefox
  • XJC javaType adapter in complexType
  • How do I force a browser window to always be on top and in focus
  • SqlDependency vs SQLCLR call to WebService
  • Multiprocessing pool example (parallel) is slower than sequential. Trying to understand pool in pyth
  • Read stdin in chunks in Bash pipe
  • parallelize process in missForest package
  • How can I get the maximum number of OpenMP threads that may be created during the whole execution of
  • Ray-tracing triangles
  • How to start server for Selenium grid Java Maven setup
  • Number of threads being used during Parallel.ForEach
  • Git describe fails to return most recent annotated tag
  • converting text file into xml using php?
  • Unable to get column index with table.getColumn method using custom table Model
  • custom UITableViewCell with image for highlighting
  • How do I exclude a dependency in provided scope when running in Maven test scope?
  • How do I access an unhandled exception in an MVC Error view?
  • Sencha Touch 2.0 Controller refs attribute not working?
  • Google Custom Search with transparent background
  • Asynchronous UI Testing in Xcode With Swift
  • angularjs unit test when to use $rootScope.$new()
  • Validaiting emails with Net.Mail MailAddress
  • vba code to select only visible cells in specific column except heading
  • Which linear programming package should I use for high numbers of constraints and “warm starts” [clo
  • Javascript + PHP Encryption with pidCrypt
  • Why is the timeout on a windows udp receive socket always 500ms longer than set by SO_RCVTIMEO?
  • bootstrap to use multiple ng-app
  • Buffer size for converting unsigned long to string
  • Hits per day in Google Big Query
  • How to CLICK on IE download dialog box i.e.(Open, Save, Save As…)
  • How does Linux kernel interrupt the application?
  • How to get Windows thread pool to call class member function?
  • costura.fody for a dll that references another dll
  • Binding checkboxes to object values in AngularJs
  • Observable and ngFor in Angular 2
  • UserPrincipal.Current returns apppool on IIS
  • To Get the radio button value in ruby on rails
  • java string with new operator and a literal
  • How to load view controller without button in storyboard?