You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jmeter-dev@jakarta.apache.org by Mike Stover <ms...@apache.org> on 2001/07/01 13:06:32 UTC
Re: problem !!!!
You appear to be referring to JMeter v1.5. In v1.6 and above, there is no
add() method such as you describe. Instead, there is a Filer.java class that
receives and records SampleEvents to file. It should not matter what sampler
is being used.
It's been a long time since I looked at v1.5 code, and 1.6 is completely
different. I'd be glad to help you make your code compatible with 1.6.
Otherwise, I can only suggest doing a search on "add(" in the 1.5 code to see
where it is called.
-Mike
On Sunday 01 July 2001 14:55, Rohit Kumar wrote:
> > Hi
> I am trying to test the jndi part of my appserver , for that i have
> already extended ur framework to meet my purpose by creating a folder
> 'jndi' under 'protocol' folder and putting my code over there , but when i
> want to print the report in the file it doesn't do that I am using
> FileVisualizer class for this , and this class contains the following
> piece of code for printing the sample results to the file ........
>
>
> ---------------------------------------------------------------------------
>---------------------------------------------- public synchronized void
> add(SampleResult sampleResult) {
>
> long sample = sampleResult.getTime();
> if (open) {
> if (verbose) {
> stream.println(sampleResult.getValue(Sampler.SAMPLE_LABEL)
> + " " + sample); } else {
> stream.println(sample);
> }
> }
>
> }
> ---------------------------------------------------------------------------
>----------------------------------------------
>
> now in case of testing with simple Http tester , you always get a report
> printed in the file that u specify since above code is called somewhere now
> i want to know where is above code being called in the case of Http
> testing .
>
> it is very important for me .if anyone has answer for this , plz reply asap
> .
>
> Regards
> Rohit
----------------------------------------
Content-Type: text/html; charset="iso-8859-1"; name="Attachment: 1"
Content-Transfer-Encoding: quoted-printable
Content-Description:
----------------------------------------
--
Mike Stover
mstover1@apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-dev-help@jakarta.apache.org