XMLVend Protocol Message Validation Suite



Similar documents
Builder User Guide. Version Visual Rules Suite - Builder. Bosch Software Innovations

Builder User Guide. Version 5.4. Visual Rules Suite - Builder. Bosch Software Innovations

Application Notes for Packaging and Deploying Avaya Communications Process Manager Sample SDK Web Application on a JBoss Application Server Issue 1.

MIGS Payment Client Installation Guide. EGate User Manual

Enhanced Connector Applications SupportPac VP01 for IBM WebSphere Business Events 3.0.0

Configuring the LCDS Load Test Tool

CRSP MOVEit Cloud Getting Started Guide

Using Actian PSQL as a Data Store with VMware vfabric SQLFire. Actian PSQL White Paper May 2013

ResPAK Internet Module

Application. 1.1 About This Tutorial Tutorial Requirements Provided Files

Capture Pro Software FTP Server System Output

Apache JMeter HTTP(S) Test Script Recorder

EventTracker: Configuring DLA Extension for AWStats Report AWStats Reports

Automated Process Center Installation and Configuration Guide for UNIX

SDK Code Examples Version 2.4.2

Mobile Labs Plugin for IBM Urban Code Deploy

SAIP 2012 Performance Engineering

Implementing a Web Service Client using Java

Capture Pro Software FTP Server Output Format

EventTracker: Configuring DLA Extension for AWStats report AWStats Reports

FTP, IIS, and Firewall Reference and Troubleshooting

Lucid Key Server v2 Installation Documentation.

RecoveryVault Express Client User Manual

Deploying Microsoft Operations Manager with the BIG-IP system and icontrol

Testing Work Group. Document Status: Project: WS-I Monitor Tool Functional Specification [MonitorSpecification.doc]

Elixir Schedule Designer User Manual

Witango Application Server 6. Installation Guide for OS X

IPMI Firmware Update (AMI) In WEB-GUI/DOS/WIN/Linux

Online Backup Client User Manual

1. Product Information

Trend Micro Worry- Free Business Security st time setup Tips & Tricks

Reference and Troubleshooting: FTP, IIS, and Firewall Information

Oracle EXAM - 1Z Oracle Weblogic Server 11g: System Administration I. Buy Full Product.

DiskPulse DISK CHANGE MONITOR

How to simulate network devices using the Verax SNMP Simulator (Linux/Windows)

SWsoft Plesk 8.2 for Linux/Unix Backup and Restore Utilities. Administrator's Guide

Online Backup Client User Manual Linux

Submitting UITests at the Command Line

FlexSim LAN License Server

Deploying Intellicus Portal on IBM WebSphere

JobScheduler Web Services Executing JobScheduler commands

Installation and Configuration Guide

Copyright 2014, SafeNet, Inc. All rights reserved.

EMC Clinical Archiving

Tivoli Access Manager Agent for Windows Installation Guide

escan SBS 2008 Installation Guide

Third-Party Software Support. Converting from SAS Table Server to a SQL Server Database

Sophos Anti-Virus for Linux configuration guide. Product version: 9

Online Backup Client User Manual

Force.com Migration Tool Guide

EVALUATION ONLY. WA2088 WebSphere Application Server 8.5 Administration on Windows. Student Labs. Web Age Solutions Inc.

Application Note: FTP Server Setup on computers running Windows-7 For use with 2500P-ACP1

Online Backup Linux Client User Manual

Customizing the SSOSessionTimeout.jsp page for Kofax Front Office Server 3.5.2

tpischeduler tpischeduler TotalFBO tpischeduler TotalFBO Initial Installation tpischeduler TotalFBO tpischeduler

WORKING WITH LOAD BALANCING AND QUEUEING FOR ADOBE INDESIGN CS5 SERVER

Novell Identity Manager

32-Bit Workload Automation 5 for Windows on 64-Bit Windows Systems

ZeroTurnaround License Server User Manual 1.4.0

Installation of IR under Windows Server 2008

Oracle Essbase Integration Services. Readme. Release

TransNav Management System Documentation. Management Server Guide

Getting started Cassandra Access control list

Managing Software and Configurations

DS License Server. Installation and Configuration Guide. 3DEXPERIENCE R2014x

PMOD Installation on Linux Systems

