
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Controller showing "0.000" min,max,avg response time for transactions, in Truclient Mobile Protocol.
Hello,
In LR 12.60, I have recorded a script with Truclient Native Mobile Protocol (Using Mobile Emulator), Enhanced it and when I replay the script in VuGen it is giving me measurement like Duration as shown in picture
But In Controller, during execution of same script with 2 users (2 iterations each) - Min, Max, Average response time for same transactions was shown as "0.000" and even Analysis reports,for the same, showed below results:
Average transaction response time graph:
Because of this, analysis report not creating graphs for Running Vusers, Hits per Second and Throughput.
Can someone help explaining what could be the reason for the controller showing "0.000" for response time?
Thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi @Yallani ,
It looks like the response times, when run from controller are close to 0. I assume, protocol is Truclient-Mobileweb and the transactions have proper start and end points defined.
Can you please share your Run-time settings of the script.
Edit: I see that you are testing advantage shopping application and the sign-out time seems higher to me. If possible please share the script.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi Nakkeeran,
The script is recorded using Truclient-NativeMobile protocol (Not Truclient-MobileWeb) and yes transactions have properly defined start and end points.
I have recorded the same application using Truclient- MobileWeb protocol and there controller is giving proper response time (0.xx sec).
Attaching the Runtime Settings (JSON file) which I used in test and Script SS as below:
Thank You!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi There,
Did you find a solution to this problem?
thanks

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
To make the TRT work rightly, you need to use packaged application and set Object Exists as end events. You should not use non-packaged app. You should not use simulator either. Please check the help here: https://admhelp.microfocus.com/mobilecenter/en/3.3/Content/_lp_prepare_your_app_for_upload.htm?
Please first try this. If you still have questions, please let me know.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi, I am recording a TrueClient Native mobile app(Android) and I dont get Responsetime, Hits per second and Through put, the script is very straight forward where I am navigating with couple of screens and I did add transactions. And all the transactions are getting passed.
Any help would be highly appreciated. Thanks in Advance
vuser_init()
{
return 0;
}
Action()
{
lr_start_transaction("01Login");
truclient_step("1", "Tap on 4 Label", "snapshot=Action_1.inf");
truclient_step("2", "Tap on 2 Label", "snapshot=Action_2.inf");
truclient_step("3", "Tap on 6 Label", "snapshot=Action_3.inf");
truclient_step("4", "Tap on ? Label", "snapshot=Action_4.inf");
lr_end_transaction("01Login",0);
lr_start_transaction("02OpenChecks&ClosedChecks");
truclient_step("5", "Tap on OPEN CHECKS Label", "snapshot=Action_5.inf");
truclient_step("6", "Tap on CLOSED CHECKS Label", "snapshot=Action_6.inf");
truclient_step("7", "Tap on OPEN CHECKS Label", "snapshot=Action_7.inf");
lr_end_transaction("02OpenChecks&ClosedChecks",0);
lr_start_transaction("03Logout");
truclient_step("8", "Tap on Table 11 Label", "snapshot=Action_8.inf");
truclient_step("9", "Tap on ? Label", "snapshot=Action_9.inf");
truclient_step("10", "Tap on Table 74 Label", "snapshot=Action_10.inf");
truclient_step("11", "Tap on YES Label", "snapshot=Action_11.inf");
lr_end_transaction("03Logout",0);
return 0;
}
vuser_end()
{
return 0;
}

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Hi,
Do you use "packaged app" to run the TC Native Mobile script? Please check above answer from Gencehng, TC Native Mobile can fetch measurements only when using a "packaged app" and set proper step end event, see more from App packaging and signing services (microfocus.com)

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Wang, Finally the issue got resolved, Thanks all for the great references here.
On the TC, App selection page, there was a toggle option to "Use Packaged version" which was enabled So I thought application is a packaged one, But the problem was addressed only when application installation on Mobile Center there is an option to install the packaged version.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Glad to know the problem solved, thanks for sharing! Enjoy!
Regards,
Zhipeng