You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by "Selvam T, Palani" <Pa...@altisource.com> on 2011/08/04 15:26:39 UTC
Non GUI mode parameters
Hi,
I would like to pass thread group details like no of users & ramp up
period through non GUI mode. What are the script properties, can I
change through non-GUI mode execution?
Thanks & Regards,
Palani Selvam
*******************************************************************************************************
This E-mail message and its attachments, if any are intended solely for the use of the addressee hereof. In addition, this message and the attachments, if any may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission.
Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. If you have received this message in error, please promptly notify the sender by reply E-mail and immediately delete this message from your system. Instructions transmitted over this system are not binding on us until they are confirmed by us. Message transmission is not guaranteed to be secure or free of software virus. While Altisource Portfolio Solutions and its subsidiaries collectively "Altisource" takes every reasonable precaution to minimize such risks, Altisource cannot accept liability for any damage sustained by you or any third party as a result of software viruses.
*******************************************************************************************************
RE: Non GUI mode parameters
Posted by "Selvam T, Palani" <Pa...@altisource.com>.
Will,
Assume that I'm passing data through CSV data. If I use like
${__P(usercount,10)}, will it be over-rided throung cmd line input?
Thanks & Regards,
Palani Selvam
-----Original Message-----
From: Will Roden [mailto:wroden@homeaway.com]
Sent: Thursday, August 04, 2011 7:17 PM
To: JMeter Users List; mkosta@gmail.com
Subject: Re: Non GUI mode parameters
Create a user defined variable named USERCOUNT and give it the value
${__P(usercount,10)} . Give your the #threads value in the threadgroup
the
value ${USERCOUNT}.
Now the default value for USERCOUNT is 10, but you can override it from
the
command line with -Jusercount=1000 . If you are executing on remote
agents,
you will need to also add -Gusercount=1000 to make them see the
overridden
value.
-Will
On 8/4/11 8:37 AM, "Selvam T, Palani" <Pa...@altisource.com>
wrote:
> All,
>
> Is there any way to override the script values through command line
> inputs?
>
> Thanks & Regards,
> Palani Selvam
>
>
> -----Original Message-----
> From: Konstantin S. [mailto:mkosta@gmail.com]
> Sent: Thursday, August 04, 2011 7:02 PM
> To: JMeter Users List
> Subject: Re: Non GUI mode parameters
>
> Create file with properties
> In your test plan read them from the file
> So when you start in NON gui mode you will have editable external
> properties. Without need to specify them in command line.
>
>
> On Thu, Aug 4, 2011 at 4:26 PM, Selvam T, Palani <
> Palani.SelvamT@altisource.com> wrote:
>
>> Hi,
>>
>>
>>
>> I would like to pass thread group details like no of users & ramp up
>> period through non GUI mode. What are the script properties, can I
>> change through non-GUI mode execution?
>>
>>
>>
>>
>>
>> Thanks & Regards,
>>
>> Palani Selvam
>
>
>
>
************************************************************************
******
> *************************
>
> This E-mail message and its attachments, if any are intended solely
for the
> use of the addressee hereof. In addition, this message and the
attachments, if
> any may contain information that is confidential, privileged and
exempt from
> disclosure under applicable law. If you are not the intended recipient
of this
> message, you are prohibited from reading, disclosing, reproducing,
> distributing, disseminating or otherwise using this transmission.
>
>
> Delivery of this message to any person other than the intended
recipient is
> not intended to waive any right or privilege. If you have received
this
> message in error, please promptly notify the sender by reply E-mail
and
> immediately delete this message from your system. Instructions
transmitted
> over this system are not binding on us until they are confirmed by us.
Message
> transmission is not guaranteed to be secure or free of software virus.
While
> Altisource Portfolio Solutions and its subsidiaries collectively
"Altisource"
> takes every reasonable precaution to minimize such risks, Altisource
cannot
> accept liability for any damage sustained by you or any third party as
a
> result of software viruses.
>
>
************************************************************************
******
> *************************
>
>
> ---------------------------------------------------------------------
> 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
*******************************************************************************************************
This E-mail message and its attachments, if any are intended solely for the use of the addressee hereof. In addition, this message and the attachments, if any may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission.
Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. If you have received this message in error, please promptly notify the sender by reply E-mail and immediately delete this message from your system. Instructions transmitted over this system are not binding on us until they are confirmed by us. Message transmission is not guaranteed to be secure or free of software virus. While Altisource Portfolio Solutions and its subsidiaries collectively "Altisource" takes every reasonable precaution to minimize such risks, Altisource cannot accept liability for any damage sustained by you or any third party as a result of software viruses.
*******************************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
RE: Non GUI mode parameters
Posted by "Selvam T, Palani" <Pa...@altisource.com>.
Konstantin,
I searched and found always just passing jmeter script and result file
name.. Even in 2.4.5 I could not find explicit examples.
Thanks & Regards,
Palani Selvam
-----Original Message-----
From: Konstantin S. [mailto:mkosta@gmail.com]
Sent: Thursday, August 04, 2011 7:23 PM
To: Will Roden
Cc: JMeter Users List
Subject: Re: Non GUI mode parameters
And it is described in chapter
2.4.5 Overriding Properties Via The Command Line
which takes like 5 minutes to find.
But who reads docs if there are mailing lists, right :)
On Thu, Aug 4, 2011 at 4:47 PM, Will Roden <wr...@homeaway.com> wrote:
> Create a user defined variable named USERCOUNT and give it the value
> ${__P(usercount,10)} . Give your the #threads value in the
threadgroup the
> value ${USERCOUNT}.
>
> Now the default value for USERCOUNT is 10, but you can override it
from the
> command line with -Jusercount=1000 . If you are executing on remote
> agents,
> you will need to also add -Gusercount=1000 to make them see the
overridden
> value.
>
> -Will
>
> On 8/4/11 8:37 AM, "Selvam T, Palani" <Pa...@altisource.com>
> wrote:
>
> > All,
> >
> > Is there any way to override the script values through command line
> > inputs?
> >
> > Thanks & Regards,
> > Palani Selvam
> >
> >
> > -----Original Message-----
> > From: Konstantin S. [mailto:mkosta@gmail.com]
> > Sent: Thursday, August 04, 2011 7:02 PM
> > To: JMeter Users List
> > Subject: Re: Non GUI mode parameters
> >
> > Create file with properties
> > In your test plan read them from the file
> > So when you start in NON gui mode you will have editable external
> > properties. Without need to specify them in command line.
> >
> >
> > On Thu, Aug 4, 2011 at 4:26 PM, Selvam T, Palani <
> > Palani.SelvamT@altisource.com> wrote:
> >
> >> Hi,
> >>
> >>
> >>
> >> I would like to pass thread group details like no of users & ramp
up
> >> period through non GUI mode. What are the script properties, can I
> >> change through non-GUI mode execution?
> >>
> >>
> >>
> >>
> >>
> >> Thanks & Regards,
> >>
> >> Palani Selvam
> >
> >
> >
> >
>
************************************************************************
******
> > *************************
> >
> > This E-mail message and its attachments, if any are intended solely
for
> the
> > use of the addressee hereof. In addition, this message and the
> attachments, if
> > any may contain information that is confidential, privileged and
exempt
> from
> > disclosure under applicable law. If you are not the intended
recipient of
> this
> > message, you are prohibited from reading, disclosing, reproducing,
> > distributing, disseminating or otherwise using this transmission.
> >
> >
> > Delivery of this message to any person other than the intended
recipient
> is
> > not intended to waive any right or privilege. If you have received
this
> > message in error, please promptly notify the sender by reply E-mail
and
> > immediately delete this message from your system. Instructions
> transmitted
> > over this system are not binding on us until they are confirmed by
us.
> Message
> > transmission is not guaranteed to be secure or free of software
virus.
> While
> > Altisource Portfolio Solutions and its subsidiaries collectively
> "Altisource"
> > takes every reasonable precaution to minimize such risks, Altisource
> cannot
> > accept liability for any damage sustained by you or any third party
as a
> > result of software viruses.
> >
> >
>
************************************************************************
******
> > *************************
> >
> >
> >
---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
>
>
*******************************************************************************************************
This E-mail message and its attachments, if any are intended solely for the use of the addressee hereof. In addition, this message and the attachments, if any may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission.
Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. If you have received this message in error, please promptly notify the sender by reply E-mail and immediately delete this message from your system. Instructions transmitted over this system are not binding on us until they are confirmed by us. Message transmission is not guaranteed to be secure or free of software virus. While Altisource Portfolio Solutions and its subsidiaries collectively "Altisource" takes every reasonable precaution to minimize such risks, Altisource cannot accept liability for any damage sustained by you or any third party as a result of software viruses.
*******************************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Non GUI mode parameters
Posted by "Konstantin S." <mk...@gmail.com>.
And it is described in chapter
2.4.5 Overriding Properties Via The Command Line
which takes like 5 minutes to find.
But who reads docs if there are mailing lists, right :)
On Thu, Aug 4, 2011 at 4:47 PM, Will Roden <wr...@homeaway.com> wrote:
> Create a user defined variable named USERCOUNT and give it the value
> ${__P(usercount,10)} . Give your the #threads value in the threadgroup the
> value ${USERCOUNT}.
>
> Now the default value for USERCOUNT is 10, but you can override it from the
> command line with -Jusercount=1000 . If you are executing on remote
> agents,
> you will need to also add -Gusercount=1000 to make them see the overridden
> value.
>
> -Will
>
> On 8/4/11 8:37 AM, "Selvam T, Palani" <Pa...@altisource.com>
> wrote:
>
> > All,
> >
> > Is there any way to override the script values through command line
> > inputs?
> >
> > Thanks & Regards,
> > Palani Selvam
> >
> >
> > -----Original Message-----
> > From: Konstantin S. [mailto:mkosta@gmail.com]
> > Sent: Thursday, August 04, 2011 7:02 PM
> > To: JMeter Users List
> > Subject: Re: Non GUI mode parameters
> >
> > Create file with properties
> > In your test plan read them from the file
> > So when you start in NON gui mode you will have editable external
> > properties. Without need to specify them in command line.
> >
> >
> > On Thu, Aug 4, 2011 at 4:26 PM, Selvam T, Palani <
> > Palani.SelvamT@altisource.com> wrote:
> >
> >> Hi,
> >>
> >>
> >>
> >> I would like to pass thread group details like no of users & ramp up
> >> period through non GUI mode. What are the script properties, can I
> >> change through non-GUI mode execution?
> >>
> >>
> >>
> >>
> >>
> >> Thanks & Regards,
> >>
> >> Palani Selvam
> >
> >
> >
> >
> ******************************************************************************
> > *************************
> >
> > This E-mail message and its attachments, if any are intended solely for
> the
> > use of the addressee hereof. In addition, this message and the
> attachments, if
> > any may contain information that is confidential, privileged and exempt
> from
> > disclosure under applicable law. If you are not the intended recipient of
> this
> > message, you are prohibited from reading, disclosing, reproducing,
> > distributing, disseminating or otherwise using this transmission.
> >
> >
> > Delivery of this message to any person other than the intended recipient
> is
> > not intended to waive any right or privilege. If you have received this
> > message in error, please promptly notify the sender by reply E-mail and
> > immediately delete this message from your system. Instructions
> transmitted
> > over this system are not binding on us until they are confirmed by us.
> Message
> > transmission is not guaranteed to be secure or free of software virus.
> While
> > Altisource Portfolio Solutions and its subsidiaries collectively
> "Altisource"
> > takes every reasonable precaution to minimize such risks, Altisource
> cannot
> > accept liability for any damage sustained by you or any third party as a
> > result of software viruses.
> >
> >
> ******************************************************************************
> > *************************
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
> >
>
>
Re: Not getting the final confirmation Number from the order submitted
Posted by itsbritto <br...@gmail.com>.
may be insufficient POST values or wrong URL mapping
On Fri, Oct 7, 2011 at 11:14 PM, Bhuiyan, Hasan (Hasan) <
Mahmud.Bhuiyan@searshc.com> wrote:
> Hi Friends,
>
> I have a script that places an order. Looks like it works upto the step
> before it "place order". I am not getting any response back with the
> confirmation number at the following step. It's not giving any error
> either.
> Can anyone help?
>
>
> Request:
> POST data:
> csrfToken=5268119723947658705&buttonValue=Place+Order&nbActionFormEncodi
> ng=UTF-8
>
> Response:
> Empty....
>
>
> Best regards,
> Hasan
>
> This message, including any attachments, is the property of Sears Holdings
> Corporation and/or one of its subsidiaries. It is confidential and may
> contain proprietary or legally privileged information. If you are not the
> intended recipient, please delete it without reading the contents. Thank
> you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
--
Re: Not getting the final confirmation Number from the order submitted
Posted by Deepak Shetty <sh...@gmail.com>.
Most of these type of cases work out to one of the two
a. You aren't sending back the correct session id (usually you havent added
a cookie manager) so the server rejects your request
b. Your application uses dynamic data and you aren't extracting the data and
sending it back correctly (for.e.g the csrfToken). usually the response has
a error message or the application logs have enopugh information to tell
you what the problem is. Failing that you have to compare your browser
request/repsone with Jmeter request/response for every step.(Search the mail
archives)
regards
deepak
On Fri, Oct 7, 2011 at 10:44 AM, Bhuiyan, Hasan (Hasan) <
Mahmud.Bhuiyan@searshc.com> wrote:
> Hi Friends,
>
> I have a script that places an order. Looks like it works upto the step
> before it "place order". I am not getting any response back with the
> confirmation number at the following step. It's not giving any error
> either.
> Can anyone help?
>
>
> Request:
> POST data:
> csrfToken=5268119723947658705&buttonValue=Place+Order&nbActionFormEncodi
> ng=UTF-8
>
> Response:
> Empty....
>
>
> Best regards,
> Hasan
>
> This message, including any attachments, is the property of Sears Holdings
> Corporation and/or one of its subsidiaries. It is confidential and may
> contain proprietary or legally privileged information. If you are not the
> intended recipient, please delete it without reading the contents. Thank
> you.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: Non GUI mode parameters
Posted by sebb <se...@gmail.com>.
On 10 October 2011 05:22, itsbritto <br...@gmail.com> wrote:
> Hi all,
>
> I'm too tried to parametrize the scheduler field by a user defined
> variable.but it doesn't work.
Using variables for the delay and duration does work.
> Is thera any other alternate for this?
>
>
>
> On Fri, Oct 7, 2011 at 3:46 AM, sebb <se...@gmail.com> wrote:
>
>> On 6 October 2011 22:58, Deepak Shetty <sh...@gmail.com> wrote:
>> > as far as I remember , you cant do it from the GUI(which expects a date
>> > string i think) - but if you directly modify the JMX file using any
>> editor
>> > (to read value from a passed in property - note it has to be a property ,
>> > not variable) , it does work (never tested)
>> >
>> > there probably in a thread in the mail archives that mentions this.
>>
>> You can use properties in the Startup Delay and Duration fields.
>>
>> It's not possible to use variables in the Start and End Time fields,
>> but there's an easy work-round:
>> Startup Delay = Start Time - time now
>> Duration = End Time - Start Time.
>>
>> > regards
>> > deepak
>> >
>> > On Thu, Oct 6, 2011 at 2:55 PM, skchoppala <sk...@gmail.com> wrote:
>> >
>> >> After putting first variable in start time filed the end time input
>> filed
>> >> become non-editable. I hope this wont work.
>> >>
>> >> Thanks
>> >> skchoppala
>> >>
>> >> --
>> >> View this message in context:
>> >>
>> http://jmeter.512774.n5.nabble.com/Non-GUI-mode-parameters-tp4666306p4878052.html
>> >> Sent from the JMeter - User mailing list archive at Nabble.com.
>> >>
>> >> ---------------------------------------------------------------------
>> >> 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: Non GUI mode parameters
Posted by itsbritto <br...@gmail.com>.
Hi all,
I'm too tried to parametrize the scheduler field by a user defined
variable.but it doesn't work.Is thera any other alternate for this?
On Fri, Oct 7, 2011 at 3:46 AM, sebb <se...@gmail.com> wrote:
> On 6 October 2011 22:58, Deepak Shetty <sh...@gmail.com> wrote:
> > as far as I remember , you cant do it from the GUI(which expects a date
> > string i think) - but if you directly modify the JMX file using any
> editor
> > (to read value from a passed in property - note it has to be a property ,
> > not variable) , it does work (never tested)
> >
> > there probably in a thread in the mail archives that mentions this.
>
> You can use properties in the Startup Delay and Duration fields.
>
> It's not possible to use variables in the Start and End Time fields,
> but there's an easy work-round:
> Startup Delay = Start Time - time now
> Duration = End Time - Start Time.
>
> > regards
> > deepak
> >
> > On Thu, Oct 6, 2011 at 2:55 PM, skchoppala <sk...@gmail.com> wrote:
> >
> >> After putting first variable in start time filed the end time input
> filed
> >> become non-editable. I hope this wont work.
> >>
> >> Thanks
> >> skchoppala
> >>
> >> --
> >> View this message in context:
> >>
> http://jmeter.512774.n5.nabble.com/Non-GUI-mode-parameters-tp4666306p4878052.html
> >> Sent from the JMeter - User mailing list archive at Nabble.com.
> >>
> >> ---------------------------------------------------------------------
> >> 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: Non GUI mode parameters
Posted by sebb <se...@gmail.com>.
On 6 October 2011 22:58, Deepak Shetty <sh...@gmail.com> wrote:
> as far as I remember , you cant do it from the GUI(which expects a date
> string i think) - but if you directly modify the JMX file using any editor
> (to read value from a passed in property - note it has to be a property ,
> not variable) , it does work (never tested)
>
> there probably in a thread in the mail archives that mentions this.
You can use properties in the Startup Delay and Duration fields.
It's not possible to use variables in the Start and End Time fields,
but there's an easy work-round:
Startup Delay = Start Time - time now
Duration = End Time - Start Time.
> regards
> deepak
>
> On Thu, Oct 6, 2011 at 2:55 PM, skchoppala <sk...@gmail.com> wrote:
>
>> After putting first variable in start time filed the end time input filed
>> become non-editable. I hope this wont work.
>>
>> Thanks
>> skchoppala
>>
>> --
>> View this message in context:
>> http://jmeter.512774.n5.nabble.com/Non-GUI-mode-parameters-tp4666306p4878052.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>> ---------------------------------------------------------------------
>> 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
Not getting the final confirmation Number from the order submitted
Posted by "Bhuiyan, Hasan (Hasan)" <Ma...@searshc.com>.
Hi Friends,
I have a script that places an order. Looks like it works upto the step
before it "place order". I am not getting any response back with the
confirmation number at the following step. It's not giving any error
either.
Can anyone help?
Request:
POST data:
csrfToken=5268119723947658705&buttonValue=Place+Order&nbActionFormEncodi
ng=UTF-8
Response:
Empty....
Best regards,
Hasan
This message, including any attachments, is the property of Sears Holdings Corporation and/or one of its subsidiaries. It is confidential and may contain proprietary or legally privileged information. If you are not the intended recipient, please delete it without reading the contents. Thank you.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Non GUI mode parameters
Posted by Deepak Shetty <sh...@gmail.com>.
as far as I remember , you cant do it from the GUI(which expects a date
string i think) - but if you directly modify the JMX file using any editor
(to read value from a passed in property - note it has to be a property ,
not variable) , it does work (never tested)
there probably in a thread in the mail archives that mentions this.
regards
deepak
On Thu, Oct 6, 2011 at 2:55 PM, skchoppala <sk...@gmail.com> wrote:
> After putting first variable in start time filed the end time input filed
> become non-editable. I hope this wont work.
>
> Thanks
> skchoppala
>
> --
> View this message in context:
> http://jmeter.512774.n5.nabble.com/Non-GUI-mode-parameters-tp4666306p4878052.html
> Sent from the JMeter - User mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
>
>
Re: Non GUI mode parameters
Posted by skchoppala <sk...@gmail.com>.
After putting first variable in start time filed the end time input filed
become non-editable. I hope this wont work.
Thanks
skchoppala
--
View this message in context: http://jmeter.512774.n5.nabble.com/Non-GUI-mode-parameters-tp4666306p4878052.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Non GUI mode parameters
Posted by Bruce Ide <fl...@gmail.com>.
Eeh, some places they don't allow parameters. I haven't used the scheduler
so I don't know off the top of my head if it's one of them.
I'd expect it to work if you use property functions to hold those variables
-- pass -DSTART_TIME="..." and -DEND_TIME="..." to jmeter when you invoke
it, and then set the start and end times in the scheduler to
${__P(START_TIME,)} and ${__P(END_TIME,)}, but I'm not positive if that
would work or not.
--
Bruce Ide
FlyingRhenquest@gmail.com
Re: Non GUI mode parameters
Posted by skchoppala <sk...@gmail.com>.
Thanks Bruce,
It did work. But Thread Group is not allowing to parametrize scheduler
fields. Is there any work around for this?
skchoppala
--
View this message in context: http://jmeter.512774.n5.nabble.com/Non-GUI-mode-parameters-tp4666306p4877790.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Non GUI mode parameters
Posted by Bruce Ide <fl...@gmail.com>.
You do this in a User Defined Variables Configuration Element, or in the
test plan element configuration page. Either one will work.
--
Bruce Ide
FlyingRhenquest@gmail.com
Re: Non GUI mode parameters
Posted by skchoppala <sk...@gmail.com>.
Hi All,
Create a user defined variable named USERCOUNT and give it the value
${__P(usercount,10)}
Can any one clarify where should we create this?
Thanks
Sunil Choppala
--
View this message in context: http://jmeter.512774.n5.nabble.com/Non-GUI-mode-parameters-tp4666306p4877693.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Non GUI mode parameters
Posted by Will Roden <wr...@homeaway.com>.
Create a user defined variable named USERCOUNT and give it the value
${__P(usercount,10)} . Give your the #threads value in the threadgroup the
value ${USERCOUNT}.
Now the default value for USERCOUNT is 10, but you can override it from the
command line with -Jusercount=1000 . If you are executing on remote agents,
you will need to also add -Gusercount=1000 to make them see the overridden
value.
-Will
On 8/4/11 8:37 AM, "Selvam T, Palani" <Pa...@altisource.com> wrote:
> All,
>
> Is there any way to override the script values through command line
> inputs?
>
> Thanks & Regards,
> Palani Selvam
>
>
> -----Original Message-----
> From: Konstantin S. [mailto:mkosta@gmail.com]
> Sent: Thursday, August 04, 2011 7:02 PM
> To: JMeter Users List
> Subject: Re: Non GUI mode parameters
>
> Create file with properties
> In your test plan read them from the file
> So when you start in NON gui mode you will have editable external
> properties. Without need to specify them in command line.
>
>
> On Thu, Aug 4, 2011 at 4:26 PM, Selvam T, Palani <
> Palani.SelvamT@altisource.com> wrote:
>
>> Hi,
>>
>>
>>
>> I would like to pass thread group details like no of users & ramp up
>> period through non GUI mode. What are the script properties, can I
>> change through non-GUI mode execution?
>>
>>
>>
>>
>>
>> Thanks & Regards,
>>
>> Palani Selvam
>
>
>
> ******************************************************************************
> *************************
>
> This E-mail message and its attachments, if any are intended solely for the
> use of the addressee hereof. In addition, this message and the attachments, if
> any may contain information that is confidential, privileged and exempt from
> disclosure under applicable law. If you are not the intended recipient of this
> message, you are prohibited from reading, disclosing, reproducing,
> distributing, disseminating or otherwise using this transmission.
>
>
> Delivery of this message to any person other than the intended recipient is
> not intended to waive any right or privilege. If you have received this
> message in error, please promptly notify the sender by reply E-mail and
> immediately delete this message from your system. Instructions transmitted
> over this system are not binding on us until they are confirmed by us. Message
> transmission is not guaranteed to be secure or free of software virus. While
> Altisource Portfolio Solutions and its subsidiaries collectively "Altisource"
> takes every reasonable precaution to minimize such risks, Altisource cannot
> accept liability for any damage sustained by you or any third party as a
> result of software viruses.
>
> ******************************************************************************
> *************************
>
>
> ---------------------------------------------------------------------
> 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: Non GUI mode parameters
Posted by "Selvam T, Palani" <Pa...@altisource.com>.
All,
Is there any way to override the script values through command line
inputs?
Thanks & Regards,
Palani Selvam
-----Original Message-----
From: Konstantin S. [mailto:mkosta@gmail.com]
Sent: Thursday, August 04, 2011 7:02 PM
To: JMeter Users List
Subject: Re: Non GUI mode parameters
Create file with properties
In your test plan read them from the file
So when you start in NON gui mode you will have editable external
properties. Without need to specify them in command line.
On Thu, Aug 4, 2011 at 4:26 PM, Selvam T, Palani <
Palani.SelvamT@altisource.com> wrote:
> Hi,
>
>
>
> I would like to pass thread group details like no of users & ramp up
> period through non GUI mode. What are the script properties, can I
> change through non-GUI mode execution?
>
>
>
>
>
> Thanks & Regards,
>
> Palani Selvam
*******************************************************************************************************
This E-mail message and its attachments, if any are intended solely for the use of the addressee hereof. In addition, this message and the attachments, if any may contain information that is confidential, privileged and exempt from disclosure under applicable law. If you are not the intended recipient of this message, you are prohibited from reading, disclosing, reproducing, distributing, disseminating or otherwise using this transmission.
Delivery of this message to any person other than the intended recipient is not intended to waive any right or privilege. If you have received this message in error, please promptly notify the sender by reply E-mail and immediately delete this message from your system. Instructions transmitted over this system are not binding on us until they are confirmed by us. Message transmission is not guaranteed to be secure or free of software virus. While Altisource Portfolio Solutions and its subsidiaries collectively "Altisource" takes every reasonable precaution to minimize such risks, Altisource cannot accept liability for any damage sustained by you or any third party as a result of software viruses.
*******************************************************************************************************
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org
Re: Non GUI mode parameters
Posted by "Konstantin S." <mk...@gmail.com>.
Create file with properties
In your test plan read them from the file
So when you start in NON gui mode you will have editable external
properties. Without need to specify them in command line.
On Thu, Aug 4, 2011 at 4:26 PM, Selvam T, Palani <
Palani.SelvamT@altisource.com> wrote:
> Hi,
>
>
>
> I would like to pass thread group details like no of users & ramp up
> period through non GUI mode. What are the script properties, can I
> change through non-GUI mode execution?
>
>
>
>
>
> Thanks & Regards,
>
> Palani Selvam
>
>
>
>
>
>
>
> *******************************************************************************************************
>
> This E-mail message and its attachments, if any are intended solely for the
> use of the addressee hereof. In addition, this message and the attachments,
> if any may contain information that is confidential, privileged and exempt
> from disclosure under applicable law. If you are not the intended recipient
> of this message, you are prohibited from reading, disclosing, reproducing,
> distributing, disseminating or otherwise using this transmission.
>
>
> Delivery of this message to any person other than the intended recipient is
> not intended to waive any right or privilege. If you have received this
> message in error, please promptly notify the sender by reply E-mail and
> immediately delete this message from your system. Instructions transmitted
> over this system are not binding on us until they are confirmed by us.
> Message transmission is not guaranteed to be secure or free of software
> virus. While Altisource Portfolio Solutions and its subsidiaries
> collectively "Altisource" takes every reasonable precaution to minimize such
> risks, Altisource cannot accept liability for any damage sustained by you or
> any third party as a result of software viruses.
>
>
> *******************************************************************************************************
>
>