-----Original Message-----
From: Philippe Mouawad [mailto:[email protected] <javascript:;>]
Sent: 01 March 2017 18:04
To: JMeter Users List <[email protected] <javascript:;>>
Subject: Re: Test Duration
Hello,
The methods described by Antonio and Sebb work perfectly well.
If you have any issue, please provide more details and an example test
plan.
No need to switch to old 2.13 for this.
Regards
On Wednesday, March 1, 2017, Stuart Kenworthy <[email protected]
<javascript:;>>
wrote:
Wow I take that back, it now seems that schedule in v3.1 does seem to
do what you expect. May want to test properly if using 2.13.
-----Original Message-----
From: Stuart Kenworthy [mailto:[email protected] <javascript:;>
<javascript:;>]
Sent: 01 March 2017 16:33
To: JMeter Users List <[email protected] <javascript:;>
<javascript:;>>
Subject: RE: Test Duration
Does this actually work? In my experience, running a scheduler in
command line does not work as expected, or at all.
-----Original Message-----
From: Antonio Gomes Rodrigues [mailto:[email protected] <javascript:;>
<javascript:;>]
Sent: 01 March 2017 16:30
To: JMeter Users List <[email protected] <javascript:;>
<javascript:;>>
Subject: Re: Test Duration
Put ${__P(RUNTIME,100) in the "Thread Group" element in "Duration
(seconds)" input
And when you run JMeter, use -JRUNTIME=99 in the command line
Instead of 99, put the desired test duration in seconds
2017-03-01 17:25 GMT+01:00 Stuart Kenworthy <[email protected]
<javascript:;>
<javascript:;>>:
And how would this be used to control run time within the script
itself?
-----Original Message-----
From: sebb [mailto:[email protected] <javascript:;> <javascript:;>]
Sent: 01 March 2017 16:24
To: JMeter Users List <[email protected] <javascript:;>
<javascript:;>>
Subject: Re: Test Duration
Simpler to use a property reference, for example:
${__P(RUNTIME,100)
Then use -JRUNTIME=99 on the command line
On 1 March 2017 at 16:18, Antonio Gomes Rodrigues <[email protected]
<javascript:;>
<javascript:;>>
wrote:
Hi,
Put a JMeter variable in the "Thread Group" element in "Duration
(seconds)"
input
And use -J command line option to define it
Antonio
2017-03-01 17:14 GMT+01:00 Bo Bodnar <[email protected]
<javascript:;>
<javascript:;>>:
This is exactly the problem that came up in our test organization.
We couldn't figure it out (running jmeter for a specified time
from the command line) so, our solution is to have a shell script
start jmeter and, after the required time, calls shutdown.sh. The
whole thing works using nohup and works like a charm.
Bo
*Bohdan L. Bodnar*
Lead Performance Engineer
1-312-871-5163 <(312)%20871-5163>
------------------------------
*E-mail:* *[email protected] <javascript:;> <javascript:;>* <
[email protected] <javascript:;>
<javascript:;>>
222 South Riverside Plaza
Chicago, IL 60606
United States
[image: Inactive hide details for Stuart Barlow ---03/01/2017
10:04:07 AM---Hi. Is there a way to define the duration a test
should run]Stuart Barlow ---03/01/2017 10:04:07 AM---Hi. Is there
a way to define the duration a test should run via the command line?
From: Stuart Barlow <[email protected] <javascript:;>
<javascript:;>>
To: <[email protected] <javascript:;> <javascript:;>>
Date: 03/01/2017 10:04 AM
Subject: Test Duration
------------------------------
Hi. Is there a way to define the duration a test should run via
the command line?
Is there a JMeter property available? Then it could be set using
the -J command line option
-J[prop_name]=[value]
defines a local JMeter property.
Sorry if this was asked before.
Thanks
Stuart
-----------------------------------------------------------------
--
-- To unsubscribe, e-mail: [email protected]
<javascript:;>
<javascript:;>
For additional commands, e-mail: [email protected]
<javascript:;>
<javascript:;>
--------------------------------------------------------------------
- To unsubscribe, e-mail: [email protected]
<javascript:;>
<javascript:;>
For additional commands, e-mail: [email protected]
<javascript:;>
<javascript:;>
The information included in this email and any files transmitted
with it may contain information that is confidential and it must not
be used by, or its contents or attachments copied or disclosed to,
persons other than the intended addressee. If you have received this
email in error, please notify BJSS. In the absence of written
agreement to the contrary BJSS' relevant standard terms of contract
for any work to be undertaken will apply. Please carry out virus or
such other checks as you consider appropriate in respect of this
email. BJSS does not accept responsibility for any adverse effect
upon your system or data in relation to this email or any files
transmitted with it. BJSS Limited, a company registered in England
and Wales (Company Number 2777575), VAT Registration Number
613295452, Registered
Office Address, First Floor, Coronet House, Queen Street, Leeds, LS1 2TW.
--------------------------------------------------------------------
- To unsubscribe, e-mail: [email protected]
<javascript:;>
<javascript:;>
For additional commands, e-mail: [email protected]
<javascript:;>
<javascript:;>
The information included in this email and any files transmitted with
it may contain information that is confidential and it must not be
used by, or its contents or attachments copied or disclosed to,
persons other than the intended addressee. If you have received this
email in error, please notify BJSS. In the absence of written
agreement to the contrary BJSS' relevant standard terms of contract
for any work to be undertaken will apply. Please carry out virus or
such other checks as you consider appropriate in respect of this
email. BJSS does not accept responsibility for any adverse effect upon
your system or data in relation to this email or any files transmitted
with it. BJSS Limited, a company registered in England and Wales
(Company Number 2777575), VAT Registration Number 613295452, Registered
Office Address, First Floor, Coronet House, Queen Street, Leeds, LS1 2TW.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<javascript:;>
<javascript:;> For additional commands, e-mail:
[email protected] <javascript:;> <javascript:;>
The information included in this email and any files transmitted with
it may contain information that is confidential and it must not be
used by, or its contents or attachments copied or disclosed to,
persons other than the intended addressee. If you have received this
email in error, please notify BJSS. In the absence of written
agreement to the contrary BJSS' relevant standard terms of contract
for any work to be undertaken will apply. Please carry out virus or
such other checks as you consider appropriate in respect of this
email. BJSS does not accept responsibility for any adverse effect upon
your system or data in relation to this email or any files transmitted
with it. BJSS Limited, a company registered in England and Wales
(Company Number 2777575), VAT Registration Number 613295452, Registered
Office Address, First Floor, Coronet House, Queen Street, Leeds, LS1 2TW.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
<javascript:;>
<javascript:;> For additional commands, e-mail:
[email protected] <javascript:;> <javascript:;>
--
Cordialement.
Philippe Mouawad.
The information included in this email and any files transmitted with it
may contain information that is confidential and it must not be used by, or
its contents or attachments copied or disclosed to, persons other than the
intended addressee. If you have received this email in error, please notify
BJSS. In the absence of written agreement to the contrary BJSS' relevant
standard terms of contract for any work to be undertaken will apply. Please
carry out virus or such other checks as you consider appropriate in respect
of this email. BJSS does not accept responsibility for any adverse effect
upon your system or data in relation to this email or any files transmitted
with it. BJSS Limited, a company registered in England and Wales (Company
Number 2777575), VAT Registration Number 613295452, Registered Office
Address, First Floor, Coronet House, Queen Street, Leeds, LS1 2TW.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected] <javascript:;>
For additional commands, e-mail: [email protected]
<javascript:;>