Corralation1

450 views
414 views

Published on

Software performance automation testing tool

Published in: Education, Technology
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
450
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
18
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • Record twice, same user data Compare the scripts Any data which has changed from recording one to recording two needs to be correlated. This may very likely include viewstate information which changes from one system to the next Parameterize (as appropriate) the user input data for your business process
  • Corralation1

    1. 1. Loadrunner how to record <ul><li>Proxy mode </li></ul>
    2. 2. Loadrunner how to record
    3. 3. Script running problems and fixing <ul><li>Script recording successfully but can’t replay properly </li></ul><ul><ul><li>Did Vuser Script record all operations of user ? </li></ul></ul><ul><ul><li>Is there any dynamic data ? </li></ul></ul><ul><ul><li>Language issue ? </li></ul></ul><ul><ul><li>System issue ? </li></ul></ul><ul><ul><li>Loadrunner runtime is different from user operation time ? </li></ul></ul>Choose protocol again Correlation Modify script Close unnecessary process Browser cache ? Loadrunner cache ?
    4. 4. Correlation
    5. 5. Script recording process Login Get Session ID ( [email_address] ) Continue operation Data return from Server Server program Username/password Return Session ID Request Return message [email_address] [email_address]
    6. 6. Replay script including dynamic data Login Get Session ID ( [email_address] ) Continue operation Data return from Server Server program Username/password Return Session ID Request Return message [email_address] [email_address] Wrong SessionID
    7. 7. Capture dynamic data <ul><li>Create two same Vusers </li></ul><ul><ul><li>Record the same operation script </li></ul></ul><ul><li>Compare scripts </li></ul><ul><ul><li>Tools > Compare Using Wdiff.exe to compare two scripts </li></ul></ul>
    8. 8. Correlation methods <ul><li>VuGen : </li></ul><ul><li>Manually correlation </li></ul><ul><li>Automatically correlation after recording </li></ul><ul><li>Automatically correlation in recording process </li></ul>
    9. 9. Manually correlation <ul><li>Determine the dynamic data </li></ul><ul><li>Seek the left and right boundary of the dynamic data </li></ul><ul><li>Add the function (web_reg_save_param) </li></ul><ul><li>Parameterize the dynamic data in the script </li></ul><ul><li>Verify the script running </li></ul>

    ×