# Load Testing Tool ERROR

**URL:** <https://community.wowza.com/t/load-testing-tool-error/42609>\
**Category:** Wowza Streaming Engine\
**Created:** [April 3, 2014, 11:41am UTC](https://community.wowza.com/t/load-testing-tool-error/42609 "2014-04-03T11:41:43Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Frank\_Liu](https://avatars.discourse-cdn.com/v4/letter/f/7ea924/32.png) [@Frank\_Liu](https://community.wowza.com/u/Frank_Liu)\
**Post date:** [April 3, 2014, 11:41am UTC](https://community.wowza.com/t/load-testing-tool-error/42609/1 "2014-04-03T11:41:43Z")

</div>

Hi Richard,

I got “NullPointerException” at my first attempt running load testing tool.

Need your help to figure out the problem.

Thanks a lot.

Here is my Error Log & Test.xml:

```auto
ERROR server comment - IdleWorkerUtil: run.work : java.lang.NullPointerException|at com.wowza.wms.httpstreamer.model.HTTPStreamerContext.onIdle(HTTPStreamerContext.java:115)|at com.wowza.wms.util.IdleWorkerUtil.run(IdleWorkerUtil.java:111)|
INFO server comment - MediaCasterStreamValidator.init[live/_definst_]: Started
INFO application app-start _definst_ live/_definst_
ERROR server comment - PerformanceTest : java.lang.NullPointerException|at com.wowza.wms.performance.remote.PerformanceRemoteClientTest.run(PerformanceRemoteClientTest.java:160)|at com.wowza.wms.performance.PerformanceTest.run(PerformanceTest.java:57)|at com.wowza.wms.performance.PerformanceTestList.run(PerformanceTestList.java:68)|at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)|at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)|
INFO server comment - Status running:0 currBehind:0

```

```auto
<Root>
	<Tests>
		<Test>
			<Name>live</Name>
			<ClassBase>com.wowza.wms.performance.remote.PerformanceRemoteClientTest</ClassBase>
			<Properties>
				<Property>
					<Name>workerCount</Name>
					<Value>2</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>fileCount</Name>
					<Value>0</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>streamName</Name>
					<Value>ftvn_sp.sdp</Value>
				</Property>
				<Property>
					<Name>streamExt</Name>
					<Value></Value>
				</Property>
				<Property>
					<Name>vhostName</Name>
					<Value>_defaultVHost_</Value>
				</Property>
				<Property>
					<Name>connectionString</Name>
					<Value>live/_definst_</Value>
				</Property>
				<Property>
					<Name>bufferTime</Name>
					<Value>3000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>doRandom</Name>
					<Value>false</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>doRepeat</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>ipAddress</Name>
					<Value>210.xxx.xxx.xxx</Value>
				</Property>
				<Property>
					<Name>ports</Name>
					<Value>1935</Value>
				</Property>
			</Properties>
		</Test>
		<Test>
			<Name>vod</Name>
			<ClassBase>com.wowza.wms.performance.remote.PerformanceRemoteClientTest</ClassBase>
			<Properties>
				<Property>
					<Name>workerCount</Name>
					<Value>1</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>fileCount</Name>
					<Value>0</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>streamName</Name>
					<Value>sample</Value>
				</Property>
				<Property>
					<Name>streamExt</Name>
					<Value>.mp4</Value>
				</Property>
				<Property>
					<Name>vhostName</Name>
					<Value>_defaultVHost_</Value>
				</Property>
				<Property>
					<Name>connectionString</Name>
					<Value>vod/_definst_</Value>
				</Property>
				<Property>
					<Name>bufferTime</Name>
					<Value>3000</Value>
					<Type>Integer</Type>
				</Property>
				<Property>
					<Name>doRandom</Name>
					<Value>false</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>doRepeat</Name>
					<Value>true</Value>
					<Type>Boolean</Type>
				</Property>
				<Property>
					<Name>ipAddress</Name>
					<Value>localhost</Value>
				</Property>
				<Property>
					<Name>ports</Name>
					<Value>1935</Value>
				</Property>
			</Properties>
		</Test>
	</Tests>
</Root>

```

---

<div class="post-metadata">

**Author:** ![Daren\_Johnson](https://avatars.discourse-cdn.com/v4/letter/d/ee59a6/32.png) [@Daren\_Johnson](https://community.wowza.com/u/Daren_Johnson)\
**Post date:** [April 2, 2014, 10:48pm UTC](https://community.wowza.com/t/load-testing-tool-error/42609/2 "2014-04-02T22:48:14Z")

</div>

Hi,

Ensure you are using the correct Load Test Tool version for your version of Wowza Streaming Engine or Wowza Media Server.

You may have a mis-match. When requesting the load test tool you need to specify which version of Wowza you are using

so that you are provided with the correct version of the tool.

Daren

---

<div class="post-metadata">

**Author:** ![Zoran](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/zoran/32/385_2.png) [@Zoran](https://community.wowza.com/u/Zoran)\
**Post date:** [September 18, 2014, 2:49pm UTC](https://community.wowza.com/t/load-testing-tool-error/42609/3 "2014-09-18T14:49:10Z")

</div>

Hi,

The Load Testing tool requires the _defaultVHost_ virtual host (VHost) to have its own thread pool. By default, Wowza Streaming Engine is configured to use a server-level thread pool. To configure a VHost-level thread pool, edit [install-dir]/conf/VHost.xml and make the following changes:

- HandlerThreadPool/PoolSize: 60 x [total-core-count]

- TransportThreadPool/PoolSize: 40 x [total-core-count]

This is specified on page 5 from the LoadTestingTool.pdf document found in the Load Testing Tool package.

Can you check if you have this configured on your server running the Load Test Tool clients?

Zoran

---

<div class="post-metadata">

**Author:** ![Kevin\_Chiang](https://avatars.discourse-cdn.com/v4/letter/k/85f322/32.png) [@Kevin\_Chiang](https://community.wowza.com/u/Kevin_Chiang)\
**Post date:** [September 18, 2014, 2:19pm UTC](https://community.wowza.com/t/load-testing-tool-error/42609/4 "2014-09-18T14:19:33Z")

</div>

Frank and daren\_j,

I got the exact error, has this problem being solved? Please advise.

thanks you both.

Kevin

---

<div class="post-metadata">

**Author:** ![Kevin\_Chiang](https://avatars.discourse-cdn.com/v4/letter/k/85f322/32.png) [@Kevin\_Chiang](https://community.wowza.com/u/Kevin_Chiang)\
**Post date:** [September 19, 2014, 10:06am UTC](https://community.wowza.com/t/load-testing-tool-error/42609/5 "2014-09-19T10:06:44Z")

</div>

zoran\_u,

Yes, I have, to be more specific, let’s say I have a 4 core cpu, so I would put

- HandlerThreadPool/PoolSize: 240

- TransportThreadPool/PoolSize: 160

is that correct? and that’s how I have done it, and still gave me an error.

Kevin

---

<div class="post-metadata">

**Author:** ![james\_lees](https://avatars.discourse-cdn.com/v4/letter/j/bbe5ce/32.png) [@james\_lees](https://community.wowza.com/u/james_lees)\
**Post date:** [October 31, 2017, 10:42am UTC](https://community.wowza.com/t/load-testing-tool-error/42609/6 "2017-10-31T10:42:24Z")

</div>

you can try pcloudy ([www.pcloudy.com](http://www.pcloudy.com)).
