On 15/06/2009, Milamber <milambersp...@gmail.com> wrote:
> Thanks for your response.
>  Thus there are two ways (if I correctly understand):
>  1/ modify ViewResultsFullVisualizer for find specific classes (in
> classpath?) like Menu Generator in JMeter, to add one or more panes in this
> listener.

Yes, that's what I meant. JMeter already has utils for finding classes.

>  2/ or create a new visulizer (with capitalization on
> ViewResultsFullVisualizer (some copy/paste) and add a new action/result to
> test regexp, or AMF visualizer.

Yes, that's another possibility.

>  Some questions to find the best way:
>  - in 2/ the new visualizer regexp show tree results (left) and only the
> regexp tester (right) ? no necessary to have the 2 first tabs (sample result
> and request)?

Yes, you can add just output you want - no need to add tabs that aren't used.

>  - in 1/ possibly (better way) to split the ViewResultsFullVisualizer in two
> classes: one are base (left tree and sample result), and the second is the
> two others pane?
>
>  In my opinion, 1/ is more 'sexy' way (more flexible : one unique listener
> to helper creating script (potentially several render / tester in future...)

But with lots of new tabs, it could become a bit awkward. Might need
to find a better method of organising the display.

>  2/ is more simple to do
>
>  Which way I beginning?

I don't think there is a best way; both have advantages and both have
disadvantages, but I prefer option 1).

If you get stuck on the dynamic aspects I can probably help with that.

>  Thanks
>  Milamber
>
>  Le 15/06/2009 19:22, sebb a ecrit :
>
>
> > On 14/06/2009, Milamber <milambersp...@gmail.com> wrote:
> >
> >
> > > Hello,
> > >
> > >  I have developed a small extension to JMeter for add a tab in View
> Results
> > > Tree listener which permit to test a regular expression on response data
> and
> > > view all matches.
> > >
> > >  (this extension in to help jmeter's user to test their regexp without a
> > > running test. this requirement because I give some trainings on JMeter
> and
> > > students aren't regexp's hackers)
> > >
> > >  You can view some screen captures and a add patch in this link :
> > >
> http://www.milamberspace.net/regexp_tester/regexp_tester_introduction.html
> > >
> > >
> >
> > Looks to be a very useful extension.
> >
> >
> >
> > >  To make this extension, I needed replace some private fields and
> methods to
> > > protected variables and methods in
> > >
> org.apache.jmeter.visualizers.ViewResultsFullVisualizer.
> > >
> > >  I don't create a new bugzilla, because I have some questions:
> > >
> > >  * It is possible to integrate this extension in main JMeter ?
> > >
> > >
> >
> > Yes, potentially.
> >
> >
> >
> > > need a vote or some process to pass?
> > >
> > >
> >
> > There's no formal process.
> >
> >
> >
> > >  * If not, it's possible to valide the private/protected changes in
> trunk ?
> > > this changes to permit to extented this listener rapidly. (I would like
> too
> > > add a AMF viewer (without integrate in trunk))
> > >
> > >
> >
> > Extending the class to add a single extra pane works, but is not scalable.
> > I think it might be better to enhance ViewResultsFullVisualizer so
> > that it can process external panes.
> >
> > The other approach would be to create a new Visualizer; this might be
> > a better approach for AMF.
> >
> >
> >
> > >  Some guidance are welcome. I can answer questions if need
> > >  (I can create a new buzilla if it's better)
> > >
> > >  Thanks
> > >  Milamber
> > >
> > >
> > >
> ---------------------------------------------------------------------
> > >  To unsubscribe, e-mail:
> > > jmeter-dev-unsubscr...@jakarta.apache.org
> > >  For additional commands, e-mail:
> > > jmeter-dev-h...@jakarta.apache.org
> > >
> > >
> > >
> > >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail:
> jmeter-dev-unsubscr...@jakarta.apache.org
> > For additional commands, e-mail:
> jmeter-dev-h...@jakarta.apache.org
> >
> >
> >
> >
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscr...@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-h...@jakarta.apache.org

Reply via email to