Answered question

LoadAgent getting Error Message...

Getting below error message from LoadAgent after completed the test run... there are some request failed in the test with 500 error mesage...

so please provide your inputs what is this means...

ERROR - neoload.Monitors: Cannot initialize jPDH Perfmon library java.lang.IndexOutOfBoundsException: Index: 6335, Size: 6335
at java.util.ArrayList.rangeCheck(ArrayList.java:635)
at java.util.ArrayList.get(ArrayList.java:411)
at com.neotys.nl.controller.i.g.a(g.java:216)
at com.neotys.nl.controller.i.g.a(g.java:62)
at com.neotys.nl.controller.i.d.b(d.java:76)
at com.neotys.nl.controller.i.d.<clinit>(d.java:37)
at com.neotys.nl.lg.LoadGenerator.e(LoadGenerator.java:504)
at com.neotys.nl.lg.LoadGenerator.d(LoadGenerator.java:496)
at com.neotys.nl.lg.LoadGenerator.start(LoadGenerator.java:348)
at com.neotys.nl.lg.launcher.Launcher.main(Launcher.java:82)

2015/03/30 14:20:37 INFO - neoload.LG: Connection established with the Controller HostAgent1:49221
2015/03/30 14:20:37 INFO - neoload.LG_INFO: WAN Emulation: enabled
2015/03/30 14:20:38 INFO - neoload.LG: Connection established with the Controller HostAgent1:49221
2015/03/30 14:25:46 ERROR - neoload.Monitors.LG: Windows LG counters closed failure com.neotys.win32.jpdh.PDHException: PDH_INVALID_HANDLE
at com.neotys.win32.jpdh.PDH.wrapException(PDH.java:189)
at com.neotys.win32.jpdh.PDH.closeQuery(PDH.java:316)
at com.neotys.nl.controller.i.g.g(g.java:238)
at com.neotys.nl.lg.LoadGenerator.b(LoadGenerator.java:1553)
at com.neotys.nl.lg.LoadGenerator.g(LoadGenerator.java:549)
at com.neotys.nl.lg.LoadGenerator.d(LoadGenerator.java:1355)
at com.neotys.nl.lg.engine.zc.s(zc.java:364)
at com.neotys.nl.lg.engine.zc.a(zc.java:194)
at com.neotys.nl.lg.engine.zc.run(zc.java:102)
Caused by: java.lang.RuntimeException: PDH_INVALID_HANDLE
at com.neotys.win32.jpdh.PDH.closeQueryN(Native Method)
at com.neotys.win32.jpdh.PDH.closeQuery(PDH.java:314)
... 7 more

venkata S.
venkata S.

venkata S.

Level
0
39 / 100
points
Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

Yes you can ignore them. These errors do not mean that your LG did not behave properly. If you got 500 errors it means that it's application error and not related to the LG.

These errors are not related to your test, you'll probably get them even running a test that is doing almost nothing.

Did you find this useful ?

No (0)

Yes (0)

0% of users found this answer useful

Other answers

Nouredine A.
Nouredine A.

Nouredine A.

Level
4
5000 / 5000
points
Team

These errors are not related to the errors that you had during your load test. These errors are related to the internal monitoring of your Load Generator running under Windows.

venkata S.
venkata S.

venkata S.

Level
0
39 / 100
points

So, if these errors are related to internal monitoring load generator running, then what we need to do, can we ignore these errors, bcz when I use this generator, few requests are failing with 500 errors...