
***** 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.
***** IMPORTANT TIP *****
main.js is a MANDATORY file when importing. main.js is the main file on the script.
***** 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
***** IMPORTANT TIPS *****
Copy and paste the contents to your tasks.json file
Important Links
Download Atom from https://atom.io/
Download TruWeb Plugin from Micro Focus Marketplace https://marketplace.microfocus.com/appdelivery/content/truweb
Extract the contents and place it in C:\Users\<YourUserName>\.atom\packages in Windows OS
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
Micro Focus Marketplace https://marketplace.microfocus.com/appdelivery/content/LoadRunner-Developer
NOTE: Always download the latest version
This video describes about the IntelliJ IDEA Integration in LoadRunner Developer.
This lecture features the integration between WebStorm and LoadRunner Developer.
TIP: The term `Correlation` has been deprecated, but it's still being used when it comes to Rules :)
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.
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
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
***** 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.
***** 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
Making is in progress
Please download the `WebToursDemoLoadTesting.zip` to check it out the sample project which is created using TruWeb. More projects to come. Please stay tuned.
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!
License Bundle available at https://www.microfocus.com/media/flyer/loadrunner-professional-and-loadrunner-enterprise-license-bundles-flyer.pdf
This link may expire, I urge you to contact Micro Focus for the pricing and other details.
Windows Docker Image for LoadRunner Developer: https://github.com/QAInsights/windows-docker-devweb
Linux Docker Image for LoadRunner Developer: https://github.com/QAInsights/linux-docker-devweb
To download Fiddler, visit https://www.telerik.com/download/fiddler
Sample script has been attached herewith
This lecture overviews about the what's new in DevWeb protocol in LoadRunner Professional 2021.
Resources to refer: https://grpc.io/
Bloom RPC: https://github.com/uw-labs/bloomrpc
Insomnia: https://insomnia.rest/
Samplr gRPC: https://grpcb.in/
****** TruWeb protocol has been renamed to `DevWeb` by Micro Focus. ******
****** Course has been updated with LoadRunner Professional 2021 ******
****** Added Docker Containers for DevWeb tutorials ******
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 2021 DevWeb Protocol
60+ Lectures
******
Micro Focus announced its newer protocol called TruWeb in LoadRunner 12.60. TruWeb has a 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:
Getting Started.
Ramp up.
Steady State.
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!