Browse Prior Art Database

A method and XML schema to test an MRCP server

IP.com Disclosure Number: IPCOM000032371D
Original Publication Date: 2004-Nov-03
Included in the Prior Art Database: 2004-Nov-03
Document File: 12 page(s) / 56K

Publishing Venue

IBM

Abstract

A method is described for testing Media Resource Control Protocol (MRCP) server for protocol compliance without the need for any telephone configuration or MRCP Client. There are no other know solutions to this problem.

This text was extracted from a PDF file.
At least one non-text object (such as an image or picture) has been suppressed.
This is the abbreviated version, containing approximately 22% of the total text.

Page 1 of 12

A method and XML schema to test an MRCP server

A method is described for testing Media Resource Control Protocol (MRCP) server for protocol compliance without the need for any telephone configuration or MRCP Client. There are no other know solutions to this problem.

MRCP Test Tool

RTP IP

JVM

 HTTP Interface

DOM

 XML Parser

 Send Receive RTSP

XML Tag Processor

Log

MRCP

RTSP

 RTP Interface

Log

 Main Controler

 Script Selection

Log

 Send Receive RTP

Command Line Interface

 URI Handler

 Test Scripts

Audio

Files

Audio

Sync

Logs

MRCP

RTSP IP

Scripting Engine Rational Load Runner Silk <form> <input type=text value=test1 name=testToRun </form>

MRCP Server

java mrcpctt -t test1

Log

Figure 1:

Figure 1 is a high level component diagram of the test tool. The tool uses XML files (see Schema section) as input.

Access to the tool is by http or command line. The main controller takes as input an XML file and, using the an XML parser, creates a DOM object of the XML. The Main Controller then cursors through the XML calling the associated XML tag methods in the XML Tag Parser. The XML Tag Parser creates the necessary MRCP or RTSP protocol and calls the RTSP interface to handle sending the message to the MRCP Server.

XML Tags and Test Cases

The main tags under the <testcase> tag can be divided into three main categories, depending on usage or complexity required by the tester. The usage for each category is described below.

Highlighted Features for Testcase Developers

It is highly recommended that each tester review and study the XML schema for this test tool. The XML schema outlines the legal use of supported tags. Moreover, not all the functionality specified in the XML schema is outlined below. Adequate understanding of this schema is essential for creating useful test cases. See Appendix A: MRCP Test Tool XML Schema

Getting Started

To get started with this tool, it is easiest to write testcases using the high level tags. Here's a basic testcase flow:

<?xml version="1.0" encoding="UTF-8"?> <root>

1

[This page contains 2 pictures or other non-text objects]

Page 2 of 12

<configuration>

<serverURI>

rtsp://myserver.com/mrcp

</serverURI>

</configuration>

<testcase id="basic recognition" type="RECOGNIZER">

<setup/>

<recognize>

<grammar>

mygrammar.gram

</grammar>

<audio>

myaudio.au

</audio>

</recognize>

<teardown/>

</testcase>

<testcase id="basic synthesis" type="SYNTHESIZER" reuseSession="true">

<setup/>

<synthesize>

<text>

Welcome to NextGen speech

</text>

<audio>

mysavedaudio.au

</audio>

</synthesize>

<teardown/>

</testcase> </root>

You can specify multiple <grammar> tags within the <recognize> tag, or none at all if you previously loaded grammars via the <defineGrammars> tag. The same one or more <grammar> tag rule applies to the <defineGrammars> tag as well (not shown).

The XML <configuration> block can be specified inline within the <root> tag or from a separate URI at the command line. It is recommended that the configuration be separate from the testcas...