New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Scalable distributed testing #1627
Comments
Lars Krog-Jensen (migrated from Bugzilla): |
Lars Krog-Jensen (migrated from Bugzilla): |
Lars Krog-Jensen (migrated from Bugzilla): |
Lars Krog-Jensen (migrated from Bugzilla): |
Lars Krog-Jensen (migrated from Bugzilla): |
Lars Krog-Jensen (migrated from Bugzilla): |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
Lars Krog-Jensen (migrated from Bugzilla): It is indeed open source, it is released under LGPL licenese, and so is the JFreeChart package: regards (In reply to comment 11)
|
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
peter lin (migrated from Bugzilla): peter |
Lars Krog-Jensen (migrated from Bugzilla): Wow, I really do not understand these license issues, but I though LGPL I guess that implmenting a TreeTableModel is not very easy, nor is it easy to All this rewrtiting seems to me to be so meaningless work, there are great Wouldn't it be better to include only the core changes and leave out the new regards |
peter lin (migrated from Bugzilla): I've already committed the core changes. you can see in the latest subversion peter |
peter lin (migrated from Bugzilla): peter lin |
peter lin (migrated from Bugzilla): peter |
peter lin (migrated from Bugzilla): it's easy enough to write a new one, but I'd rather not re-invent the wheel if peter lin |
Sebb (migrated from Bugzilla): This is much the same as the Aggregate Report, except that the Median and 90% |
@pmouawad (migrated from Bugzilla):
|
Lars Krog-Jensen (Bug 37160):
My first problem was, where this small discussions started, was that
distributed testing was not very scalable, the second problem that I very soon
discover was that the visualizer (Aggregate Report) where not very
scalable for long running tests, after only a few hours it were running out of
memory due to the fact that all samples where stored twice in various
caluclators to be able to calculate median and 90% 'median'.
Scalable Server
This was not very hard at all!
First I created a subclass of the SampleSender interface -
StatisticalSampleSender, working very much like the BatchSampleSender.
The sample sender creates a statistical SampleResult and dispatches those
every second or so, configurable as BatchSender (using the same properties).
I also had to modify the SampleSenderFactory to create this new sample sender
if property mode=Statistical.
This works perfectly fine, I have now been running a JMeter cluster of 8
servers and the server -> controller communication is not measurable.
This has the limitation that not all the individual sample result were sent
back, but for long running test, this is a non-issue, at least for us.
Scalable Visualizer
I found myself using the aggregate report visulizer and graph listener, so I
decided to write a scalöable combined visualizer. See the screenshot as
attachment.
I also wanted to see how the different load servers were doing, so the only
core change was to the SampleEvent class had to send the hostname it was
running on back to the controller for each sample.
The visulaizer does not store each sample it receives, and thus the memory is
not growing at all, I have JConsole connected and after 3 days of continous
running it was using only 32 MB memory. The graph only stores some limited
number of values.
This visualizer requires some additional jars from JFreeChart and JNDC.
New component classes in package: org.apache.jmeter.samplers
StatisticalSampleSender - A new SamplerSender implementation, based on
BatchSamplerSender.
StatisticalSampleResult - A new SampleResult subclass
Changed component classes in package: org.apache.jmeter.samplers
SampleEvent - New field hostname
SampleSenderFactory - New mode='Statistical' to chose the new
StatisticalSampleSender
New visulaizer i n package se.six.jmeter.visualizers.statagg (should
propablbly be refactored to org.apache.jmeter.visualizers.statagg.
All classes are new and not enumerated, these are all new additions that does
not affect any other visualizer. BUT required that JFreeChart and JNDC are
installed.
Votes in Bugzilla: 2
OS: All
The text was updated successfully, but these errors were encountered: