Skip to content

Instantly share code, notes, and snippets.

# Use vinsdocker/jmbase
FROM vinsdocker/jmbase
MAINTAINER TestAutomationGuru
# Ports to be exposed from the container for JMeter Slaves/Server
EXPOSE 1099 50000
# Application to run on starting the container
ENTRYPOINT $JMETER_HOME/bin/jmeter-server \
# Use vinsdocker/jmbase
FROM vinsdocker/jmbase
MAINTAINER TestAutomationGuru
# Ports to be exposed from the container for JMeter Master
EXPOSE 60000
'To terminate all the processes in the machine
Call KillProcess("UFT.exe")
Call KillProcess("QtpAutomationAgent.exe")
Call KillProcess("iexplore.exe")
Call KillProcess("chrome.exe")
Call KillProcess("firefox.exe")
Call KillProcess("werfault.exe")
'Create QTP object
Set QTP = CreateObject("QuickTest.Application")
# Use vinsdocker/jmbase
FROM vinsdocker/jmbase
MAINTAINER TestAutomationGuru
# Ports to be exposed from the container for JMeter Slaves/Server
EXPOSE 1099 50000
# Application to run on starting the container
ENTRYPOINT $JMETER_HOME/bin/jmeter-server \
<?xml version="1.0" encoding="UTF-8"?>
<arquillian xmlns="http://jboss.com/arquillian" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://jboss.org/schema/arquillian http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
<extension qualifier="webdriver">
<property name="browser">firefox</property>
</extension>
</arquillian>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<version.org.jboss.arquillian>1.1.11.Final</version.org.jboss.arquillian>
<version.org.jboss.arquillian.drone>2.0.0.Final</version.org.jboss.arquillian.drone>
<version.org.jboss.arquillian.graphene>2.1.0.CR2</version.org.jboss.arquillian.graphene>
<version.screenshooter>2.1.0.CR1</version.screenshooter>
</properties>
<dependencies>
<dependency>
<groupId>org.jboss.arquillian.graphene</groupId>
version: '2'
services:
master:
image: vinsdocker/jmmaster
container_name: master
tty: true
hostname: master
networks:
RegisterUserFunc "Page","getChildObjects", "getChildObjects"
RegisterUserFunc "WebElement","getChildObjects", "getChildObjects"
RegisterUserFunc "WebTable","getChildObjects", "getChildObjects"
Public Function getChildObjects(ByRef PageObject, ByVal strDescString)
Set oChildren = New cls_DPObjects
Set getChildObjects = oChildren.getChildObjects(PageObject, strDescString)
Set oChildren = Nothing
End Function
# Use Ubuntu
FROM ubuntu
MAINTAINER TestAutomationGuru
# Install wger & JRE
RUN apt-get clean && \
apt-get update && \
apt-get -qy install \
wget \
default-jre-headless \
version: '2'
services:
master:
image: vinsdocker/jmmaster
container_name: master
tty: true
hostname: master
networks: