This discussion is archived
1 Reply Latest reply: Jul 31, 2013 10:18 AM by RajaVengala RSS

How do I set ”server time” when doing custom server calls.

f743227d-e90f-4f55-b267-b7f4c3839d5e Newbie
Currently Being Moderated

In openscript I have a call to a utility class that calls a server to get an id/token.

I have a begin/end-step around the call and it show up in the loadtest.

 

beginStep(“Call to tokenserver”);

String token = callTokenServer();

endStep();

 

When generating a Session Report after the loadtest I will only get values (min/max/avg) when using “show End-to-End Times (including Think Times)” and no values if using “Show server times only”.

 

Is there away to set the “server time” (server response time) for my custom call ?

  • 1. Re: How do I set ”server time” when doing custom server calls.
    RajaVengala Newbie
    Currently Being Moderated
    When generating a Session Report after the loadtest I will only get values (min/max/avg) when using “show End-to-End Times (including Think Times)” and no values if using “Show server times only”.

    Server Response times are generated only for http calls. If you notice 'Response Time' column in OpenScript it will be blank for your step group but 'Duration' will be reported. 'Duration' in OpenScript becomes 'End-to-End response time' in OLT and 'Response time' column in OpenScript becomes 'Server Response time'/

     

    Not sure what 'callTokenServer' does. If it makes a http call, then consider using OpenScript http API to overcome this problem.


    Raj

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points