You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@jmeter.apache.org by bu...@apache.org on 2012/10/30 11:17:38 UTC

[Bug 54073] New: Remote execution non-gui mode -G doesn't parse parameters properly to the slave load generators

https://issues.apache.org/bugzilla/show_bug.cgi?id=54073

          Priority: P2
            Bug ID: 54073
          Assignee: issues@jmeter.apache.org
           Summary: Remote execution non-gui mode -G doesn't parse
                    parameters properly to the slave load generators
          Severity: blocker
    Classification: Unclassified
          Reporter: bimalchathurinda@gmail.com
          Hardware: PC
            Status: NEW
           Version: 2.6
         Component: Main
           Product: JMeter

Created attachment 29526
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=29526&action=edit
Slave jmeter-server.log

Master Load generator - Windows 7
Slave Load generator - Windows Xp
Jmeter 2.6 is installed in both master and slave

Both Gui and Non-Gui mode execution

External parameters are sent using -G command option

Description:- When the jmx test plans are executed locally using -J command
option to parse external arguments execution happens perfectly fine. But when
you replace -J with -G for the remote execution those external arguments are
not parsed to the Slaves properly. Slave jmeter-server.log shows 

2012/10/30 14:52:13 INFO  - jmeter.services.FileServer: Stored: /Data/1.csv
Alias: /Data/1.csv@779930484 
2012/10/30 14:52:13 ERROR - jmeter.config.CSVDataSet:
java.io.FileNotFoundException: .\Data\1.csv (The system cannot find the file
specified) 

in the log it shows the csv file name is "1" but csv filename argument that is
parsed with the -G command option is something else.
Ex:- 
command option:-
-GdataFileName=users

referral is done within the testplan:- 
${__P(dataFileName)}


But in the slave "1" has been replaced for "users"


Note:- Slave jmeter-server.log is attached herewith.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54073] Remote execution non-gui mode -G doesn't parse parameters properly to the slave load generators

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54073

srikanth <sr...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Version|2.6                         |2.9
           Severity|blocker                     |major

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54073] Remote execution non-gui mode -G doesn't parse parameters properly to the slave load generators

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54073

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|---                         |WORKSFORME
                 OS|                            |All

--- Comment #1 from Sebb <se...@apache.org> ---
This works for me in 2.6 and 2.8.

The global variable setting should appear in the server log as follows:

2012/11/01 15:39:44 INFO  - jmeter.services.FileServer: Set new base='.' 
2012/11/01 15:39:44 INFO  - jmeter.engine.StandardJMeterEngine: Applying
properties {dataFileName=users} 
2012/11/01 15:39:44 INFO  - jmeter.engine.RemoteJMeterEngineImpl: Running test 

and in the client log as below:

2012/11/01 15:39:43 INFO  - jmeter.JMeter: Setting Global property:
dataFileName=users 

You have not provided the client log, but the server log does not show that the
global has been set, so it's not suprising that value is resolved as '1' (which
is the default for the __P() function)

-- 
You are receiving this mail because:
You are the assignee for the bug.

[Bug 54073] Remote execution non-gui mode -G doesn't parse parameters properly to the slave load generators

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=54073

Sebb <se...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #29526|application/octet-stream    |text/plain
          mime type|                            |

-- 
You are receiving this mail because:
You are the assignee for the bug.