From: vijetha k. <vij...@gm...> - 2013-01-11 13:07:57
|
Hi I use Jython-2.2.1 in nGrinder version 3.0 and JDK version 1.7.0_10. I need to introduce a timer in my code to record time taken for posting a method and receiving a response from server. The c# code is as follows: TestContext.BeginTimer("timer"); String methodResponse = posttothemethod.PostMethodtest(url, data); TestContext.EndTimer("timer"); Could anyone tell me the command in Jython for recording time (as shown in the above code). Thanks |