Вы находитесь на странице: 1из 2

1. What is co-relation in Loadrunner?

While recording the server when receives any request from the client , sends an unique id for that session. When client again communicates with the server , server recognizes this session with this session id. But while replaying this vugen script , the server sends another session id , but the client communicates with the server with the hardcoded session id(got while recording), which server cannot recognize , so it fails. So Correlation studio in the web based protocol will correlate the new unique ids. But becoz not always is the correlation studio is perfect. So we must go with the manual correlation.

2. EXTRARES - Extra Resourses This is loaded to pull out the extra resources available such as the images. 3. Some of the Easy Protocol to remeber which Load runner supports WEB Protocol - HTTP/HTML, FTP Client/Server - DB2, MS SQL, ORACLE Citirix etc. 3. Performance Testing: Performance Testing is designed to test the overall performance of the system at high load and stress conditions. Performance Testing occurs through out the software development life cycle to isolate performance related constraints. Even at unit level. The performance of the individual module may be assessed as the internal logic of software that is being tested. Functional Testing: The features and functions are tested before performance testing. The purpose is to verify that the internal operations of the product are working according to desired specifications. Functional testing typically tests accuracy of the application and how it behaves with different operating systems. 4. Global Schedule Action Attributes Initialize - define the pattern you want to initialize every vusers - all at simulteniously/once, initialize befor it about to run. Start Vusers - here we actually define the Ramp up of the vusers, the patter which vuser would follow while ramping up the load on the application. Duration - Once the maximum vuser load is reached, how long do you want the max vuser load to percist. Stop Vusers - Ramping down the vuser once the test is completed. 5. Difference between LR_AUTO, LR_PASS, LR_FAIL?

LR_AUTO: It will return the actual status as detected by the tool. LR_PASS: No matter what status you get this transaction status will return a PASS code. LR_FAIL: Likewise this will return a FAIL code 6. What is load runner agent? Its the interface between the Loadgenerator and the Controller or its a mediator between LG & Controller which actually handles all the communication between LG and Controller.

7. What is the process for developing a Vuser Script ? There are 4 steps for developing a vuser script.
Record a business flow, using Vuser Generator. Record another script of same business flow, using the same values that has been used/selected in the first time recording. Save both the scripts, Goto Tools and select Compare with scripts, compare both the scripts that has just been recorded. Find the major differences that should be highlighted in yellow, more importantly the once which is dynamically generated and sent by the server for corelation and the user provided values for the parameterization. Once you found out the major Playback / Enhance the recorded vuser script. Define the various run-time settings & check.

Вам также может понравиться