Performance Testing using TruWeb
4.3 (10 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.
52 students enrolled

Performance Testing using TruWeb

a brand new protocol from Micro Focus LoadRunner
4.3 (10 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.
52 students enrolled
Last updated 1/2019
English
English [Auto-generated]
Current price: $11.99 Original price: $99.99 Discount: 88% off
2 days left at this price!
30-Day Money-Back Guarantee
This course includes
  • 5 hours on-demand video
  • 21 downloadable resources
  • Full lifetime access
  • Access on mobile and TV
  • Certificate of Completion
Training 5 or more people?

Get your team access to Udemy's top 3,000+ courses anytime, anywhere.

Try Udemy for Business
What you'll learn
  • What is TruWeb?
  • 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
Requirements
  • Basic understanding about performance testing
  • Basic hands on experience in Micro Focus LoadRunner
  • Basic knowledge in JavaScript
Description

******

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

******
40+ Lectures | More to come | One and Only Course on Micro Focus LoadRunner TruWeb Protocol 

******

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 very 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 42 lectures 04:45:59
+ Getting Ready
14 lectures 01:33:50
TruWeb Installation
04:30

***** 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
03:19

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

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

Hello World! TruWeb Configuration - Integrated
03:55

***** 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
06:25

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

Copy and paste the contents to your tasks.json file


Visual Studio Code Setup
10:27
Notepad++ Setup (Unofficial Support)
09:37

Important Links

  1. Download Atom from https://atom.io/

  2. Download TruWeb Plugin from Micro Focus Marketplace https://marketplace.microfocus.com/appdelivery/content/truweb

    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
04:13
  • Micro Focus Marketplace https://marketplace.microfocus.com/appdelivery/content/truweb

  • File to download: ProxyRecorder

NOTE: Always download the latest version


Recording in TruWeb
07:37
TruWeb Offline Script Generator
10:26
Filter Traffic in TruWeb
07:28
TruWeb Logs and Results
07:10
+ Ramp Up
24 lectures 02:50:02
URL vs Pages Level
06:48
Text Check w/ Regular Expressions
05:56
Data Parameterization Part 1
10:13
Data Parameterization Part 2
08:49
Extractors in TruWeb
05:43
Boundary Extractor
13:53
Regular Expression Extractor
12:03
JSON Path Extractor
11:09

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

Automation Correlation using Rules
08:40

Micro Focus Marketplace: https://marketplace.microfocus.com/

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
06:16
Transactions
09:20
Runtime Settings
09:42

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

load.decrypt();


Configure Runtime Settings

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

Data Encryption
06:50

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

Prerequisites

  • Latest version of VS Code | https://code.visualstudio.com/download

  • Node Debug – an extension for VS Code | https://marketplace.visualstudio.com/items?itemName=ms-vscode.node-debug2

Debugging in TruWeb
07:28
Error Handling
04:10
Web Requests Defaults
04:19

***** 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
04:04

***** 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
11:46
Using npm in TruWeb
06:09
How to install npm module in VS Code?
01:49
How to delete Results folder in VS Code? (Utility)
03:41
How to disable sending usage data to Micro Focus?
01:27
+ Steady State
2 lectures 10:17

Making is in progress

Running TruWeb Scripts - Load Testing
06:59
Running TruWeb Scripts in LoadRunner
03:18
+ Ramp Down
2 lectures 11:50
Load Testing Report
05:15

Please download the `WebToursDemoLoadTesting.zip` 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
06:35