Get Knowledge from Video instead of Content:

Saturday, 1 July 2017

PT - Basics Interview Question #7

Q. 31 Can the modular approach applied in the scripting?
Ans. Yes, in the modular approach a scenario is divided into multiple modules and function/Action is created for each transaction (e.g. login, logout, save, delete, etc.) and these functions/Actions can be called wherever required. This approach gives more freedom to reuse Action and saves time. With this approach, it is recommended to work with a web custom request.

Q. 32 Can the modular approach applied in JMeter?
Ans: Yes

Q. 33 What are the main advantages of the modular approach?
Ans: Modular approach helpful:
a. To reuse the code
b. To save the time
c. To save the effort
d. To save the money
e. To make the change at one place reflects in all the scripts
Q. 34 How does caching impact load testing results?
Ans: Caching has both positive as well as negative impact on the load test result. Cache is a temporary memory which stores the browsing history. When the user visits a page for the first time then cache data are stored in the browser cache memory and when user hit the same page the second time, the cached data loaded from cache memory i.e. do not come from server, hence the time required to load the page will be less than that required to load the page for the first visit since much of the information required to load the page is grabbed from the cache instead of the server.
Positive Effect: If you are testing an application having all the unique users then disable the cache using VuGen runtime setting.  
Negative Effect: If the application has a same set of users then you have to simulate the caching behaviour of the browser. You can enable the cache setting in the VuGen runtime setting. 
To get more information about browser simulation of LoadRunner, click here and for JMeter click here.

Q. 35 What are the criteria to conduct the performance testing of an application?
Ans: The only criteria to drop the application in performance testing is:
a. Is there a reasonable load on the application? Performance testing can be parked in case few (like <5) users load is expecting.
b. Is there a chance to increase the load in near future? 
c. Is there sufficient hardware available in the production environment?
d. Is network supportive?
Next: Interview Question #8

Previous: Interview Question #6

No comments :

Post a Comment