10139N/A<?xml version="1.0" encoding="UTF-8" standalone="no"?>
10139N/A<!DOCTYPE stax SYSTEM "/stax.dtd">
10139N/A<!--
17365N/A ! CDDL HEADER START
10139N/A !
10139N/A ! The contents of this file are subject to the terms of the
10139N/A ! Common Development and Distribution License, Version 1.0 only
17185N/A ! (the "License"). You may not use this file except in compliance
10139N/A ! with the License.
17178N/A !
17178N/A ! You can obtain a copy of the license at
17178N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE
10139N/A ! or https://OpenDS.dev.java.net/OpenDS.LICENSE.
15322N/A ! See the License for the specific language governing permissions
10139N/A ! and limitations under the License.
18430N/A !
10139N/A ! When distributing Covered Code, include this CDDL HEADER in each
10139N/A ! file and include the License file at
10139N/A ! trunk/opends/resource/legal-notices/OpenDS.LICENSE. If applicable,
10139N/A ! add the following below this CDDL HEADER, with the fields enclosed
16215N/A ! by brackets "[]" replaced with your own identifying information:
12773N/A ! Portions Copyright [yyyy] [name of copyright owner]
12773N/A !
12773N/A ! CDDL HEADER END
12204N/A !
12725N/A ! Copyright 2008 Sun Microsystems, Inc.
17606N/A ! -->
17766N/A<stax>
18063N/A
18063N/A <function name="queryTestcase">
10139N/A
10139N/A <function-prolog>Queries the current testcase</function-prolog>
10139N/A
10139N/A <function-map-args>
10139N/A <function-arg-def name="location" type="optional" default="STAXServiceMachine">
10139N/A <function-arg-description>
10139N/A Location of target host
10139N/A </function-arg-description>
10139N/A <function-arg-property name="type" value="hostname" />
10139N/A </function-arg-def>
10139N/A </function-map-args>
10139N/A
10139N/A <sequence>
10139N/A
10139N/A <script>
10139N/A STAXRequest='QUERY JOB %s TESTCASE "%s"' % (STAXJobID,STAXCurrentTestcase)
10139N/A </script>
10139N/A
10139N/A <stafcmd name="'STAX Command: Test Case Query for %s' % STAXCurrentTestcase">
10139N/A <location>'%s' % location</location>
10139N/A <service>'stax'</service>
10139N/A <request>'%s' % STAXRequest</request>
10139N/A </stafcmd>
10139N/A
10139N/A <return>RC</return>
10139N/A
17473N/A </sequence>
18063N/A
10139N/A </function>
10139N/A
10139N/A</stax>
10139N/A