This docker image helps you to run LoadRunner Developer scripts in Windows container. LoadRunner Developer leverages DevWeb protocol, a brand new offering from Micro Focus.
Following are the prerequisites required to work in LoadRunner Developer:
- LoadRunner Developer package (latest stable version)
- Working knowledge on DevWeb protocol. Check out my Udemy course to learn about DevWeb procotol.
LoadRunner Developer is free to use for up to 50 virtual users. You need to create an account at Micro Focus Marketplace.
- Download LoadRunner Windows package from marketplace.
I suggest you to build this image before you start using it. Follow the below steps to build this image.
- Clone this repository
- Place the DevWeb zip file inside your folder
- Run the build command
docker build -t <name> .
e.g. docker build -t devweb .
or docker build -t devweb . --network "Default Switch"
This image uses Windows Server core as base image. It will download Visual C++ Redistributable for Visual Studio 2015 and install it inside your container. This component is prerequisite for LoadRunner Developer.
Once the build is successful, you can run the script from the examples
folder using the below command.
docker run devweb -mode=single .\examples\EmptyScript
Important Notes:
- No need to append DevWeb.exe in the command
- Default working directory is
C:\DevWeb_2020.1\DevWeb
You can mount your host to the container using the below command.
docker run --isolation=hyperv -v C:\Scripts\AdvantageOnlineShopping:C:\Scripts\AdvantageOnlineShopping devweb --mode=load C:\Scripts\AdvantageOnlineShopping
Using the mount volume command, after the execution is completed, you can view the results inside the script folder e.g. C:\Scripts\AdvantageOnlineShopping\results
.
DevWeb package file is not publicly downloadable. You need to login and download it. This repo doesn't contain the DevWeb package, as it is against Micro Focus terms to host the DevWeb contents in the public repo. It is must for you to download the DevWeb zip file and place it in your local repo.
Visit my blog to learn more about LoadRunner Developer, DevWeb and more.