%% Last Updated: - [[2021-02-09]] - [[2020-12-04]] - [[2020-12-04]] %% ## Modules The tool that is collectively called LoadRunner is actually made up of several modules: [[LoadRunner VUGen]] [[LoadRunner Controller]] [[LoadRunner Analysis]] [[LoadRunner Cloud]] ## Scripting See [[LoadRunner VUGen]] ## Key features of a load testing platform ### Scripting #### Creating a script - [x] [[Recorder]] - [x] [[Exclude third-party or configured domains]] - [x] [[GUI Test Builder]] - [[TruClient]] - [ ] [[Web-based script editor]] - [x] [[Upload of scripts from other tools]] - [x] [[Protocol-based load testing]] - [x] [[Browser-based testing]] ([[TruClient]] protocol) #### Making the script robust - [x] [[Supports all HTTP methods]] - [x] [[Sending parameters with request]] - [x] [[Modify headers]] - [x] [[Response assertions]] - Error handling - [x] [[Output to log upon error]] - [x] [[Continue on error or restart iteration]] - Debugging - [x] [[See request and response headers and bodies on single iteration]] - [x] [[Transaction groups]] - In [[LoadRunner VUGen]], they are called "scripts". Each script is made up of several actions. A single action is a [[JMeter Transaction]] or group of requests. #### Making the script realistic - [x] [[Correlation of dynamic values]] - [x] [[Pass variables in request]] - [x] [[Dynamic think time and pacing]] ### Execution #### [x] [[Test Scenarios]] - Called scenario groups within [[LoadRunner Controller]] #### [x] [[Configurable Load profile]] - ![](assets/1621807259_49.png) - Source: https://www.guru99.com/how-to-use-controller-in-loadrunner.html - [x] [[Number of virtual users]] - [x] [[Duration]] - [x] [[Origin or Region]] - [x] [[Fully customizable load profile]] - [x] [[Ramp-up]] - [x] [[Ramp down]] - [x] [[Number of iterations]] #### [x] [[Data partitioning across load generators]] - Can opt to use unique data across multiple load generators #### SLAs - [x] [[Set multiple thresholds]] - ![](assets/1621807260_50.png) - Source: https://www.youtube.com/watch?v=hyAu3H6IOLE #### [?] [[No shared infrastructure]] #### [x] [[Bandwidth throttling]] - Through [[WAN emulation]] - ![](assets/1621807261_51.png) - Source: https://www.wisdomjobs.com/e-university/loadrunner-tutorial-170/configuring-wan-emulation-settings-8617.html #### Infrastructure - [x] [[Control over how many users per load generator to run]] - [x] [[Self-hosted]] - [x] [[On-premise]] - [x] [[Own cloud accounts]] - [x] [[AWS]] - [x] [[Microsoft Azure]] - [x] [[Google Cloud Platform]] - [ ] [[DigitalOcean]] - [x] [[On demand]] - On [[LoadRunner Cloud]] #### [x] [[Multiple IP addresses]] #### [x] [[Execution Parameters]] - Additional Attributes, in Runtime Settings - ![](assets/1621807262_52.png) - Source: https://www.perfmatrix.com/loadrunner-runtime-settings-additional-attributes/ ### Analysis #### Dashboard - [x] [[Custom dashboard creation]] - In [[LoadRunner Analysis]], you can save an analysis template (`.lrr`) that you can apply to any load test results. - ![](assets/1621807263_53.png) - Source: https://www.guru99.com/how-to-use-analyzer-in-loadrunner-12-0.html - [x] [[Reusable dashboards]] - Easy error troubleshooting - [x] [[Screenshots]] - [x] [[Response bodies]] - [x] [[Assertion success or failure]] - [x] [[Log for transaction failure]] #### Metrics - [x] [[Response time]] - [x] [[Request throughput]] - [x] [[Number of virtual users]] - [x] [[Error rate]] - [x] [[Network throughput]] - [x] [[Load generator CPU]] - [x] [[Load generator memory]] #### Graphs - [ ] [[Different Graph Types]] - [x] [[View by transaction]] - [ ] [[View by load generator or region]] - [x] [[Custom views]] #### Comparison - [ ] [[Compare two tests]] - [ ] [[Overlay results by relative time]] #### Results - [ ] [[Raw data]] - [x] [[At least 1s granularity]] - I think it was 5s by default, last time I used it - [x] [[Export as plain text]] - [x] [[Integration with APM or Data Visualization tools]] - [x] [[New Relic]] - [x] [[Dynatrace]] - [ ] [[AppDynamics]] - [ ] [[Tableau]] - [x] [[InfluxDB]] - [ ] [[Datadog]] - [ ] [[CloudWatch]] - [ ] [[CA Technologies APM]] - [ ] [[Splunk Cloud]] - [ ] [[Keen]] - [ ] [[BigPanda]] ### Continuous Load Testing #### Scheduling - [x] [[Run tests on a schedule]] - [ ] [[Email results]] - [ ] [[Alerts]] - [ ] [[Slack]] - [ ] [[Microsoft Teams]] - [ ] [[PagerDuty]] - [ ] [[VictorOps]] - [ ] [[OpsGenie]] - [ ] [[ServiceNow]] - [ ] [[Flowdock]] - [ ] [[Zapier]] - [ ] [[Grove]] #### [ ] [[API hooks]] #### [ ] [[Graph of continuous performance over time]]