jmeter-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stuart Kenworthy <Stuart.Kenwor...@bjss.com>
Subject RE: limit to number of JMeter properties on command line
Date Thu, 15 Feb 2018 13:12:37 GMT
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.

-----Original Message-----
From: Greg Phillips [mailto:Greg.Phillips@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.security@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-unsubscribe@jmeter.apache.org
For additional commands, e-mail: user-help@jmeter.apache.org


Mime
View raw message