How To Install Storegrid Server On Linux On A Microsoft Ubuntu 7.5 (Amd64) Or Ubuntu (Amd86) (Amd77) (Orchestra) (For Ubuntu) (Permanent) (Powerpoint

Configuring Apache HTTP Server as a Reverse Proxy Server for SAS 9.3 Web Applications Deployed on Oracle WebLogic Server

Volume SYSLOG JUNCTION. User s Guide. User s Guide

CLC Server Command Line Tools USER MANUAL

Oracle Endeca Information Discovery Integrator

Sending an Message from a Process

1 Recommended Readings. 2 Resources Required. 3 Compiling and Running on Linux

AmbrosiaMQ-MuleSource ESB Integration

Creating a Java application using Perfect Developer and the Java Develo...

JobScheduler Installation by Copying

Magento Search Extension TECHNICAL DOCUMENTATION

IBM WebSphere Application Server V8.5 lab Basic Liberty profile administration using the job manager

Apache Tomcat 4.0 Sample Modified 06/09/04

Compiere ERP & CRM Installation Instructions Linux System - EnterpriseDB

Introduction to Operating Systems

MapGuide Open Source Repository Management Back up, restore, and recover your resource repository.

Backing Up TestTrack Native Project Databases

Tracking Network Changes Using Change Audit

IBM WebSphere Partner Gateway V6.2.1 Advanced and Enterprise Editions

Configuring Secure Socket Layer (SSL) for use with BPM 7.5.x

Oracle Fusion Middleware. 1 Oracle Team Productivity Center Server System Requirements. 2 Installing the Oracle Team Productivity Center Server

IBM. Implementing SMTP and POP3 Scenarios with WebSphere Business Integration Connect. Author: Ronan Dalton

1z0-102 Q&A. DEMO Version

JMETER - MONITOR TEST PLAN

WebSpy Vantage Ultimate 2.2 Web Module Administrators Guide

Authoring for System Center 2012 Operations Manager

Simba XMLA Provider for Oracle OLAP 2.0. Linux Administration Guide. Simba Technologies Inc. April 23, 2013

Compiere ERP & CRM Installation Instructions Windows System - EnterpriseDB

McAfee epolicy Orchestrator Software

Code Estimation Tools Directions for a Services Engagement

Practice Fusion API Client Installation Guide for Windows

Kognitio Technote Kognitio v8.x Hadoop Connector Setup

Transcription:

XMLVend Protocol Message Validation Suite 25-01-2012 Table of Contents 1. Overview 2 2. Installation and Operational Requirements 2 3. Preparing the system 3 4. Intercepting Messages 4 5. Generating Reports 5 1

1. Overview The XMLVend Message Validator is a flexible validation framework which performs protocol-compliance testing by default, and which can easily be expanded to perform business-logic, or any other kind of, testing by plugging in additional validator components. The application is configured to reside between an XMLVend Client, and an XMLVend server. It accepts all communication from the client, forwards it to the server, and records it to a log for further processing. The component that does the interception and logging is the standard WS-I (Web Services Interoperability Group) Monitor (www.ws-i.org). Thus, standard WS-I testing tools can be applied to this recorded log file, in addition to the XMLVend validation tools. The XMLVend Report Generator processes this log, producing compliance reports grouped by ClientID to Server IP Address. These reports are in the.xvreport XML format, which allows for easy access to message sequences, and any error(s) they contain. They are also transformed to a customisable HTML format, which makes it easy to see (at a glance) how well a particular server or client complies to the specification. Figure 1. HTML-formatted report 2. Installation and Operational Requirements The Message Validation Suite is implemented in the Java programming language, using standard tools technology. The following is required on your system before you can make use of the system: Java SDK, version 1.5 or later. The framework is shipped in source code form, together with all required libraries. The J2SDK is required to compile and run the framework. Due to a reliance on regular expressions, it will not run on earlier versions (e.g. 1.3). The J2SDK can be downloaded from java.sun.com for Windows, Linux and Solaris platforms. 2

Ant (The Apache Building tool), version 1.6 +. Apache Ant is a Java-based build tool. It is the industry standard for assembling java systems, and is used to both build and run the framework. This enables the avoidance of platform specific batch or shell scripts required to properly configure the java environment to run the application(s). See http://ant.apache.org for installation instructions and help. The ant executable should be placed on your system path, so that it can be executed from within any directory. 3. Preparing the system Extract interceptor zip folder into the root directory. As the system is shipped in source form, it is necessary to prepare it for running by changing into the root directory of the system (D: D:\Interceptor Interceptor\xmlv xmlvend end-messageinterceptor>) which contains the build.xml file and typing: ant build This only needs to be performed once. The message will look like this after entering the command in the command prompt: Buildfile: D:\Interceptor messageinterceptor\build.xml remove-build build-dirs: dirs: [delete] Deleting directory D:\Interceptor messageinterceptor\build create-build build-dirs: dirs: [mkdir] Created dir: D:\Interceptor messageinterceptor\build build\classes compile: [javac] D:\Interceptor xmlvend-messageint messageinterceptor erceptor\build.xml:94: warning: 'includeantruntime' ntruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds [javac] Compiling 145 source files to D:\Interceptor xmlvendmessageinterceptor essageinterceptor\build build\classes [javac] Note: Some input files use unchecked or unsafe operations. [javac] Note: Recompile with -Xlint:unchecked for details. move-resources: [copy] Copying 4 files to D:\Interceptor xmlvend- messageinterceptor\build build\classes build: If the output ends with a message similar to the following, the interceptor is ready for use. BUILD SUCCESSFUL Total time: 9 seconds Configurations to note: For the interceptor to recognise the full xml message, remove the compression request [must be false]. 3

The XMLVend Server URL : http://localhost:8082/xmlvend-server/service/ 4. Intercepting Messages The local host will always default to http://localhost:8080 for the server. Configure which port(s) to listen on, and which servers to forward to, by editing the standard WS-I configuration file at: resources/wsi-monitor monitor- config.xml. NOTE: if there is a port conflict, that is if the listening port is used by another programme in the system, you can edit the WS-I configuration file by editing it using notepad++ then saving it; this is the part of the file that must be changed with the alternative port to listen on, as long as it is not the same as the host port 8080. <wsi-monconfig:listenpor monconfig:listenport>8082</wsi t>8082</wsi-monconfig:listenport> It is recommended that the recorded log file location be left unchanged at first, as the report generator expects it there. That can, however, be configured. To start the interception, in the root directory of the system D:\Interceptor > messageinterceptor>, type: ant intercept The message will look like this after entering the command in the command prompt: Buildfile: D:\Interceptor messageinterceptor\build.xml intercept: WS-I Monitor Tool, Version: 1.0.0, Release Date: 2004-01 01-22 Copyright (C) 2002-2003 2003 by The Web Services-Interoperability Organization and Certain of its Members. All Rights Reserved. Use of this Material is governed by WS-I licenses included within the documentation. comment... WS-I Monitor, as part of the XMLVend Testing Framework loguri... output/wsi-log.xml replacelog... true logduration... 1800 timeout... 3 addstylesheet... <!-- <?xml-stylesheet href="../common/xsl/log.xsl" type="text/xsl"?> --> man-in in-the the-middle comment... null redirect [1] comment... null listenport... 8082 host... http://localhost:8080 4

maxconnections... 100 readtimeoutseconds... 15 The Monitor tool is ready to intercept and log web service messages. Type "exit" to stop the Monitor. You may now point your XMLVend client to the address the system is listening on, and communicate with the server (you will see messages in the console indicating that your communication is being logged). Log message entry [ID, Type, Sender]: 1, request, 127.0.0.1:1895 Log message entry [ID, Type, Sender]: 2, response, localhost:8080 Log message entry [ID, Type, Sender]: 3, request, 127.0.0.1:1898 Log message entry [ID, Type, Sender]: 4, response, localhost:8080 An interception session ends when it times out according to the value set in the WS-I configuration file, or when the ant task is cancelled by pressing e.g. CTRL+C and the following message will be shown; Terminate batch job (Y/N)? y When cancelling the ant task, any exception messages in the display may be safely ignored, as these are due to the threading interaction between Ant and the WS-I Monitor. IMPORTANT The WS-I monitoring software does often not gracefully terminate the log file upon premature ending of a testing session (the duration of which can be configured in the WS-I configuration file). If this is the case, open and edit the wsi- log.xml file in the messageinterceptor\output output folder, edit the file by typing /<log> at the end of the file to close the log file, save and close it. This must be done before another intercepting session can be started or before a report can be generated. 5. Generating Reports To process the log file of the last interception session (described in the previous section) in the root directory of the system (D: D:\Interceptor xmlvend-messageinterc messageinterceptor> eptor>), type: ant report Reports will now be generated, and by default transformed with the XSLT style sheet in /resources/stylesheets/xvreport2html.xsl resources/stylesheets/xvreport2html.xsl. The behaviour of the report generator can be fully customised by editing the file: resources/reportrunner.properties reportrunner.properties. Reports are generated in the output/xmlvend-reports/ directory by default, and a subdirectory is created for each client (by clientid) interacting with each server (by IP Address). Report file paths look like the following: <root>/output/xmlvend output/xmlvend-reports/<clientid> reports/<clientid>-- --<server>(<port>)/<date> <server>(<port>)/<date>-<time>.xvreport <time>.xvreport 5

Report processing produces output similar to the following: $ ant report Buildfile: build.xml report: Created output directory: output/xmlvend-reports Parsing log file... Generating Report(s)... Validation: Using 10 schema(s) from resources/schemas Persisting Report(s)... Wrote report: output/xmlvend-reports/ean.1234567890123 reports/ean.1234567890123-- localhost(8080)/xmlvend Transforming Report(s)... a] Wrote report: output/xmlvend-reports/ean.1234567890123 reports/ean.1234567890123-- --localhost(8080)/ Done. BUILD SUCCESSFUL Total time: 2 seconds Instructions on adding your own report validators to the framework (for customised testing) will be made available in the next release of this document. The report validation framework allows you to easily add validators for your own business logic or implementation-specific features. 6