Performance Testing using TruWeb
4.8 (25 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
176 students enrolled

Performance Testing using TruWeb

a brand new protocol from Micro Focus LoadRunner
Highest Rated
4.8 (25 ratings)
Course Ratings are calculated from individual students’ ratings and a variety of other signals, like age of rating and reliability, to ensure that they reflect course quality fairly and accurately.
176 students enrolled
Last updated 4/2020
English [Auto]
Current price: $69.99 Original price: $99.99 Discount: 30% off
5 hours left at this price!
30-Day Money-Back Guarantee
This course includes
  • 6 hours on-demand video
  • 24 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to 4,000+ top Udemy courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • What is TruWeb?
  • DevWeb Protocol
  • TruWeb Environment Setup
  • Recording in TruWeb
  • Generate TruWeb Scripts
  • Filter Traffic in TruWeb
  • TruWeb Script Enhancements
  • Data Encryption
  • TruWeb Script Execution
  • Debugging and Error Handling
  • Automatic Correlation using Rules
  • Correlation Rule Converter
  • Version Controlling TruWeb Scripts using GitHub
  • Using npm in TruWeb
  • TruWeb Load Testing
  • TruWeb Best Practices
  • Mini Project
  • Result Analysis
  • LoadRunner Developer
  • Grafana Integration
  • Jenkins Integration
  • Basic understanding about performance testing
  • Basic hands on experience in Micro Focus LoadRunner
  • Basic knowledge in JavaScript

****** TruWeb protocol has been renamed to `DevWeb` by Micro Focus. ******


  • Great course if you want to start with TruWeb. Takes you from the basics of installation and setting up your environment to advanced topics like extractors. - Boris Kozorovitzky - Architect of TruWeb


  • One and Only Course on Micro Focus LoadRunner 2020 DevWeb Protocol

  • 50+ Lectures



  • Course is being updated with the latest version DevWeb 2020 Service Pack 1


Micro Focus announced its newer protocol called TruWeb in LoadRunner 12.60. TruWeb has lot of potential in future performance testing arena. It is scalable, light weight, and cross-platform compatible. You can run TruWeb script in Windows, Mac and Linux and using almost any editors such as Visual Studio Code, Eclipse, Virtual User Generator etcetera. Also, you can execute TruWeb scripts in Performance Center as well. It is free to use (at this time of writing).

By learning this course `Performance Testing using TruWeb`, you are ready to impress your project manager, VP, even CTO by proposing this solution as a part of your organization performance test practices.

Also, you will be adding `TruWeb` protocol in your resume to make it stronger and stand unique in the crowd.

Even if you do not have any prior knowledge about Micro Focus tools or performance testing, I tried to explain the concepts in laymen terms.

I divided the course into four sections:

  1. Getting Started

  2. Ramp up

  3. Steady State

  4. Ramp down.

Course starts with very basics and fundamentals about TruWeb called `Getting Ready`. Then, you will learn all the importance concepts in TruWeb which will be especially useful to design your test scripts in `Ramp Up` section.

In `Steady State` section, you will be comfortable in executing load testing using TruWeb in your local system. Higher the power, higher the load injection.

In `Ramp Down` section, you will learn the best practices, results analysis and there is a mini project script I have attached for your learning purpose.

I urge you to practice the scripting by referring the scripts that I have attached. Unless you practice your JavaScript, it is tougher to learn and implement TruWeb for your projects.

Good luck!

Who this course is for:
  • Manual software testers, Test Automation experts who are interested to get started with the performance testing.
  • Performance Test Engineers who wants to explore TruWeb - a brand new protocol offering from Micro Focus
  • Performance Test Engineers who are familiar with other protocols in LoadRunner and other commercial or open source tools
Course content
Expand all 55 lectures 05:47:56
+ Getting Ready
14 lectures 01:33:50
TruWeb Installation

***** IMPORTANT TIP *****

The TRUWEB_PATH is needed only for the Integrated Development Environment (IDE) integration, when working with Command Prompt (CMD) it is not used.

Hello World! TruWeb Configuration - Standalone

***** IMPORTANT TIP *****

main.js is a MANDATORY file when importing. main.js is the main file on the script.

Hello World! TruWeb Configuration - Integrated

***** IMPORTANT TIPS *****

  • scenario.yml is NOT MANDATORY. If the argument mode=load you are passing in the command prompt, then it is required.

  • TruWeb doesn't load node.js libraries.

  • TruWeb support loading pure JavaScript

  • TruWeb doesn't run vusers in node.js.

  • You can modify/delete the options in rts.yml. If options are missing in your rts.yml, it will take the default values from TRUWEB\rts.yml

Anatomy of TruWeb Scripts

***** IMPORTANT TIPS *****

Copy and paste the contents to your tasks.json file

Visual Studio Code Setup
Notepad++ Setup (Unofficial Support)

Important Links

  1. Download Atom from

  2. Download TruWeb Plugin from Micro Focus Marketplace

    1. Extract the contents and place it in C:\Users\<YourUserName>\.atom\packages in Windows OS

    2. Launch Atom and look for TruWeb in Menu bar

Important note

Make sure that the extracted contents of TruWeb plugin should be placed as per following folder structure, otherwise you will not see TruWeb menu C:\Users\<YourUserName>\.atom\packages\truweb-atom-plugin

Atom Setup
TruWeb Offline Script Generator
  • Micro Focus Marketplace

NOTE: Always download the latest version

Recording in TruWeb
Filter Traffic in TruWeb
TruWeb Logs and Results
+ Ramp Up
25 lectures 02:54:15
URL vs Pages Level
Text Check w/ Regular Expressions
Data Parameterization Part 1
Data Parameterization Part 2
Extractors in TruWeb
Boundary Extractor
Regular Expression Extractor
JSON Path Extractor

TIP: The term `Correlation` has been deprecated, but it's still being used when it comes to Rules :)

Automation Correlation using Rules

Micro Focus Marketplace:

Please check the attached zip file, if you do not have LoadRunner installed to practice the conversion.

Alternatively, you can place the Correlation Rule Converter to the TruWeb folder.

Correlation Rule Converter
Runtime Settings

Step 1 - AES 256 bit key

TruWebUtils -mode=genKey -keyLocation=DataEncryption/myKey.txt <yourPassPhrase>

Step 2 - Encrypt data

TruWebUtils -mode=enc -keyLocation=DataEncryption/myKey.txt <testData>

Step 3


Configure Runtime Settings

rts.yml > encryption > keylocation TRUWEB_HOME/DataEncryption/myKey.txt

Data Encryption

Please download the attached JSON files: tasks.json and launch.json


  • Latest version of VS Code |

  • Node Debug – an extension for VS Code |

Debugging in TruWeb
Error Handling
Web Requests Defaults

***** IMPORTANT TIP *****

Please find the attached definitions file for TruWeb. This is for the version [2018.11].

If you delete this file, you will get Intellisense feature in VS Code, but you will be able to run your script successfully.

Enable Intellisense and Autocomplete in VS Code

***** IMPORTANT TIP *****

To copy folder content to your repository, please use below command in Windows.

xcopy <SourceFolder>\* <DestinationFolder> /s

To prevent Visual Studio Code asking for GitHub credentials, in the Terminal enter the following command:

git config --global credential.helper wincred

Version Controlling TruWeb Scripts using GitHub
Using npm in TruWeb
How to install npm module in VS Code?
How to delete Results folder in VS Code? (Utility)
How to disable sending usage data to Micro Focus?
How to download/upgrade TruWeb 2019.5.4?
+ Steady State
2 lectures 10:17

Making is in progress

Running TruWeb Scripts - Load Testing
Running TruWeb Scripts in LoadRunner
+ Ramp Down
2 lectures 11:50
Load Testing Report

Please download the `` to check it out the sample project which is created using TruWeb. More projects to come. Please stay tuned.

Best Practices and Mini Sample Project
+ Rebooting DevWeb
12 lectures 57:44

TruWeb has been renamed to DevWeb since 2020 version. Underlying core features are still the same. Please get this section started after watching the previous sections.

Happy Performance Testing!

Preview 02:03
Installing/Upgrading DevWeb 2020 Service Pack 1
Grafana Integration
Creating a Grafana Dashboard for DevWeb
DevWeb SLA Rules
CI Integration Part 1
CI Integration Part 2
LoadRunner Developer Vs DevWeb

License Bundle available at

This link may expire, I urge you to contact Micro Focus for the pricing and other details.

DevWeb Licensing
Dynatrace AppMon Integration
  • To download Fiddler, visit

  • Sample script has been attached herewith

Capture Requests in Fiddler from DevWeb