Thanks.
Could you please explain it more detail?
In Java Request Class
public class TestP2P extends AbstractJavaSamplerClient{
public SampleResult runTest(JavaSamplerContext context) {
Long clientToServer=...; //the time from client to server
Long ServerToClient=...; //the time from server to client
//I want to analyze these 2 values in JMeter Report
// Which method of SampleResult should be invoke to set them to
result?
}
}
sebb-2-2 wrote:
>
> On 12/04/2010, sandy320 <[email protected]> wrote:
>>
>> A custom Java Request to test Server.
>>
>> I can get the 2 value times of Client==>Sever and Server==>Client in
>> custom
>> Java Request class
>>
>> The question is how to set these 2 value to JMeter Summary Report?
>>
>> I want to analyze these 2 value, such as min,max,avg...
>>
>
> Samplers can set the latency and elapsed times in sample results.
>
> However only elapsed time is currently processed by the Summary report.
>
> You can add any variables to the saved data:
>
> http://jakarta.apache.org/jmeter/usermanual/listeners.html#sample_variables
>
> However, you will have to process the data yourself.
>
>> Thanks.
>>
>> --
>> View this message in context:
>> http://old.nabble.com/How-to-get-the-analyze-result-of-custom-Java-Request--tp28214766p28214766.html
>> Sent from the JMeter - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> 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]
>
>
>
--
View this message in context:
http://old.nabble.com/How-to-get-the-analyze-result-of-custom-Java-Request--tp28214766p28237745.html
Sent from the JMeter - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]