# Load Testing Tool Error

**URL:** <https://community.wowza.com/t/load-testing-tool-error/43231>\
**Category:** Wowza Streaming Engine\
**Created:** [June 19, 2014, 2:59pm UTC](https://community.wowza.com/t/load-testing-tool-error/43231 "2014-06-19T14:59:53Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Alexandre\_Iartsev](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Alexandre\_Iartsev](https://community.wowza.com/u/Alexandre_Iartsev)\
**Post date:** [June 19, 2014, 2:59pm UTC](https://community.wowza.com/t/load-testing-tool-error/43231/1 "2014-06-19T14:59:53Z")

</div>

Hello,

I receive an error when trying to run a live stream load test from my windows. Currently, I have configured a Wowza Streaming Engine 4 for Amazon EC2 4.0.3.01 build11149, and I’m using the 4.0.1 Load Testing Tool version provided by Wowza. I receive the following error messages:

```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>:

```

```auto
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:62)|

```

This is my configuration file:

```auto
<Test>
			<Name>live</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>2b54ba028327f59dx30cb5e39xv</Value>
				</Property>
				<Property>
					<Name>streamExt</Name>
					<Value></Value>
				</Property>
				<Property>
					<Name>vhostName</Name>
					<Value>_defaultVHost_</Value>
				</Property>
				<Property>
					<Name>connectionString</Name>
					<Value>live/_definist_</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>wowza.xxx.net</Value>
				</Property>
				<Property>
					<Name>ports</Name>
					<Value>1935</Value>
				</Property>
			</Properties>
		</Test>

```

It’d be awesome if anybody could help me out

---

<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:** [June 19, 2014, 10:34pm UTC](https://community.wowza.com/t/load-testing-tool-error/43231/2 "2014-06-19T22:34:58Z")

</div>

Hi,

Ensure that you have followed step 4 in the LoadTesingTool.pdf, as that’s the error usually seen when that

configuration step is not included:

1. 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]

Give that a try.

Daren

---

<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:** [September 18, 2014, 9:57pm UTC](https://community.wowza.com/t/load-testing-tool-error/43231/3 "2014-09-18T21:57:43Z")

</div>

Hi,

Which errors do you get?

The “IdleWorkerUtil: run.work” error can be resolved as mentioned above, by configuring the client section,

following the steps there in the provided PDF (LoadTesingTool.pdf), in particular step 4, to setup a VHost level

thread pool.

Daren

---

<div class="post-metadata">

**Author:** ![Matt\_Young](https://sea2.discourse-cdn.com/flex002/user_avatar/community.wowza.com/matt_young/32/389_2.png) [@Matt\_Young](https://community.wowza.com/u/Matt_Young)\
**Post date:** [June 24, 2014, 6:21am UTC](https://community.wowza.com/t/load-testing-tool-error/43231/4 "2014-06-24T06:21:59Z")

</div>

Please send your Tests.xml, VHost.xml, and a capture of your console output to support@wowza.com for further review.

Thanks,

Matt

---

<div class="post-metadata">

**Author:** ![Alexandre\_Iartsev](https://avatars.discourse-cdn.com/v4/letter/a/ce7236/32.png) [@Alexandre\_Iartsev](https://community.wowza.com/u/Alexandre_Iartsev)\
**Post date:** [June 23, 2014, 12:58pm UTC](https://community.wowza.com/t/load-testing-tool-error/43231/5 "2014-06-23T12:58:46Z")

</div>

> Hi,
> 
> Ensure that you have followed step 4 in the LoadTesingTool.pdf, as that’s the error usually seen when that
> 
> configuration step is not included:
> 
> 1. 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]
> 
> Give that a try.
> 
> Daren

Thanks! I double-checked my VHost.xml configuration, and it had been done properly. I also get the following error message that I forgot in my first post:

```auto
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:62)|

```

I will update my original post with this information as well.

---

<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:20pm UTC](https://community.wowza.com/t/load-testing-tool-error/43231/6 "2014-09-18T14:20:53Z")

</div>

Hi

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

thanks you all.

Kevin
