Studio Fx on Rails Demonstrating the Studio Fx API.

Slides:



Advertisements
Similar presentations
WordPress Installation for Beginners Sheila Bergman
Advertisements

Installing the MATLAB Add-On
MySQL Installation Guide. MySQL Downloading MySQL Installer.
beas WEB App Installation
HELP GUIDE NEW USER REGISTRATION (SLIDE 2) TAKING A QUIZ (SLIDE 8) REVIEWING A QUIZ (SLIDE 17) GROUP MEMBERSHIP (SLIDE 26) CREATING QUIZZES (SLIDE 31)
1 Configuring Web services (Week 15, Monday 4/17/2006) © Abdou Illia, Spring 2006.
Creating Web Services with Ruby on Rails Robert Thew Internet and Web Systems II.
XMAS installation instructions Windows Version: 1.0 4/22/2008.
EValid Getting Started. Agenda Introduction to eValid First experience of using eValid Recording and Site Analysis in eValid.
Discovering SQL all rights reserved (c) 2010 agilitator.com INSTALLING MySQL 5.1 Community Server.
1 Technology Readiness Maryland /2015 Admin Schedule 2 AssessmentOnline/CBT Testing Dates PARCC - PBAMarch 2 – May 8 MSA ScienceApril 13.
Building a Deployment The following screens demonstrate how to: 1. Create a new OpenHRE™ tailor-made deployment using a remote (sample) deployment Standard.
FIRST COURSE Creating Web Pages with Microsoft Office 2007.
Ruby on Rails Creating a Rails Application Carol E Wolf CS396X.
Dynamic Web site With PHP and MySQL. MySQL The combination of MySQL database and PHP scripting language is optimum for building dynamic websites. MySQL.
Setting up the Development Environment Copyright © SUPINFO. All rights reserved Preparation.
Access Tutorial 8 Sharing, Integrating, and Analyzing Data
Securing LAMP: Linux, Apache, MySQL and PHP Track 2 Workshop PacNOG 7 July 1, 2010 Pago Pago, American Samoa.
Linux Operations and Administration
Guideline for ClinLabGeneticist tool Jinlian Wang
DB2 (Express C Edition) Installation and Using a Database
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
© 2012 Boise State University1 WordPress Training February 14, 2013.
SQL HW1 Turn in as a hardcopy at the start of next class period. You may work this assignment in groups.
Self Guided Tour for Query V8.4 Basic Features. 2 This Self Guided Tour is meant as a review only for Query V8.4 Basic Features and not as a substitute.
© 2012 Boise State University1 WordPress Training February 14, 2013.
CHAPTER 9 Introducing Microsoft Office Learning Objectives Start Office programs and explore common elements Use the Ribbon Work with files Use.
Press Esc to Exit ©2011 Cengage Learning. All Rights Reserved. May not be scanned, copied or duplicated, or posted to a publicly accessible website, in.
Customer Relationship Management. Content CRM SugarCRM System Requirement Installation Process Configuration.
1 Installation When this module is complete, you will be able to:  Set a static IP address for your laptop  Install the snom ONE software  Navigate.
Instructors begin using McGraw-Hill’s Homework Manager by creating a unique class Web site in the system. The Class Homepage becomes the entry point for.
Ruby on Rails Your first app. Rails files app/ Contains the controllers, models, views and assets for your application. You’ll focus on this folder for.
Client – Server Application Can you create a client server application: The server will be running as a service: does not have a GUI The server will run.
Logging into the linux machines This series of view charts show how to log into the linux machines from the Windows environment. Machine name IP address.
Hello We are looking for a coder to code the following We have a network that has different sites: we need an application that will scan the network and.
Tools Menu and Other Concepts Alerts Event Log SLA Management Search Address Space Search Syslog Download NetIIS Standalone Application.
Installation and Development Tools National Center for Supercomputing Applications University of Illinois at Urbana-Champaign The SEASR project and its.
Ruby on Rails CSE 190M, Spring 2009 Week 6. Overview How to use a database Demo creating a blog application on Rails Explain how the application works.
Training Guide for Inzalo SOP Users. This guide has been prepared to demonstrate the use of the Inzalo Intranet based SOP applications. The scope of this.
WDO-It! 102 Workshop: Using an abstraction of a process to capture provenance UTEP’s Trust Laboratory NDR HP MP.
MuSL Builder Handcrafting custom Mu Scenarios. MuSL in the Mu Scenario Editor.
How To Configure Thunderbird For Your Webspace Account.
Oracle Data Integrator Agents. 8-2 Understanding Agents.
Saving PowerPoint Presentations as Web Pages Your Logo Here Open the PowerPoint Presentation. To convert to a format compatible with web browsers, launch.
WAMP Windows Apache MySQL and PHP i.e. “WAMP”. Why WAMP? WampServer is a Windows web development environment. It allows you to create and test web pages.
Installing MySQL BCIS 3680 Enterprise Programming.
Anritsu Automation Platform (AAP) AAP PC Connects to the system via IP connection (system switch) AAP was developed to add features that were requested.
Copy of the from the secure website - click on the AccoridaLife.zip link.
Linux Operations and Administration
Go to Start >> Programs >> Outlook Express ( as shown)
1 Dr Alexiei Dingli Web Science Stream Installing ROR.
VMWare Workstation Installation. Starting Vmware Workstation Go to the start menu and start the VMware Workstation program. *Note: The following instructions.
{ Analyzer Tutorial By You will be able to find the download link of the latest version here.
REEferralNet Person-to-Person Relationship Management Tool. Go to: Did you know 92% trust referrals from people they know And are.
Mantis Bug Tracker. MantisBT features Open source web-based bug tracking system. Track software defects. Mantis is often configured by users to serve.
Basic Setup of OpenMeetings Version Three Styles for Setup Style1 : Starting from Scratch – Starting from svn check out and compiling with ant.
MySQL and PHPMyAdmin 1. Make sure your MySQL service is running. If using XAMPP, open the control panel. If the button for MySQL says Start, click it.
Guide To Develop Mobile Apps With Titanium. Agenda Overview Installation of Platform SDKs Pros of Appcelerator Titanium Cons of Appcelerator Titanium.
CIS Host Manager Bryce Johnston CIS 597 May 8, 2009.
APACHE INSTALL AWS Linux (Amazon Web Services EC2)
Installing RMS 3.0 Contractor Mode
UC Pro Troubleshooting Guide
A step-by-Step Guide For labels or merges
4Schools Adding a Web Page.
Spam Database Tool Use The purpose of this Tool is to Store all SPAM Numbers in Database for matching and excluding from CDRs. Note All files will be stored.
MySQL and PHPMyAdmin 1.
Consult America Technology Consulting Services
Selecting Your Year 9 Options
Logging into the linux machines
Ch 1 .Installing and configuring SQL Server 2005
Presentation transcript:

Studio Fx on Rails Demonstrating the Studio Fx API

Requirements Software – Ruby >= – Rails >= gem install rails – MySQL >= 5 – Other Ruby Gems to install xml/libxml net/https Hardware (tested) – Mac OS X – Linux

MySQL Install and configure MySQL – Linux example yum install mysql yum install mysql-devel yum install mysql-server chgrp -R mysql /var/lib/mysql chmod -R 770 /var/lib/mysql service mysqld start – set the passwords for your root account: /usr/bin/mysqladmin -u root password 'new-password’ Open MySQL and create the database – mysql –u root –p – create database ddt_development;

Studio Fx On Rails Check out the source from mu-labs google_code: – labs/source/browse/trunk/analyzer/automation/S tudio_Fx_On_Rails labs/source/browse/trunk/analyzer/automation/S tudio_Fx_On_Rails

Create the Database Tables Edit /config/database.yml – set the name of the MySQL database – set the MySQL root password Create the database tables – From : rake db:migrate This will create the tables that are defined in the db/migrate directory (‘runs’ and ‘results’)

Run Rails Start the Rails server. From, run: – ruby script/server Open the browser to Rails – : :3000 You should see the Rails Home Page – (next slide) Continue on to the Studio Fx Home Page – :3000/runs

Rails Home Page

Studio Fx on Rails / Runs

Load templates from a Mu From the ‘Runs’ page: – Enter the IP address of the Mu – Click the 'Get Templates/Set IP' button Loads all of the Mu’s templates for – Testbeds – Targets – Scenarios – Testsuites

Create a New Test Run: 1 Click on the ‘New Run’ link and see:

Create a New Test Run: 2 Select Testbed, Target, Scenario and Testsuite

Create a New Test Run: 3 Click on the ‘Create’ button and see:

Create a New Test Run: 4 Click on the ‘Back’ link to see the new Run

Run the Testsuite Click on the ‘Execute’ link to run the test suite – The browser will be busy until the test is completed – When the test is done, click on the ‘Results’ link to view the test results

View the Results

View Results Details Click on the ‘Show’ link to view more details, including the options and their values

Filter the Results The results can be filtered by test name, run_id or both, and, in all cases, to see only the 'latest' results /results?name=testname&run_id=1 /results?name=testname&run_id=1&latest /results?run_id=1 /results?run_id=1&latest /results?name=testname /results?name=testname&latest

Filtered Results

Sample Code Most of the interesting code is found here: – /app/models/run.rb This code executes the Rails back-end commands, creating the DdtApi object and invoking its methods – /lib/ddt_api.rb The DdtApi class is where all of the Mu Studio Fx API code is invoked

Mu Template fetching When we collected the templates from the Mu, we used a Mu REST Api – /rai/rest/mu/findUsing?type= /rai/rest/mu/findUsing?type – type was Testbed, Target, Scenario and DDTSuite The test tool collected the responses and parsed them into hash maps, using the template names as keys and the uuid’s as values

Test Execution Executing the tests (run.rb:run_test) invoked the following sequence of calls from the DdtApi class: – new_session – testbed(testbed_uuid) – target(target_uuid) – setup_session – scenario(scenario_uuid) – run(testsuite_uuid)

Collecting Results After the test completes, the tool: – calls the DdtApi.collect_results method – parses the results – adds them to the MySQL database (results table)

Other DdtApi methods Studio Fx on Rails does not use all of the DdtApi methods. Other available methods include – Methods that manage csv files (import, export, post, run, and eval (preview)) – post_template (to send a scenario or other xml template to the Mu) – teardown_session (invoked when you are finished using the Mu)