Hi all,

I have some difficulties putting together a testplan for a EJB
Interface Test.

My Setup:
---
J2EE Container with a couple of Stateless Session Bean.

I would like to call the first (login) which comes back with the
sessionid and do a second, third, etc call using that sessionid.

---

I am not quite sure how to fill the SampleResult wisely. Especially
when I want to give back a complex Result. Concret my second Sample
would produce a List of a comlex result structure (list of business
items) and I need to pull some values out of the result within the Testplan.

Does anybody can give a example how to fill the SampleResult if the
Result is a somewhat complex structure in this case a list of
entities.

How do I use the following methods in this case of a JavaSampler?

 void setContentType(String string)
 void setDataEncoding(String dataEncoding)
 void setDataType(String dataType)
 void setRequestHeaders(String string)
 void setResponseCode(String code)
 void setResponseData(byte[] response)
 void setResponseHeaders(String string)
 void setResponseMessage(String msg)
 void setSampleLabel(String label)
 void setSamplerData(String s) 
 
On which part of the result does the postprocessor work to pull out
the values using regexs?

Thank you very much for you help.

Cheers,
Axel


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to