You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Connecting to BSH server on 127.0.0.1:9000
Reading responses from server ...
Exception in thread "main" B... disconnected from server.
java.net.SocketException: Socket is closed
at java.net.Socket.shutdownOutput(Socket.java:1425)
at org.apache.jmeter.util.BeanShellClient.main(BeanShellClient.java:79)
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: org/apache/jorphan/util/JOrphanUtils
at org.apache.jmeter.util.BeanShellClient$SockRead.run(BeanShellClient.java:111)
Caused by: java.lang.ClassNotFoundException: org.apache.jorphan.util.JOrphanUtils
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 1 more
OS: Linux
The text was updated successfully, but these errors were encountered:
Sebb (migrated from Bugzilla):
Thanks for the report; it's broken in 2.9 as well.
Problem is that the code calls an external method and the class is not present in the jar.
Wojtek (Bug 55242):
script
properties = JMeterUtils.getJMeterProperties();
Iterator i = properties.keys();
while(i.hasMoreElements()) {
String me = i.nextElement();
print(me + " : " + properties.get(me));
}
output
Connecting to BSH server on 127.0.0.1:9000
Reading responses from server ...
Exception in thread "main" B... disconnected from server.
java.net.SocketException: Socket is closed
at java.net.Socket.shutdownOutput(Socket.java:1425)
at org.apache.jmeter.util.BeanShellClient.main(BeanShellClient.java:79)
Exception in thread "Thread-0" java.lang.NoClassDefFoundError: org/apache/jorphan/util/JOrphanUtils
at org.apache.jmeter.util.BeanShellClient$SockRead.run(BeanShellClient.java:111)
Caused by: java.lang.ClassNotFoundException: org.apache.jorphan.util.JOrphanUtils
at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
... 1 more
OS: Linux
The text was updated successfully, but these errors were encountered: