You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@jmeter.apache.org by Fulvio Guglielmelli <fu...@yahoo.it> on 2008/02/07 18:10:53 UTC

calculating the time using java request results.sampleStart results.sampleEnd

  I have test with java request
  i user the following steps
   
      results.sampleStart();
               t1
      results.samplePause();
             ......
      results.sampleResume();
               t2
      results.sampleEnd();
   
  is possible have by java code the t1 and t2 time?
   
  thanks
  Fulvio


Fulvio Guglielmelli  
  Project Manager 
   
  http://www.linkedin.com/in/fulvioguglielmelli 
   
  Work: +39 011 3169430 
Mobile: +39 335 5971678 
Email: fulvio_guglielmelli@yahoo.it 

  Consoft Sistemi SPA 
Corso Traiano 85 
TORINO, 10135 ITALY 


       
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

Re: calculating the time using java request results.sampleStart results.sampleEnd

Posted by Fulvio Guglielmelli <fu...@yahoo.it>.
I know but i would like to know how is possbile
   
  Read the time calculated after the the 
       results.samplePause();
   
  and then, after the results.sampleResume() the new time value until the results.sampleEnd();
   
  is it possible ? 
  thanks
  Fulvio
   
  
sebb <se...@gmail.com> ha scritto:
  On 07/02/2008, Fulvio Guglielmelli wrote:
> I have test with java request
> i user the following steps
>
> results.sampleStart();
> t1
> results.samplePause();
> ......
> results.sampleResume();
> t2
> results.sampleEnd();
>
> is possible have by java code the t1 and t2 time?

It's not stored by JMeter, but if you are writing your own code of
course you can do what you want.

> thanks
> Fulvio
>
>
> Fulvio Guglielmelli
> Project Manager
>
> http://www.linkedin.com/in/fulvioguglielmelli
>
> Work: +39 011 3169430
> Mobile: +39 335 5971678
> Email: fulvio_guglielmelli@yahoo.it
>
> Consoft Sistemi SPA
> Corso Traiano 85
> TORINO, 10135 ITALY
>
>
>
> ---------------------------------
>
> ---------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org



       
---------------------------------

---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

Re: calculating the time using java request results.sampleStart results.sampleEnd

Posted by sebb <se...@gmail.com>.
On 07/02/2008, Fulvio Guglielmelli <fu...@yahoo.it> wrote:
>   I have test with java request
>   i user the following steps
>
>       results.sampleStart();
>                t1
>       results.samplePause();
>              ......
>       results.sampleResume();
>                t2
>       results.sampleEnd();
>
>   is possible have by java code the t1 and t2 time?

It's not stored by JMeter, but if you are writing your own code of
course you can do what you want.

>   thanks
>   Fulvio
>
>
> Fulvio Guglielmelli
>   Project Manager
>
>   http://www.linkedin.com/in/fulvioguglielmelli
>
>   Work: +39 011 3169430
> Mobile: +39 335 5971678
> Email: fulvio_guglielmelli@yahoo.it
>
>   Consoft Sistemi SPA
> Corso Traiano 85
> TORINO, 10135 ITALY
>
>
>
> ---------------------------------
>
> ---------------------------------
> L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail

---------------------------------------------------------------------
To unsubscribe, e-mail: jmeter-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: jmeter-user-help@jakarta.apache.org