Saturday, January 8, 2022

Application side Issues

Application side Issues
    So much of Response Time.
    Application is not Loading.
    Webpage is not Loading.
    The Image is not Loading.

How to identify the factors for Slowness in a Web Application?
Two-way approach:

1. DevTool: First, use DevTools such as Chrome Tools that come inbuilt with Chrome Browser. 

A. Network Tab: 
  • Run the application with Chrome tools on and verify the Page size, Network Resources being and number of requests for the page to fully load. From here, verify if the different pages have Content-Encoding enabled (compression enabled or not)
B. Console Tab
  • Use the command ‘window.performance.timing’ to evaluate the different segments of the page load time.  For example, ascertain the different load times
C. Calculate the TTFB: Time to First Byte
         Response start – Request start = TTFB * last five digits of the timestamp
         Refer to the below screenshot :
                    => 28136 – 27570= 0.566 seconds (TTFB: 566 milliseconds)
D. Calculate the time taken from the navigation to the last event in the browser
            Load event end – Navigation start = Load Time of Page * last five digits of the timestamp
Refer to the below screenshot:
=> 28868 – 26076 = 2.792 seconds (Page load time: 2792 milliseconds)


Figure 01
2. Load Testing Tool
Use any load testing tool such as LoadRunner or open-source JMeter

No comments:

Post a Comment

Thread

Native Thread Demon Thread Non-Demon Thread Native Thread: - Any Method/Thread which is mapped to OS is called Native Thread or Method. Demo...