Ant integration

View: New views
3 Messages — Rating Filter:   Alert me  

Ant integration

by SULLIVAN, Ben :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

Hi

 

Is it possible to trigger performance test scripts from within an ant build so we can schedule it to run from our build server and interpret the output to indicate a pass/fail to our developers?  I believe there is such a task for JMeter which also creates HTML reports from the XML output.  I’d appreciate if anyone could point me in the direction of an equivalent for Grinder or perhaps a workaround in the absence of an ant task.

 

Many thanks

 

Ben Sullivan

 

cid:image001.png@01C85CD7.7E0722A0

BEN SULLIVAN

Developer, Shared Services

Enterprise | Solutions | Business Technology | Suncorp

Level 26, Brisbane Square | 266 George Street, Brisbane 4000

ext: 54576 | tel: 07 313 54576 | ipc: IT042

 

 

-----------------------------------------------------------------------------------

This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities "Suncorp".

Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55 or at suncorp.com.au.

The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system.

If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line.



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Re: Ant integration

by Philip Aston-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

SULLIVAN, Ben wrote:
>
> Is it possible to trigger performance test scripts from within an ant
> build so we can schedule it to run from our build server and interpret
> the output to indicate a pass/fail to our developers?  I believe there
> is such a task for JMeter which also creates HTML reports from the XML
> output.  I’d appreciate if anyone could point me in the direction of
> an equivalent for Grinder or perhaps a workaround in the absence of an
> ant task.
>

There isn't any specific integration with Ant, but its fairly easy to
wire up.

The simplest approach is to launch a single agent and a set of worker
processes. To do this, just use ant java task to start the
net.grinder.Grinder class.

http://webflange.sourceforge.net/ is a CI tool built around The Grinder.

Finally, if you need a multiple machine approach, you may be interested
in the "headless console" support that will be part of the next release.
This allows you to start a console process (think of this as the
coordinator), start agents against that console (you may need to script
with something like ssh for this), and then use the console scripting
API (e.g. in Jython called from Ant) to control the console.

- Phil


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
grinder-use mailing list
grinder-use@...
https://lists.sourceforge.net/lists/listinfo/grinder-use

Re: Ant integration

by kamalakarv :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hello,

I wrote a ant target to start agent ... if i ran this ant it works fine for a test that doesn't have any resquest.. where as it is working in case of Helloworld example.
<target name="run-grinder">
                <echo>starting the grinder agent and run the scripts</echo>
                <java classname="net.grinder.Grinder" fork="true" classpathref="project.classpath">
                        <arg value="${basedir}/${src.dir}/grinder.properties" />
                </java>
</target>


Issue:
-- After i ran the ant target agent hangs and using grinder3.3 latest code..
-- Even i have plans to use Console Headless version could any help me how to use this feature(multiple agents)






SULLIVAN, Ben wrote:
Hi

 

Is it possible to trigger performance test scripts from within an ant
build so we can schedule it to run from our build server and interpret
the output to indicate a pass/fail to our developers?  I believe there
is such a task for JMeter which also creates HTML reports from the XML
output.  I'd appreciate if anyone could point me in the direction of an
equivalent for Grinder or perhaps a workaround in the absence of an ant
task.

 

Many thanks

 

Ben Sullivan

 

 

BEN SULLIVAN

Developer, Shared Services

Enterprise | Solutions | Business Technology | Suncorp

Level 26, Brisbane Square | 266 George Street, Brisbane 4000

ext: 54576 | tel: 07 313 54576 | ipc: IT042

 

 


-----------------------------------------------------------------------------------
This e-mail is sent by Suncorp-Metway Limited ABN 66 010 831 722 or one of its related entities "Suncorp".

Suncorp may be contacted at Level 18, 36 Wickham Terrace, Brisbane or on 13 11 55  or at suncorp.com.au.

The content of this e-mail is the view of the sender or stated author and does not necessarily reflect the view of Suncorp. The content, including attachments, is a confidential communication between Suncorp and the intended recipient. If you are not the intended recipient, any use, interference with, disclosure or copying of this e-mail, including attachments, is unauthorised and expressly prohibited. If you have received this e-mail in error please contact the sender immediately and delete the e-mail and any attachments from your system.

If this e-mail constitutes a commercial message of a type that you no longer wish to receive please reply to this e-mail by typing Unsubscribe in the subject line.



 
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
grinder-use mailing list
grinder-use@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/grinder-use