title: Stress test BlazeDS polling
body: <p>I'm looking for some guidance on stress testing BlazeDS <strong>polling</strong> channels.</p>
  
  <p>I've followed this excellent article on using jmeter to test AMF messaging:</p>
  
  <p><a href="http://blog.jteam.nl/2009/07/14/performance-testing-a-flex-blazeds-application/" rel="nofollow noreferrer">http://blog.jteam.nl/2009/07/14/performance-testing-a-flex-blazeds-application/</a></p>
  
  <p>But that's only suitable for non-polling messages. I can't just generate the AMF for all polling messages upfront - each sequential message varies.</p>
  
  <p>I'm thinking that I may be able to use a BeanShell PreProcessor to create the AMF request java object, then serialize that and send it as POST data.</p>
  
  <p>I'd also need a BeanShell PostProcessor to deserialize the binary AMF response and pass some data to the next request.</p>
  
  <p>Has anyone had a go at something like this before? I'm not sure if what I'm trying to do is beyond the capabilities of jmeter's Pre and PostProcessors.</p>
  
  <p>Thanks,
  Stu</p>