Posts

Showing posts from July, 2015

Installing ReadyAPI on a Jenkins EC2 instance using X11

This includes the steps to get ReadyAPI (with licence) running on an AWS EC2 instance and the commands needed to run the Jenkins job  Login via SSH as ec2-user  Install Java x64 to /opt/jdk1.7.0_67/: sudo -s cd /opt wget http://download.oracle.com/otn-pub/java/jdk/7u79-b15/jdk-7u67-linux-x64.tar.gz tar zxvf jdk-7u67-linux-x64.tar.gz rm jdk-7u67-linux-x64.tar.gz Install X11 Virtual Frame Buffer (for running headless tests in Jenkins): sudo yum install xorg-x11-server-Xvfb Ensure X11 forwarding is enabled for SSH server: X11Forwarding yes Prepare the Ready! API install directory: sudo mkdir /data/app/ReadyAPI-1.3.1 sudo chown jenkins:jenkins /data/app/ReadyAPI-1.3.1 Reconnect the server using the user that will be using Ready! API (in this case "jenkins") with X11 forwarding enabled on the client: ssh -X -i ~/.ssh/AmazonKeys.pem jenkins@{jenkins URL} Download the latest version of Ready! API to the server: