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

            Bug ID: 56182
           Summary: Can't trigger bsh script using bshclient.jar; socket
                    is closed unexpectedly
           Product: JMeter
           Version: 2.11
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Main
          Assignee: [email protected]
          Reporter: [email protected]

with default bshclient.jar in lib folder.

java -jar lib/bshclient.jar localhost 9002 endurance.bsh
Connecting to BSH server on localhost:9002
Reading responses from server ...
BeanShell 2.0b5 - by Pat Niemeyer ([email protected])
Exception in thread "main" java.net.SocketException: Socket is closed
... disconnected from server.
        at java.net.Socket.shutdownOutput(Socket.java:1407)
        at org.apache.jmeter.util.BeanShellClient.main(BeanShellClient.java:79)

with bshclient-2.3.3.jar from SOAPUI repository, it seems to be connected just
fine.

java -jar bshclient-2.3.3.jar localhost 9002 endurance.bsh
Connecting to BSH server on localhost:9002
Reading responses from server ...
BeanShell 2.0b5 - by Pat Niemeyer ([email protected])
bsh % Stepping up : 300
Setting property 'ThroughputPerMin' to '900'.
ThroughputPerMin = 900

Tried on both linux and windows machine.

java -version
java version "1.6.0_45"
Java(TM) SE Runtime Environment (build 1.6.0_45-b06)
Java HotSpot(TM) 64-Bit Server VM (build 20.45-b01, mixed mode)

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

Reply via email to