The Elapsed Time for the Java Samples in the log (and any listeners) will be the amount of time it took to actually run the Java Sampler.
The Java Sampler has sleep and mask parameters. If you set the mask to 0, and the sleep to the extracted sleep time, then the generated Java sample should have an actual elapsed time very close to the extracted sleep time. The net result is that the Java Sampler can be used to generate a sample with roughly the correct details. Of course the start/end times will not correspond with the part of the original sample that you are simulating - they will be later. This assumes that variables work in the Sleep field - I think they do - if not, that could/should be fixed. S. On Apr 12, 2005 1:51 PM, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > > I will try out with Java sampler but I am sorry I could not understand about > the elapsed time. Can't we get it straight away from Aggregate report as we > do for other samplers? > > Thanks & Regards > Ravi shankar S > > sebb > <[EMAIL PROTECTED] To: JMeter Users List > <[email protected]>, Peter Lin > > <[EMAIL PROTECTED]> > cc: > 04/12/2005 06:04 Subject: Re: How To Get > Individual Response Time from Multiple servers > PM > Please respond to > "JMeter Users > List" > > You can use the Java Sampler to save anything you like to the test log > - just use the variables in the appropriate fields. > > However, you can't currently change the elapsed time recorded for the > JavaTest sampler, so you would either have to extract the time later > from the data, or you might be able to set the sleep time on the > JavaTest sampler to the same as the extracted time, and it would then > generate a similar elapsed time. > > S. > On Apr 12, 2005 1:24 PM, Peter Lin <[EMAIL PROTECTED]> wrote: > > http://jakarta.apache.org/jmeter/usermanual/functions.html > > > > take a look at the functions and see if one of the functions fits your > > needs. you can use the function to parse the response. saving the > > parsed result is a bit more tricky. if you want to just save the > > extracted parts from the response, you will probably need to write a > > plugin. > > > > peter > > > > On Apr 12, 2005 8:08 AM, [EMAIL PROTECTED] > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > Thanks Peter. > > > > > > yes we do have unique activity on the each server which can be observed > with > > > functions. In this case how to proceed? > > > > > > Thanks & Regards > > > Ravi shankar S > > > > > > Peter Lin > > > <[EMAIL PROTECTED] To: JMeter Users > List <[email protected]> > > > m> cc: > > > Subject: Re: How To Get > Individual Response Time from Multiple servers > > > 04/12/2005 05:40 > > > PM > > > Please respond to > > > "JMeter Users > > > List" > > > > > > > > > that depends. is there something unique in each response that you can > > > parse with the functions? if not, you may need to write a plugin to > > > handle it > > > > > > peter > > > > > > On Apr 12, 2005 2:06 AM, [EMAIL PROTECTED] > > > <[EMAIL PROTECTED]> wrote: > > > > > > > > > > > > Hi all, > > > > > > > > The application under test has multiple servers. For example say, > there > > > are > > > > 3 servers A, B & C. The request has to pass through A, B & C to > provide > > > the > > > > response. In such a situation the response time will include the time > > > spent > > > > in all the three servers. > > > > > > > > How to identify the Response Time on each server? > > > > > > > > Is there any option/work around to achieve the above through JMeter? > > > > > > > > I kindly request you all to share your thoughts > > > > > > > > Thanks & Regards > > > > Ravi shankar S > > > > Important Email Information :- The information in this email is > > > > confidential and may be legally privileged. It is intended > solely > > > for > > > > the addressee. Access to this email by anyone else is > unauthorized. > > > If > > > > you are not the intended recipient, any disclosure, copying, > distribution > > > or > > > > any action taken or omitted to be taken in reliance on it, is > prohibited > > > > and may be unlawful. If you are not the intended addressee please > contact > > > > the sender and dispose of this e-mail immediately. > > > > > > > > --------------------------------------------------------------------- > > > > 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] > > > > > > Important Email Information :- The information in this email is > > > confidential and may be legally privileged. It is intended solely > for > > > the addressee. Access to this email by anyone else is unauthorized. > If > > > you are not the intended recipient, any disclosure, copying, > distribution or > > > any action taken or omitted to be taken in reliance on it, is prohibited > > > and may be unlawful. If you are not the intended addressee please > contact > > > the sender and dispose of this e-mail immediately. > > > > > > --------------------------------------------------------------------- > > > 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] > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > Important Email Information :- The information in this email is > confidential and may be legally privileged. It is intended solely for > the addressee. Access to this email by anyone else is unauthorized. If > you are not the intended recipient, any disclosure, copying, distribution or > any action taken or omitted to be taken in reliance on it, is prohibited > and may be unlawful. If you are not the intended addressee please contact > the sender and dispose of this e-mail immediately. > > --------------------------------------------------------------------- > 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]

