Highlighted
Valued Contributor.
Valued Contributor.
305 views

HTTP protocol vs Truclient Web protocol

Jump to solution

Just a query on the discrepancy in response times between transactions for HTTP Web protocols in VuGen scripts vs. TruClient Web protocol in VuGen scripts.

HTTP WEB protocols return faster response times in transactions, compared to TruClient Web, which can take up to twenty seconds at times vs. half a second with HTTP Web protocol using the same business process.

What causes this discrepancy?

1 Solution

Accepted Solutions
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Hi seanjtra,

with TruClient you catch the "user experience" traffic, so there's latency about page loading, link references, images, ecc. Instead, with Web HTTP-HTML protocol the focus is the web layer, so you contact the single service and not the "extra" elements. 

the difference in response times is as you say. 

Hope that simple response can help you,

Lorenzo

View solution in original post

4 Replies
Highlighted
Outstanding Contributor.. Outstanding Contributor..
Outstanding Contributor..

Hi seanjtra,

with TruClient you catch the "user experience" traffic, so there's latency about page loading, link references, images, ecc. Instead, with Web HTTP-HTML protocol the focus is the web layer, so you contact the single service and not the "extra" elements. 

the difference in response times is as you say. 

Hope that simple response can help you,

Lorenzo

View solution in original post

Highlighted
Honored Contributor.. Honored Contributor..
Honored Contributor..

TruClient measures end-to-end response time meaning browser rendering time, latency, server-side processing etc.

Web HTTP/HTML mainly measures server-side processing time. 

TruClient is apt protocol for single page applications, applications built on modern web technologies like angular, react etc.

TruClient is resource hungry, you need to optimize your scripts and infrastructure to get better results.

Web protocol measures only the server-side metrics and it is apt to reveal any bottlenecks in the back end infrastructure. 


Thank you,
NaveenKumar Namachivayam | www.QAInsights.com
Learn TruWeb - my Udemy Course "Performance Testing using TruWeb" | https://www.udemy.com/performance-testing-using-truweb/?couponCode=YOUTUBE
0 Likes
Highlighted
Valued Contributor.
Valued Contributor.
Thank you for your response, big fan of your tutorial videos. They have been very helpful!
Highlighted
Valued Contributor.
Valued Contributor.
Thank you lb1 you answered my question sufficiently.
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.