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 2020/08/10 08:03:48 UTC

[Bug 64657] New: The remote test failed in cli mode, but succeeded in Gui mode.

https://bz.apache.org/bugzilla/show_bug.cgi?id=64657

            Bug ID: 64657
           Summary: The remote test failed in cli mode, but succeeded in
                    Gui mode.
           Product: JMeter
           Version: 5.3
          Hardware: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTTP
          Assignee: issues@jmeter.apache.org
          Reporter: fongziting@foxmail.com
  Target Milestone: JMETER_5.3.1

Created attachment 37387
  --> https://bz.apache.org/bugzilla/attachment.cgi?id=37387&action=edit
jmeter.log

First,I have copied the file bin/rmi_keystore.jks to every JMeter server and
client I want to use.
Then I run the remote test in GUI mode and the test result is successful.
When I run in CLI mode, CMD prompts an error, such as jmeter.log :
2020-08-10 15:49:54,226 ERROR o.a.j.u.JMeterUtils: Exception creating
connection to: 192.168.28.118; nested exception is: 
java.io.FileNotFoundException: rmi_keystore.jks

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

[Bug 64657] The remote test failed in cli mode, but succeeded in Gui mode.

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

fengziting <fo...@foxmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED

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

[Bug 64657] The remote test failed in cli mode, but succeeded in Gui mode.

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

Felix Schumacher <fe...@internetallee.de> changed:

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

--- Comment #1 from Felix Schumacher <fe...@internetallee.de> ---
This seems to be a question about the usage of JMeter. Such questions should be
asked no the users mailing list. See https://jmeter.apache.org/mail2.html on
how to subscribe and send mails.

The keystore is located by looking at the JMeter properties 

server.rmi.ssl.keystore.file=rmi_keystore.jks
server.rmi.ssl.truststore.file=rmi_keystore.jks

As you can see, they are given relative and when you start JMeter via GUI, I
assume, that you are starting JMeter from inside the bin/ folder. That way
JMeter finds the keystore, as it is insde the bin/ folder, too.

If you start JMeter from the CLI via ./bin/jmeter.sh (or equvialent), you are
not in the bin/ folder and JMeter will not find the keystore.

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