directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ole Ersoy <ole_er...@yahoo.com>
Subject Re: [jira] Commented: (DIR-188) Maven Archetype for Performance Testing
Date Wed, 12 Jul 2006 17:00:56 GMT
OK Cool - the documentation is written almost like a
tutorial - so should be pretty straightforward -
although the maven archetype guide is pretty good as
well. 

I'll add an example for separating performance tests
from the archetype next.

This makes the archetype simpler, because now its just
doing configuration and reporting on the test modules.

There would be a separate archetype for creating the
performance tests.

That way ADS can have a library of precreated
performance tests that can be used to customize an
archetype instance to run a suite of tests (Perhaps
stored on ibiblio, or some other public maven server).
 Would be cool to have an eclipse platform plugin on
top of that actually, that let developers graphically
customize ADS testing based on existing libraries.

Hopefully the SLAMD has a componentized architecture
that's easy to work with and mojo integration is a
breeze.

For a quick start on generating LDIF files we can also
use Eclipse JET (Java Emitter Templates - Part of the
Eclipse EMF Project) which can generate any type of
file (XML, Java, LDIF, ...), and are very easy to use.
 There's a great JET Template editor on the EMF
Corner.

So the JET Templates would be used by the mojo to
generate both the reports and the LDIF files.

--- "Alex Karasulu (JIRA)"
<directory-dev@incubator.apache.org> wrote:

>     [
>
http://issues.apache.org/jira/browse/DIR-188?page=comments#action_12420664
> ] 
> 
> Alex Karasulu commented on DIR-188:
> -----------------------------------
> 
> Ok I'm going to play with this a bit :).  Let me
> create an area in our sandbox with your name on it. 
> I'll work there for now on your behalf.
> 
> > Maven Archetype for Performance Testing
> > ---------------------------------------
> >
> >          Key: DIR-188
> >          URL:
> http://issues.apache.org/jira/browse/DIR-188
> >      Project: Directory
> >         Type: New Feature
> 
> >  Environment: Java
> >     Reporter: Ole Ersoy
> >     Assignee: Alex Karasulu
> >     Priority: Minor
> >  Attachments: ads.performance.testing.zip,
> documentation.apt
> >
> > OK - Here's the ADS Performance Testing archetype
> > start (server.xml and performance.ldif need data).
> > For this to work maven has to be installed of
> coarse.
> > Just unzip, cd into ads.performance.testing and
> type
> > maven install
> > The archetype is now installed in your local maven
> > repository.
> > For the documentation on how this archetype was
> > created see the directory
> > src/site/apt/documentation.
> > This is the documentation in apt format.
> > For the html version see the directory
> > target/site/documentation.html
> > Maven generated this file from the apt document.
> > Now run this command:
> > mvn archetype:create
> -DarchetypeVersion=1.0-SNAPSHOT
> -DarchetypeGroupId=org.apache.ads.archetypes
>
-DgroupId=mavenComplainsIfWeDontGiveOneButWeDontNeedOne
> -DarchetypeArtifactId=ads.performance.testing
> -DartifactId=ads.sample.performance.testing
> > This will create the project
> > ads.sample.performance.testing
> > cd into it and type mvn eclipse:eclipse
> > Now you can import it into eclipse.
> > There's a todo in the documentation.
> > This is just the baseline starting point I talked
> > about in the other emails.
> > One future enhancement that could easily be added
> is a
> > directory containing a configuration file for
> > generating the performance.ldif file.  Once the
> > documentation is reviewed, everyone should know
> how to
> > add that.
> > Cheers,
> > - Ole
> 
> -- 
> This message is automatically generated by JIRA.
> -
> If you think it was sent incorrectly contact one of
> the administrators:
>   
>
http://issues.apache.org/jira/secure/Administrators.jspa
> -
> For more information on JIRA, see:
>    http://www.atlassian.com/software/jira
> 
> 


__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

Mime
View raw message