1 / 19

Comprehensive Guide for Installing and Using SSH/SFTP in QA Environments

This guide covers the essentials of setting up SSH/SFTP software in Quality Assurance (QA) environments. It includes basic UNIX commands for file management, such as `ls`, `cp`, `rm`, `cat`, and `pwd`, as well as instructions for setting up environment variables such as `JAVA_HOME` and `ANT_HOME`. The document also details the entire build process using CVS for code checkout, application building with Ant, and deployment on JBoss servers. Lastly, it highlights performance and API testing methodologies using tools like Selenium and JMeter.

chul
Télécharger la présentation

Comprehensive Guide for Installing and Using SSH/SFTP in QA Environments

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Access QA servers • Install SSH/SFTP software • T:\QualityAssurance\Tools\SSH

  2. Basic UNIX Commands • ls, ls -l (dir in dos) • cp (copy in dos) • rm (del in dos) • cat or more (type in dos) • pwd (cd in dos) • tail

  3. Basic QA Environment • more .profile export JAVA_HOME=/usr/jdk1.5.0_10 export ANT_HOME=/usr/local/apache-ant-1.6.5 export PATH=$JAVA_HOME/bin:$ANT_HOME/bin:$PATH export ANT_OPTS=-Xmx640m export CVSROOT=:pserver:wuye@cbiocvs2.nci.nih.gov:/share/content/gforge/caadapter

  4. Basic Build Process • Step 1: Check out code from cvs • Step 2: Build the application • Step 3: Deploy application

  5. Step 1. Check Out Code from CVS • First time • Cvs login • Build.xml <target name="checkout-tag"> <cvs cvsRoot=":pserver:wuye@cbiocvs2.nci.nih.gov:/share/content/gforge/caadapter" dest="${basedir}" command="checkout -A -r ${tag} caadapter"/> </target>

  6. Step 2: Build Application ant build-all -Dwebserver=http://caadapter-dev.nci.nih.gov -Dgenerate-keys=yes -Dadd-license=yes

  7. Step 3: Deploy Application

  8. Step 3: Deploy Application • Jboss location • /usr/local/jboss405 • Start and Shutdown Jboss • Goto /usr/local/jboss405/server/ncicb-X/bin • Start_jboss • Stop_jboss • Deployment location • /usr/local/jboss405/server/ncicb-x/deploy

  9. Test • API Testing • Web Testing • Selenium • T:\QualityAssurance\QA_Documents • T:\QualityAssurance\QA_Seminar • Performance Testing • JMeter

  10. Install JDK 5 or 6 • Download JDK from • http://java.sun.com/javase/downloads/index.jsp • Run jdk-6u3-windows-i586-p.exe (JDK 6 Update 3) • Set up the Java Home and path

  11. Install Eclipse • Download Eclipse • http://www.eclipse.org/downloads/ • Eclipse IDE for Java Developers or • Eclipse IDE for Java EE Developers • Unzip the download jar files. • Start eclipse by click on the eclipse.exe

  12. Setup CVS Access

  13. Setup CVS Access

  14. Setup CVS Access

  15. Check-out Code

More Related