Can we use same Concept for testing WebService also, write Java Client
which implements JavaSampleClient Interface and write code to invoke
the WebService something similar to JUnit Java Class which extends
TestCase..

please clarify

with regards
Manju

On 4/29/05, sebb <[EMAIL PROTECTED]> wrote:
> On 4/28/05, Anurodh Jain <[EMAIL PROTECTED]> wrote:
> >
> >
> > Hi,
> >  I am trying to test a Java Class through Java Request Sampler but
> > not yet successful. Can somebody tell me exactly how to go about
> > doing it.
> 
> The Java Request Sampler is not able to test arbitrary Java Classes.
> From the online documentation:
> 
> "This sampler lets you control a java class that implements the
> JavaSamplerClient interface. By writing your own implementation of
> this interface, you can use JMeter to harness multiple threads, input
> parameter control, and data collection."
> 
> If you wish to use it, you must implement the interface, and put the
> classes in a jar in lib/ext.
> 
> The BeanShell Sampler allows you to call arbitrary Java code - just
> write the code that calls your class and put it in the BeanShell
> Sampler.
> 
> However in both cases you will need to write some Java code to
> interface between the sampler and the code under test.
> 
> S.
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
>

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

Reply via email to