title: Jmeter JMS Point-to-Point Sampler - Wire format negotiation timeout
body: <p>How to fix <code>wire format negotiation</code> timeout issue in JMeter when sending messages with JMS Point-to-Point sampler? </p>
  
  <p>I have gone through the probable causes provided by apache at this link - <a href="http://activemq.apache.org/javaxjmsjmsexception-wire-format-negociation-timeout-peer-did-not-send-his-wire-format.html" rel="nofollow noreferrer">http://activemq.apache.org/javaxjmsjmsexception-wire-format-negociation-timeout-peer-did-not-send-his-wire-format.html</a> - no luck.</p>
  
  <p>Here is the error message:</p>
  
  <p><code>jmeter.protocol.jms.sampler.JMSSampler: Wire format negotiation timeout: peer did not send his wire format. javax.jms.JMSException: Wire format negotiation timeout: peer did not send his wire format.at rg.apache.activemq.util.JMSExceptionSupport.create(JMSExceptionSupport.java:62)</code></p>
  
  <p>Same properties if set in LoadRunner, I am able to send messages successfully using <strong>Java over HTTP protocol</strong>. </p>
  
  <p>I also monitored network using <code>netstat</code> when running JMeter and LoadRunner. 
  What I could see is JMeter connection always goes to <code>'CLOSE_WAIT'</code> status whereas Loadrunner connection goes to <code>'SYN_SENT' 'ESTABLISHED'</code> - as expected.</p>
  
  <p>I have added <code>keystore</code> and <code>ciphersuite</code> to <code>system.properties</code> and can see <code>keystore created OK</code> in JMeter logs but nothing specific for ciperhsuite.</p>
  
  <p>Could that be the issue?</p>
  
  <p>Been stuck with this exception for about a week now, any help is highly appreciated.</p>