You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Yesu Grover, Noida" <ye...@hcl.in> on 2009/08/20 11:26:21 UTC
Jmeter Windows to call Solaris Script
Hi All,
We are using JMeter on Windows platform.Is there any way to call and execute a shell scripts stored in Solaris O.S. Server
Thanks
Yesu
__________
DISCLAIMER:
-----------------------------------------------------------------------------------------------------------------------
The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
received this email in error please delete it and notify the sender immediately. Before opening any mail and
attachments please check them for viruses and defect.
-----------------------------------------------------------------------------------------------------------------------
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter Windows to call Solaris Script
Posted by sebb <se...@gmail.com>.
Please start a new thread for a new question.
On 20/08/2009, Hembha, Ambanna <am...@logica.com> wrote:
> Hi all,
>
> Can I test Web Service of java based web application with Jmeter tool
> Any suggestion please
>
> Thanks
> -Ambs
>
>
>
> -----Original Message-----
> From: sebb [mailto:sebbaz@gmail.com]
> Sent: 20 August 2009 14:00
> To: JMeter Users List
> Subject: Re: Jmeter Windows to call Solaris Script
>
> It's not going to be easy to use SSH directly in JMeter, which is why
> I suggested using a command file.
>
> You can then use
>
> Runtime.getRuntime().exec("scriptfile.cmd").waitFor();
>
> to run the script and wait for it to complete.
>
> On 20/08/2009, Yesu Grover, Noida <ye...@hcl.in> wrote:
> > Hi,
> >
> > I am having a very minute knowledge on ssh ...can anyone provide an
> example to use it in jmeter (a simple would also work)
> >
> > Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
> >
> > Thanks
> > Yesu
> >
> > ________________________________________
> > From: sebb [sebbaz@gmail.com]
> > Sent: Thursday, August 20, 2009 3:18 PM
> > To: JMeter Users List
> > Subject: Re: Jmeter Windows to call Solaris Script
> >
> >
> > If you want to measure the time taken, then use a BSF Sampler or the
> > BSH Sampler.
> >
> > It's probably easiest to create a Windows batch file which runs ssh,
> > and once that is working, plug it into JMeter.
> >
> > Putty has a command-line ssh tool 'plink'.
> >
> > On 20/08/2009, Noel O'Brien <no...@newbay.com> wrote:
> > > You could make an ssh connection via BSFPostProcessor (in e.g.
> Groovy) and execute shell scripts on the remote machine
> > >
> > > Regards,
> > >
> > > Noel
> > >
> > >
> > > ----- "Yesu Grover, Noida" <ye...@hcl.in> wrote:
> > > >
> > > > Hi All,
> > > >
> > > > We are using JMeter on Windows platform.Is there any way to call
> and execute a shell scripts stored in Solaris O.S. Server
> > > >
> > > > Thanks
> > > > Yesu
> > > > __________
> > > > DISCLAIMER:
> > > >
> ------------------------------------------------------------------------
> -----------------------------------------------
> > > >
> > > > The contents of this e-mail and any attachment(s) are
> confidential and intended for the named recipient(s) only.
> > > > It shall not attach any liability on the originator or HCL or
> its affiliates. Any views or opinions presented in
> > > > this email are solely those of the author and may not
> necessarily reflect the opinions of HCL or its affiliates.
> > > > Any form of reproduction, dissemination, copying, disclosure,
> modification, distribution and / or publication of
> > > > this message without the prior written consent of the author of
> this e-mail is strictly prohibited. If you have
> > > > received this email in error please delete it and notify the
> sender immediately. Before opening any mail and
> > > > attachments please check them for viruses and defect.
> > > >
> > > >
> ------------------------------------------------------------------------
> -----------------------------------------------
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail:
> jmeter-user-unsubscribe@jakarta.apache.org
> > > > For additional commands, e-mail:
> jmeter-user-help@jakarta.apache.org
> > > >
> > > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
>
>
> Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu schützen. / Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.
>
>
>
> This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter Windows to call Solaris Script
Posted by "Hembha, Ambanna" <am...@logica.com>.
Hi all,
Can I test Web Service of java based web application with Jmeter tool
Any suggestion please
Thanks
-Ambs
-----Original Message-----
From: sebb [mailto:sebbaz@gmail.com]
Sent: 20 August 2009 14:00
To: JMeter Users List
Subject: Re: Jmeter Windows to call Solaris Script
It's not going to be easy to use SSH directly in JMeter, which is why
I suggested using a command file.
You can then use
Runtime.getRuntime().exec("scriptfile.cmd").waitFor();
to run the script and wait for it to complete.
On 20/08/2009, Yesu Grover, Noida <ye...@hcl.in> wrote:
> Hi,
>
> I am having a very minute knowledge on ssh ...can anyone provide an
example to use it in jmeter (a simple would also work)
>
> Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> Thanks
> Yesu
>
> ________________________________________
> From: sebb [sebbaz@gmail.com]
> Sent: Thursday, August 20, 2009 3:18 PM
> To: JMeter Users List
> Subject: Re: Jmeter Windows to call Solaris Script
>
>
> If you want to measure the time taken, then use a BSF Sampler or the
> BSH Sampler.
>
> It's probably easiest to create a Windows batch file which runs ssh,
> and once that is working, plug it into JMeter.
>
> Putty has a command-line ssh tool 'plink'.
>
> On 20/08/2009, Noel O'Brien <no...@newbay.com> wrote:
> > You could make an ssh connection via BSFPostProcessor (in e.g.
Groovy) and execute shell scripts on the remote machine
> >
> > Regards,
> >
> > Noel
> >
> >
> > ----- "Yesu Grover, Noida" <ye...@hcl.in> wrote:
> > >
> > > Hi All,
> > >
> > > We are using JMeter on Windows platform.Is there any way to call
and execute a shell scripts stored in Solaris O.S. Server
> > >
> > > Thanks
> > > Yesu
> > > __________
> > > DISCLAIMER:
> > >
------------------------------------------------------------------------
-----------------------------------------------
> > >
> > > The contents of this e-mail and any attachment(s) are
confidential and intended for the named recipient(s) only.
> > > It shall not attach any liability on the originator or HCL or
its affiliates. Any views or opinions presented in
> > > this email are solely those of the author and may not
necessarily reflect the opinions of HCL or its affiliates.
> > > Any form of reproduction, dissemination, copying, disclosure,
modification, distribution and / or publication of
> > > this message without the prior written consent of the author of
this e-mail is strictly prohibited. If you have
> > > received this email in error please delete it and notify the
sender immediately. Before opening any mail and
> > > attachments please check them for viruses and defect.
> > >
> > >
------------------------------------------------------------------------
-----------------------------------------------
> > >
> > >
---------------------------------------------------------------------
> > > To unsubscribe, e-mail:
jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail:
jmeter-user-help@jakarta.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Please help Logica to respect the environment by not printing this email / Pour contribuer comme Logica au respect de l'environnement, merci de ne pas imprimer ce mail / Bitte drucken Sie diese Nachricht nicht aus und helfen Sie so Logica dabei, die Umwelt zu sch�tzen. / Por favor ajude a Logica a respeitar o ambiente nao imprimindo este correio electronico.
This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter Windows to call Solaris Script
Posted by sebb <se...@gmail.com>.
It's not going to be easy to use SSH directly in JMeter, which is why
I suggested using a command file.
You can then use
Runtime.getRuntime().exec("scriptfile.cmd").waitFor();
to run the script and wait for it to complete.
On 20/08/2009, Yesu Grover, Noida <ye...@hcl.in> wrote:
> Hi,
>
> I am having a very minute knowledge on ssh ...can anyone provide an example to use it in jmeter (a simple would also work)
>
> Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
>
> Thanks
> Yesu
>
> ________________________________________
> From: sebb [sebbaz@gmail.com]
> Sent: Thursday, August 20, 2009 3:18 PM
> To: JMeter Users List
> Subject: Re: Jmeter Windows to call Solaris Script
>
>
> If you want to measure the time taken, then use a BSF Sampler or the
> BSH Sampler.
>
> It's probably easiest to create a Windows batch file which runs ssh,
> and once that is working, plug it into JMeter.
>
> Putty has a command-line ssh tool 'plink'.
>
> On 20/08/2009, Noel O'Brien <no...@newbay.com> wrote:
> > You could make an ssh connection via BSFPostProcessor (in e.g. Groovy) and execute shell scripts on the remote machine
> >
> > Regards,
> >
> > Noel
> >
> >
> > ----- "Yesu Grover, Noida" <ye...@hcl.in> wrote:
> > >
> > > Hi All,
> > >
> > > We are using JMeter on Windows platform.Is there any way to call and execute a shell scripts stored in Solaris O.S. Server
> > >
> > > Thanks
> > > Yesu
> > > __________
> > > DISCLAIMER:
> > > -----------------------------------------------------------------------------------------------------------------------
> > >
> > > The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> > > It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
> > > this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
> > > Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
> > > this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
> > > received this email in error please delete it and notify the sender immediately. Before opening any mail and
> > > attachments please check them for viruses and defect.
> > >
> > > -----------------------------------------------------------------------------------------------------------------------
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> > >
> > >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Jmeter Windows to call Solaris Script
Posted by "Yesu Grover, Noida" <ye...@hcl.in>.
Hi,
I am having a very minute knowledge on ssh ...can anyone provide an example to use it in jmeter (a simple would also work)
Thanks in advance!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Thanks
Yesu
________________________________________
From: sebb [sebbaz@gmail.com]
Sent: Thursday, August 20, 2009 3:18 PM
To: JMeter Users List
Subject: Re: Jmeter Windows to call Solaris Script
If you want to measure the time taken, then use a BSF Sampler or the
BSH Sampler.
It's probably easiest to create a Windows batch file which runs ssh,
and once that is working, plug it into JMeter.
Putty has a command-line ssh tool 'plink'.
On 20/08/2009, Noel O'Brien <no...@newbay.com> wrote:
> You could make an ssh connection via BSFPostProcessor (in e.g. Groovy) and execute shell scripts on the remote machine
>
> Regards,
>
> Noel
>
>
> ----- "Yesu Grover, Noida" <ye...@hcl.in> wrote:
> >
> > Hi All,
> >
> > We are using JMeter on Windows platform.Is there any way to call and execute a shell scripts stored in Solaris O.S. Server
> >
> > Thanks
> > Yesu
> > __________
> > DISCLAIMER:
> > -----------------------------------------------------------------------------------------------------------------------
> >
> > The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> > It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
> > this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
> > Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
> > this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
> > received this email in error please delete it and notify the sender immediately. Before opening any mail and
> > attachments please check them for viruses and defect.
> >
> > -----------------------------------------------------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter Windows to call Solaris Script
Posted by sebb <se...@gmail.com>.
If you want to measure the time taken, then use a BSF Sampler or the
BSH Sampler.
It's probably easiest to create a Windows batch file which runs ssh,
and once that is working, plug it into JMeter.
Putty has a command-line ssh tool 'plink'.
On 20/08/2009, Noel O'Brien <no...@newbay.com> wrote:
> You could make an ssh connection via BSFPostProcessor (in e.g. Groovy) and execute shell scripts on the remote machine
>
> Regards,
>
> Noel
>
>
> ----- "Yesu Grover, Noida" <ye...@hcl.in> wrote:
> >
> > Hi All,
> >
> > We are using JMeter on Windows platform.Is there any way to call and execute a shell scripts stored in Solaris O.S. Server
> >
> > Thanks
> > Yesu
> > __________
> > DISCLAIMER:
> > -----------------------------------------------------------------------------------------------------------------------
> >
> > The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> > It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
> > this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
> > Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
> > this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
> > received this email in error please delete it and notify the sender immediately. Before opening any mail and
> > attachments please check them for viruses and defect.
> >
> > -----------------------------------------------------------------------------------------------------------------------
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
> >
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Jmeter Windows to call Solaris Script
Posted by Noel O'Brien <no...@newbay.com>.
You could make an ssh connection via BSFPostProcessor (in e.g. Groovy) and execute shell scripts on the remote machine
Regards,
Noel
----- "Yesu Grover, Noida" <ye...@hcl.in> wrote:
>
> Hi All,
>
> We are using JMeter on Windows platform.Is there any way to call and execute a shell scripts stored in Solaris O.S. Server
>
> Thanks
> Yesu
> __________
> DISCLAIMER:
> -----------------------------------------------------------------------------------------------------------------------
>
> The contents of this e-mail and any attachment(s) are confidential and intended for the named recipient(s) only.
> It shall not attach any liability on the originator or HCL or its affiliates. Any views or opinions presented in
> this email are solely those of the author and may not necessarily reflect the opinions of HCL or its affiliates.
> Any form of reproduction, dissemination, copying, disclosure, modification, distribution and / or publication of
> this message without the prior written consent of the author of this e-mail is strictly prohibited. If you have
> received this email in error please delete it and notify the sender immediately. Before opening any mail and
> attachments please check them for viruses and defect.
>
> -----------------------------------------------------------------------------------------------------------------------
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>