Am 15.02.2018 um 14:48 schrieb Stuart Kenworthy:
Thanks Felix. I have been trying to use this in the past but find it
unreliable, especially when dealing with properties you may want in
jmeter.properties or system.properties and don't have write access to the
jmeter directory.
Can you give an example of this behaviour? If it is unreliable it should
be fixed. If it is unexpected (but deterministic) it should be documented.
Felix
I have written a jmeter_conf package which merges default jmeter properties
files with custom properties files even if you don't have write access to the
jmeter install, something we have come across quite a lot.
https://github.com/stuartjk1606/jmeter_conf
Either way, for large (or small in this case) counts of properties, a
*.properties file is the way to go.
-----Original Message-----
From: Felix Schumacher [mailto:felix.schumac...@internetallee.de]
Sent: 15 February 2018 13:27
To: JMeter Users List <user@jmeter.apache.org>
Subject: Re: limit to number of JMeter properties on command line
Am 15.02.2018 14:12, schrieb Stuart Kenworthy:
This is either a Java or shell limitation. I had a similar problem.
One way around it is to maintain the list in user.properties or
system.properties where your entries would look like
ONE=1
TWO=2
THREE=3
They will still be used the same in the script.
Or you can try to use the --addprop option to use your own properties file.
(http://jmeter.apache.org/usermanual/get-started.html#options)
Felix
-----Original Message-----
From: Greg Phillips [mailto:greg.phill...@hl.co.uk]
Sent: 15 February 2018 11:37
To: user@jmeter.apache.org
Subject: limit to number of JMeter properties on command line
Is there a limit to the number of properties you can pass through to a
script using -J?
My script works fine if you pass in three parameters, but produces a
segmentation fault if you pass in four.
i.e. this works:
java -jar ApacheJMeter.jar -n -t script.jmx -JONE=1 -JTWO=2 -JTHREE=3
and this produces a seg. fault:
java -jar ApacheJMeter.jar -n -t script.jmx -JONE=1 -JTWO=2 -JTHREE=3
-JFOUR=4
Tested on both 3.2 and 4.0.
======================================================================
=======
This email is intended solely for the recipient and is confidential
and not for third party unauthorised distribution. If an addressing or
transmission error has misdirected this email, please notify the
author by replying to this email or notifying the system manager
(online.secur...@hl.co.uk). If you are not the intended recipient you
must not disclose, distribute, copy, print or rely on this email.
Any opinions expressed in this document are those of the author and do
not necessarily reflect the opinions of Hargreaves Lansdown. In
addition, staff are not authorised to enter into any contract through
email and therefore nothing contained herein should be construed as
such. Hargreaves Lansdown makes no warranty as to the accuracy or
completeness of any information contained within this email. In
particular, Hargreaves Lansdown does not accept responsibility for any
changes made to this email after it was sent.
Hargreaves Lansdown Asset Management Limited (Company Registration No
1896481), Hargreaves Lansdown Fund Managers Limited (No 2707155) and
Hargreaves Lansdown Advisory Services Limited (No 3509545) are
authorised and regulated by the Financial Conduct Authority and
registered in England and Wales. The registered office for all
companies is One College Square South, Anchor Road, Bristol, BS1 5HL.
Telephone: 0117 988 9880
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: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org
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: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscr...@jmeter.apache.org
For additional commands, e-mail: user-h...@jmeter.apache.org