The shell scripts are wrappers for the /bin/jmeter script and call that file 
on the last line. The jmeter script includes some extra JVM options for heap 
sizing / GC etc - although if you want to change these you should be setting 
them in /bin/setenv.sh (or don't, I won't tell anyone).

With that said though - I'm not sure what executing the shell script /jmeter.sh 
gives you over just invoking the jmeter file directly. Maybe there was a more 
defined difference at one point and the contents duplicated between the two to 
avoid confusion?



Kieran Lynch 

WM Reply
Nova South
160 Victoria Street, Westminster
London SW1E 5LB - UK 
phone: +44 (0)20 7730 6000
[email protected]
www.reply.com
-----Original Message-----
From: Hayden <[email protected]> 
Sent: 20 December 2021 21:21
To: [email protected]
Subject: Re: Why two jmeter executables for Linux?

I believe it is documented here,: 
https://jmeter.apache.org/usermanual/component_reference.html#HTTP_Mirror_Server

 > The HTTP Mirror Server is a very simple HTTP server - it simply mirrors the 
 > data sent to it. This is useful for checking the content of HTTP requests.

Hayden

On 12/20/2021 14:02, Tong Sun wrote:
> Hi,
> 
> Why two pairs of jmeter executables for Linux?
> 
> E.g.,
> 
> jmeter/bin/jmeter vs jmeter/bin/jmeter.sh or jmeter/bin/mirror-server 
> vs jmeter/bin/mirror-server.sh
> 
> I took a look at jmeter/bin/jmeter vs jmeter/bin/jmeter.sh and found 
> them quite similar. What's the point of proving two almost identical 
> scripts? thx
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to