Wednesday 2 May 2018

Run Time/Replay Settings - Load Runner - Part_2 - Chapter10



  • In Part1, we have covered, General -->Run Logic, Pacing, Log and Think Time. And Now, we will continue covering other run time settings.
  • Additional Attribute:
    • Additional attributes are input values(Parameters) which can be passed during the run time or execution or load test.
    • Using lr_get_attrib_string function, we can achieve this.
  • Miscellaneous:
    • Miscellaneous divided into three parts as below
      • Error Handling
        • Continue on Error: If this checkbox is enabled, the script will not exit until it reaches the last line of code. Though the errors are triggered.
        • Fail open Transactions on lr_error _message: If this check box is enabled and if lr_error_message is placed inside transactions, the specific transactions will fail.
        • Generate snapshot on error : If this option is enabled, then the page which failed to used will be captured as snapshot and would saved in script folder.
      • Multi Threading: 
        • Thread: If this radio button is selected, then the script will run with seperate threads/users.
        • Process:If this radio button is selected, then the script for each user will run as a separate process which actually consume more memory and not advisable.
      • Automatic Transactions: 
        • Define Each action as a transaction: If this selection is made, then each actions inside script would be considered as transaction. i.e Vuser_Init, Vuser_End also would be considered as a transactions and that would be updated in result file.
        • Define Each step as a transaction: If this selection is made, each step/requests in script would be treated as a transactions.
    • Browser:
      • Browser Emulation:
        • Use Browser: This option can be selected if general details of browser names, versions are known and to emulate testing with different browsers.
        • Use Custom: This option can be selected if clients wants to check particular version of browser with browser agent. This info would be provided by client.
        • Browser Cache: Browser cache settings, this can be selected according to our needs. Notable, "Download Non-Html Resources" place vital role. If this option is disabled, the transaction response time would be less. But as a proper tester, this option should be enabled, so that all the components like .html, .css, .png would be downloaded and their respective response time would be calculated under transaction response time.
    • Network:
      • This option would not much used, but still based on the client requirement, the application can be testing different network speed.
    • Stay Tuned for more learnings.

Correlation Using Load Runner - Part1 - Chapter13

Correlation General Description : Capturing Dynamic values from the preceding requests and substituting in the post request.  Exam...