Hi,
My application has JMS implementation with LDAP as a JNDI provider.
I am providing information in following format in JMeter to do the point to point testing:
Queue Connection Factory = cn=<factory_name>;ou=<ou_name>;dc=<dc_val>;dc=<dc_val>;dc=<dc_val>;dc=<dc_val>
JNDI Name Request Queue = cn=<Request_Queue_Name>;ou=<ou_name>;dc=<dc_val>;dc=<dc_val>;dc=<dc_val>;dc=<dc_val>
JNDI Name Receive Queue = cn=<Response_Queue_Name>;ou=<ou_name>;dc=<dc_val>;dc=<dc_val>;dc=<dc_val>;dc=<dc_val>
JNDI Properties
---------------
java.naming.provider.url = <ldap_URL>
java.naming.factory.initial = com.sun.jndi.ldap.LdapCtxFactory
java.naming.security.principal = cn=Directory Manager
java.naming.security.credentials = <password>
After running JMeter I am getting the following exception in the JMeter log file, can anyone please help me in resolving this problem:
2010/02/18 10:03:34 INFO - jmeter.util.JMeterUtils: Setting Locale to en_US
2010/02/18 10:03:34 INFO - jmeter.JMeter: Loading user properties from: C:\JMeter\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin\user.properties
2010/02/18 10:03:34 INFO - jmeter.JMeter: Loading system properties from: C:\JMeter\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin\system.properties
2010/02/18 10:03:34 INFO - jmeter.JMeter: Copyright (c) 1998-2009 The Apache Software Foundation
2010/02/18 10:03:34 INFO - jmeter.JMeter: Version 2.3.4 r785646
2010/02/18 10:03:34 INFO - jmeter.JMeter: java.version=1.5.0_15
2010/02/18 10:03:34 INFO - jmeter.JMeter: java.vm.name=Java HotSpot(TM) Client VM
2010/02/18 10:03:34 INFO - jmeter.JMeter: os.name=Windows XP
2010/02/18 10:03:34 INFO - jmeter.JMeter: os.arch=x86
2010/02/18 10:03:34 INFO - jmeter.JMeter: os.version=5.1
2010/02/18 10:03:34 INFO - jmeter.JMeter: file.encoding=Cp1252
2010/02/18 10:03:34 INFO - jmeter.JMeter: Default Locale=English (United States)
2010/02/18 10:03:34 INFO - jmeter.JMeter: JMeter Locale=English (United States)
2010/02/18 10:03:34 INFO - jmeter.JMeter: JMeterHome=C:\JMeter\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4
2010/02/18 10:03:34 INFO - jmeter.JMeter: user.dir =C:\JMeter\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin
2010/02/18 10:03:34 INFO - jmeter.JMeter: PWD =C:\JMeter\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin
2010/02/18 10:03:34 INFO - jmeter.JMeter: IP: 10.253.20.44 Name: P1PCBMX73701BG FullName: P1PCBMX73701BG.fiserv.co.in
2010/02/18 10:03:34 INFO - jmeter.JMeter: Loaded icon properties from org/apache/jmeter/images/icon.properties
2010/02/18 10:03:35 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must contain the string: '.functions.'
2010/02/18 10:03:35 INFO - jmeter.engine.util.CompoundVariable: Note: Function class names must not contain the string: '.gui.'
2010/02/18 10:03:36 INFO - jmeter.util.BSFTestElement: Registering JMeter version of JavaScript engine as work-round for BSF-22
2010/02/18 10:03:37 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Cannot find .className property for htmlParser, using default
2010/02/18 10:03:37 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/html is
2010/02/18 10:03:37 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xhtml+xml is
2010/02/18 10:03:37 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for application/xml is
2010/02/18 10:03:37 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/xml is
2010/02/18 10:03:37 INFO - jmeter.protocol.http.sampler.HTTPSamplerBase: Parser for text/vnd.wap.wml is org.apache.jmeter.protocol.http.parser.RegexpHTMLParser
2010/02/18 10:03:37 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.ParamModifierGui
2010/02/18 10:03:37 INFO - jmeter.gui.util.MenuFactory: Skipping org.apache.jmeter.protocol.http.modifier.gui.UserParameterModifierGui
2010/02/18 10:03:37 INFO - jmeter.protocol.http.sampler.HTTPSampler: Maximum connection retries = 10
2010/02/18 10:03:37 INFO - jmeter.protocol.http.sampler.HTTPSampler: Connection and read timeouts are available on this JVM
2010/02/18 10:03:37 INFO - jmeter.samplers.SampleResult: Note: Sample TimeStamps are START times
2010/02/18 10:03:37 INFO - jmeter.samplers.SampleResult: sampleresult.default.encoding is set to ISO-8859-1
2010/02/18 10:03:50 INFO - jmeter.services.FileServer: Default base=C:\JMeter\jakarta-jmeter-2.3.4\jakarta-jmeter-2.3.4\bin
2010/02/18 10:03:50 INFO - jmeter.gui.action.Load: Loading file: D:\test.jmx
2010/02/18 10:03:50 INFO - jmeter.services.FileServer: Set new base=D:\
2010/02/18 10:03:50 INFO - jmeter.save.SaveService: Testplan (JMX) version: 2.2. Testlog (JTL) version: 2.2
2010/02/18 10:03:50 INFO - jmeter.save.SaveService: Using SaveService properties file encoding UTF-8
2010/02/18 10:03:50 INFO - jmeter.save.SaveService: Using SaveService properties file version 697317
2010/02/18 10:03:50 INFO - jmeter.save.SaveService: Using SaveService properties version 2.1
2010/02/18 10:03:50 INFO - jmeter.save.SaveService: All converter versions present and correct
2010/02/18 10:03:50 INFO - jmeter.services.FileServer: Set new base=D:\
2010/02/18 10:03:53 INFO - jmeter.engine.StandardJMeterEngine: Listeners will be started after enabling running version
2010/02/18 10:03:53 INFO - jmeter.engine.StandardJMeterEngine: To revert to the earlier behaviour, define jmeterengine.startlistenerslater=false
2010/02/18 10:03:53 INFO - jmeter.engine.StandardJMeterEngine: Running the test!
2010/02/18 10:03:53 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(true,*local*)
2010/02/18 10:03:53 INFO - jmeter.engine.StandardJMeterEngine: Starting 0 threads for group Sender. Ramp up = 0.
2010/02/18 10:03:53 INFO - jmeter.engine.StandardJMeterEngine: Thread will stop on error
2010/02/18 10:03:53 INFO - jmeter.engine.StandardJMeterEngine: Starting 1 threads for group Sender-Receiver. Ramp up = 1.
2010/02/18 10:03:53 INFO - jmeter.engine.StandardJMeterEngine: Thread will continue on error
2010/02/18 10:03:53 INFO - jmeter.threads.JMeterThread: jmeterthread.startearlier=true (see jmeter.properties)
2010/02/18 10:03:53 INFO - jmeter.threads.JMeterThread: Running PostProcessors in forward order
2010/02/18 10:03:53 INFO - jmeter.engine.StandardJMeterEngine: All threads have been started
2010/02/18 10:03:53 INFO - jmeter.threads.JMeterThread: Thread started: Sender-Receiver 2-1
2010/02/18 10:03:54 FATAL - jmeter.protocol.jms.sampler.JMSSampler: javax.naming.Reference
2010/02/18 10:03:54 ERROR - jmeter.threads.JMeterThread: Test failed! java.lang.IllegalStateException: javax.naming.Reference
at org.apache.jmeter.protocol.jms.sampler.JMSSampler.threadStarted(JMSSampler.java:300)
at org.apache.jmeter.threads.JMeterThread$ThreadListenerTraverser.addNode(JMeterThread.java:504)
at org.apache.jorphan.collections.HashTree.traverseInto(HashTree.java:984)
at org.apache.jorphan.collections.HashTree.traverse(HashTree.java:967)
at org.apache.jmeter.threads.JMeterThread.threadStarted(JMeterThread.java:479)
at org.apache.jmeter.threads.JMeterThread.initRun(JMeterThread.java:468)
at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:239)
at java.lang.Thread.run(Unknown Source)
2010/02/18 10:03:54 INFO - jmeter.threads.JMeterThread: Thread finished: Sender-Receiver 2-1
2010/02/18 10:03:54 INFO - jmeter.engine.StandardJMeterEngine: Ending thread Sender-Receiver 2-1
2010/02/18 10:03:54 INFO - jmeter.engine.StandardJMeterEngine: Stopping test
2010/02/18 10:03:54 INFO - jmeter.engine.StandardJMeterEngine: Notifying test listeners of end of test
2010/02/18 10:03:54 INFO - jmeter.gui.util.JMeterMenuBar: setRunning(false,*local*)
2010/02/18 10:03:54 INFO - jmeter.engine.StandardJMeterEngine: Test has ended