An open API service indexing awesome lists of open source software.

https://github.com/qainsights/linux-docker-devweb

Linux Docker Image for LoadRunner Developer
https://github.com/qainsights/linux-docker-devweb

containers devweb devweb-protocol docker linux loadrunner-developer

Last synced: 4 months ago
JSON representation

Linux Docker Image for LoadRunner Developer

Awesome Lists containing this project

README

          

# Linux Docker Image for LoadRunner Developer
[![contributions welcome](https://img.shields.io/badge/contributions-welcome-1EAEDB)]()
[![saythanks](https://img.shields.io/badge/say-thanks-1EAEDB.svg)](https://saythanks.io/to/catch.nkn%40gmail.com)
[![](https://img.shields.io/badge/license-MIT-0a0a0a.svg?style=flat&colorA=1EAEDB)](https://qainsights.com)
[![](https://img.shields.io/badge/%E2%9D%A4-QAInsights-0a0a0a.svg?style=flat&colorA=1EAEDB)](https://qainsights.com)
[![](https://img.shields.io/badge/%E2%9D%A4-YouTube%20Channel-0a0a0a.svg?style=flat&colorA=1EAEDB)](https://www.youtube.com/user/QAInsights?sub_confirmation=1)
[![](https://img.shields.io/badge/donate-paypal-1EAEDB)](https://www.paypal.com/paypalme/NAVEENKUMARN)

This docker image helps you to run LoadRunner Developer scripts in Linux container. LoadRunner Developer leverages DevWeb protocol, a brand new offering from Micro Focus.

#### You can also check it out [Windows Image](https://github.com/QAInsights/windows-docker-devweb).

## Prerequisites

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](https://www.udemy.com/course/performance-testing-using-truweb/) to learn about DevWeb procotol.

## How to download LoadRunner Developer?

LoadRunner Developer is free to use for up to 50 virtual users. You need to create an account at Micro Focus Marketplace.
* Download LoadRunner Linux package from [marketplace](https://marketplace.microfocus.com/appdelivery/content/loadrunner-developer).

## How to build this image?

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 tar file inside your folder
* Run the build command

`docker build -t .`

e.g. `docker build -t devweb .`

This image uses Ubuntu as base image.

## How to run the container?

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 `/DevWeb`

## How to mount the volume to the container?

You can mount your host to the container using the below command.

`docker run -v C:\Scripts\AdvantageOnlineShopping:/Scripts/AdvantageOnlineShopping --mode=single /Scripts/AdvantageOnlineShopping`

## How to view the results?

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`.

## Why building the image is required?

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 tar file and place it in your local repo.

## Important Note
If you are getting `r' command not found docker` while executing the Docker image, open `run.sh` in Notepad++, go to `Edit` > `EOL Conversion` > `Unix(LF)` then save the file and build the image again.

## Learn more
Visit my [blog](https://qainsights.com/what-is-loadrunner-developer/) to learn more about LoadRunner Developer, DevWeb and more.