Hi all - it's great to be back using JMeter :-)

 


A few years back we extended JMeter writing an EJB sampler based upon the Java 
request sampler.  Our results were outputted in CSV format. We needed to save a 
number of bespoke values within our EJB/ Java request samplers and used the 
following sample results attributes: responseMessage, reponseCode, datatype and 
bytes. I suspect this was foolish and I should have used something else. Any 
advice would be appreciated. What's the best approach for saving such bespoke 
values and then writing them to the CSV/JTL output?


 


It all worked for the purpose of that project. However, I now need to follow 
each of my EJB requests with an HTTP request which passes those values stored 
in the above attributes. Is this possible? From what I’ve read I need to add a 
child regular expression extractor to each EJB request, however I don’t know 
what syntax I should be using in the regular expression component to retrieve 
sampleresult attributes. I’m also concerned as I can only see some of my 
attributes in sampler result tab of my view result tree listener.Could this be 
because I've overridden the dataType attribute on the sampleresult ?


 


Any help is really appreciated. 


 


Thanks 


 


Greg Peace


________________________________________________________________________
AOL Email goes Mobile! You can now read your AOL Emails whils
t on the move. Sign up for a free AOL Email account with unlimited storage 
today.

Reply via email to