From commits-return-10406-apmail-jmeter-commits-archive=jmeter.apache.org@jmeter.apache.org Sun Feb 16 13:40:27 2020 Return-Path: X-Original-To: apmail-jmeter-commits-archive@minotaur.apache.org Delivered-To: apmail-jmeter-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [207.244.88.153]) by minotaur.apache.org (Postfix) with SMTP id B4B00197FB for ; Sun, 16 Feb 2020 13:40:26 +0000 (UTC) Received: (qmail 1493 invoked by uid 500); 16 Feb 2020 13:40:26 -0000 Delivered-To: apmail-jmeter-commits-archive@jmeter.apache.org Received: (qmail 1467 invoked by uid 500); 16 Feb 2020 13:40:26 -0000 Mailing-List: contact commits-help@jmeter.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@jmeter.apache.org Delivered-To: mailing list commits@jmeter.apache.org Received: (qmail 1458 invoked by uid 99); 16 Feb 2020 13:40:26 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 16 Feb 2020 13:40:26 +0000 Received: by gitbox.apache.org (ASF Mail Server at gitbox.apache.org, from userid 33) id 0EC618B69B; Sun, 16 Feb 2020 13:40:26 +0000 (UTC) Date: Sun, 16 Feb 2020 13:40:25 +0000 To: "commits@jmeter.apache.org" Subject: [jmeter] branch master updated: Correcting client.rmi.localport port allocation description in remote MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Message-ID: <158186042596.8041.4219552979361703382@gitbox.apache.org> From: pmouawad@apache.org X-Git-Host: gitbox.apache.org X-Git-Repo: jmeter X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: fee5548860f8dfe806a466dc0d90ffdb8a2570f4 X-Git-Newrev: 1d4d59c703ace9a426c5808cecf29bdba245442f X-Git-Rev: 1d4d59c703ace9a426c5808cecf29bdba245442f X-Git-NotificationType: ref_changed_plus_diff X-Git-Multimail-Version: 1.5.dev Auto-Submitted: auto-generated This is an automated email from the ASF dual-hosted git repository. pmouawad pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/jmeter.git The following commit(s) were added to refs/heads/master by this push: new 1d4d59c Correcting client.rmi.localport port allocation description in remote 1d4d59c is described below commit 1d4d59c703ace9a426c5808cecf29bdba245442f Author: pmouawad AuthorDate: Sun Feb 16 14:40:05 2020 +0100 Correcting client.rmi.localport port allocation description in remote This resolves #552 --- xdocs/changes.xml | 2 ++ xdocs/usermanual/properties_reference.xml | 6 ++++-- xdocs/usermanual/remote-test.xml | 18 ++++++++---------- 3 files changed, 14 insertions(+), 12 deletions(-) diff --git a/xdocs/changes.xml b/xdocs/changes.xml index 2a80d41..8891394 100644 --- a/xdocs/changes.xml +++ b/xdocs/changes.xml @@ -173,6 +173,7 @@ to view the last release notes of version 5.2.1.
  • 547Correct Log level documentation. Contributed by jmetertea
  • 548Correct typos in documentation. Contributed by jmetertea
  • 64022Correct Chinese translation for "Ignore Sub-Controller blocks". Provided by yangxiaofei77 (yangxiaofei77 at gmail.com)
  • +
  • 552Fix client.rmi.localport port allocation description
  • General

    @@ -192,6 +193,7 @@ to view the last release notes of version 5.2.1.
  • ray7219
  • Sebastian Boga (sebastian.boga at endava.com)
  • Liu XP (liu_xp2003 at sina.com)
  • +
  • anant-93 (https://github.com/anant-93)
  • We also thank bug reporters who helped us improve JMeter.

      diff --git a/xdocs/usermanual/properties_reference.xml b/xdocs/usermanual/properties_reference.xml index 79d4a8e..bd74dd9 100644 --- a/xdocs/usermanual/properties_reference.xml +++ b/xdocs/usermanual/properties_reference.xml @@ -333,8 +333,10 @@ JMETER-SERVER Parameter that controls the RMI port used by the RemoteSampleListenerImpl (The Controller)
      - Default value is 0, which means port is randomly assigned. - You may need to open a port in the firewall on the Controller machine. + Default value is 0, which means port is randomly assigned. + If this is non-zero, it will be used as the base for local port numbers for the client engine. + At the moment JMeter will open up to three ports beginning with the port defined in this property. + You may need to open corresponding ports in the firewall on the Controller machine. Defaults to: 0
      diff --git a/xdocs/usermanual/remote-test.xml b/xdocs/usermanual/remote-test.xml index 9d81f22..81cb29f 100644 --- a/xdocs/usermanual/remote-test.xml +++ b/xdocs/usermanual/remote-test.xml @@ -87,15 +87,11 @@ Alternatively use different content in any datafiles used by the test

      To run JMeter in remote node, start the JMeter server component on all machines you wish to run on by running the JMETER_HOME/bin/jmeter-server (unix) or JMETER_HOME/bin/jmeter-server.bat (windows) script.

      Note that there can only be one JMeter server on each node unless different RMI ports are used.

      -

      Since JMeter 2.3.1, the JMeter server application starts the RMI registry itself; -there is no need to start RMI registry separately. -To revert to the previous behaviour, define the JMeter property server.rmi.create=false on the server host systems. -

      +

      The JMeter server application starts the RMI registry itself; there is no need to start RMI registry separately.

      -By default, RMI uses dynamic ports for the JMeter server engine. This can cause problems for firewalls, -so you can define the JMeter property server.rmi.localport -to control this port numbers. -If this is non-zero, it will be used as the base for local port numbers for the server engine. At the moment JMeter will open up to three ports beginning with the port defined in server.rmi.localport. +By default, RMI uses a dynamic port for the JMeter server engine. This can cause problems for firewalls, +so you can define the JMeter property server.rmi.localport to control this port number. +it will be used as the local port number for the server engine.

      Step 2: Add the server IP to your client's Properties File

      Edit the properties file on the controlling JMeter machine. In JMETER_HOME/bin/jmeter.properties, @@ -201,8 +197,10 @@ Use the "-s" option with the jmeter startup script ("jmeter -

      JMeter/RMI requires a connection from the client to the server. This will use the port you chose, default 1099.
      JMeter/RMI also requires a reverse connection in order to return sample results from the server to the client.
      -This will use a high-numbered port.
      -This port can be controlled by jmeter property called client.rmi.localport in jmeter.properties.
      +These will use high-numbered ports.
      +These ports can be controlled by jmeter property called client.rmi.localport in jmeter.properties.
      +If this is non-zero, it will be used as the base for local port numbers for the client engine. At the moment JMeter will open +up to three ports beginning with the port defined in client.rmi.localport. If there are any firewalls or other network filters between JMeter client and server, you will need to make sure that they are set up to allow the connections through. If necessary, use monitoring software to show what traffic is being generated.