Skip to Content.
Sympa Menu

perfsonar-dev - Re: SQL MA Functional Testing

Subject: perfsonar development work

List archive

Re: SQL MA Functional Testing


Chronological Thread 
  • From: Roman Lapacz <>
  • To: Michael Michalis <>
  • Cc:
  • Subject: Re: SQL MA Functional Testing
  • Date: Wed, 17 Jan 2007 12:41:33 +0100


Hi Michalis,

I've fixed the problem with an exception you had observed. So far the fix is in the trunk. Soon I hope to create stable branch for SQL MA and then RC of it.

Roman


Michael Michalis wrote:
Hi Roman,
Thanks for the quick response.
Attached are the two requests with the missing elements.

Michalis

-----Original Message-----
From: Roman Łapacz [mailto:] Sent: Thursday, December 28, 2006 3:24 PM
To: Michael Michalis
Cc: Roman Lapacz; Loukik Kudarimoti;

Subject: Re: SQL MA Functional Testing

Michael Michalis napisał(a):
Hi Roman,


Hi Michael

Firstly I would like to wish you Merry Christmas and a happy new year.


Thank you! I wish you all the best in comming new year.
Now I have completed developing the test requests for functional testing the MetadataKeyRequest. Then I fed these requests to the service and I noticed that when the request is missing certain elements the service does not respond with an error result code but a soap error is appearing on the soap client. In such cases shouldn't the service be responding with a response code (failing gracefully)?


Yes, you are right. The service should respond with error code. Could you send me examples such requests?

Roman

Best Regards,



Michalis Michael


------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"; xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"; type="MetadataKeyRequest">
<nmwg:metadata id="meta1">
<nmwg:subject id="subject1" />
<nmwg:eventType>Path.Status</nmwg:eventType>
</nmwg:metadata>
<nmwg:metadata id="meta2">
<select:subject id="iusub2" metadataIdRef="meta1" />
<select:parameters id="param1">
<nmwg:parameter name="time">now</nmwg:parameter>
</select:parameters>
<nmwg:eventType>select</nmwg:eventType>
</nmwg:metadata>
<nmwg:data id="data1" metadataIdRef="meta2" />
</nmwg:message>

------------------------------------------------------------------------

<?xml version="1.0" encoding="UTF-8"?>
<nmwg:message xmlns:nmwg="http://ggf.org/ns/nmwg/base/2.0/";
xmlns:nmtl2="http://ggf.org/ns/nmwg/topology/l2/3.0/"; xmlns:nmwgtopo3="http://ggf.org/ns/nmwg/topology/base/3.0/";
xmlns:select="http://ggf.org/ns/nmwg/ops/select/2.0/"; type="MetadataKeyRequest">
<nmwg:metadata id="meta1">
<nmwg:subject id="subject1">
<nmtl2:link>
<nmtl2:globalName
type="logical">PSNC-DFN-MUE-003</nmtl2:globalName>
</nmtl2:link>
</nmwg:subject>
<nmwg:eventType>Path.Status</nmwg:eventType>
</nmwg:metadata>
<nmwg:metadata id="meta2">
<select:subject id="iusub2" metadataIdRef="meta1" />
<select:parameters id="param1">
<nmwg:parameter name="time">now</nmwg:parameter>
</select:parameters>
</nmwg:metadata>
<nmwg:data id="data1" metadataIdRef="meta2" />
</nmwg:message>



--

// PSNC, Poland
// phone: (+48 61) 858 20 24
// http://www.man.poznan.pl




Archive powered by MHonArc 2.6.16.

Top of Page