Wowza Community

can't run loadtest

Hello

i have issues running the loadtest tool.

client config: windows 8 Wowza 4.1 java 8

server config:ubuntu 14 Wowza 4.1 java 8

error message from the console when launching performance.bat live:

Configure logging: file:///D:/Programmes/Wowza4/conf/log4j.properties
Error running test (live): java.lang.reflect.InvocationTargetException
java.lang.reflect.InvocationTargetException
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
        at java.lang.reflect.Method.invoke(Unknown Source)
        at com.wowza.wms.bootstrap.Bootstrap.runTest(Bootstrap.java:1420)
        at com.wowza.wms.bootstrap.Bootstrap.main(Bootstrap.java:71)
Caused by: java.lang.NoClassDefFoundError: org/apache/commons/lang/SystemUtils
        at com.wowza.wms.bootstrap.BootstrapSystemTuningInfo.getSystemTuningInfo
(BootstrapSystemTuningInfo.java:113)
        at com.wowza.wms.server.ServerTuningHandler.<init>(ServerTuningHandler.j
ava:248)
        at com.wowza.wms.server.Server.<init>(Server.java:865)
        at com.wowza.wms.server.Server.getInstance(Server.java:919)
        at com.wowza.wms.logging.WMSLogger.a(WMSLogger.java:82)
        at com.wowza.wms.logging.WMSLogger.log(WMSLogger.java:195)
        at com.wowza.wms.logging.WMSLogger.info(WMSLogger.java:238)
        at com.wowza.wms.performance.remote.PerformanceRemoteClientTest.run(Perf
ormanceRemoteClientTest.java:84)
        at com.wowza.wms.performance.PerformanceTest.run(PerformanceTest.java:57
)
        at com.wowza.wms.performance.PerformanceTestList.run(PerformanceTestList
.java:68)
        ... 6 more
Caused by: java.lang.ClassNotFoundException: org.apache.commons.lang.SystemUtils
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        ... 16 more

thank you for your help

Hello there,

You do need to use the Wowza 4 version. Please contact support@wowza.com for the latest load test tool.

Kind regards,

Salvadore

thx, i’m using version 4 everywhere (client and server Wowza 4.1, loadtool 4.0.1)

Can you please verify that you have copied the contents of the bin, conf, and lib folders from the Load Test Tool download folder to the corresponding Wowza Streaming Engine installation folders.

And that you have run the examples installer in the [install-dir]/examples folder [install-dir]/examples/installall.bat

One other thing that you can try is in your run or debug configuration in eclipse, try adding the following to the VM Arguments on the Arguments tab.

-Dcom.wowza.wms.native.base="win"

If all this checks out and you still get this error, I would suggest you open a ticket with the support team. To do so please zip the following folders and send them to support@wowza.com. Include a link to this thread as a reference:

[install-dir]/conf

[install-dir]/logs

[install-dir]/transcoder

[install-dir]/manager/logs

Thank you.

Salvadore