WSxVO_MTB_Features_dsn_test

This is a test of the WSxVO_MTB_Features service.
Test filesDownload the files for this test
Test runRun test now
Support reference#1855-1875
###################################################
### Testing script for WSxVO services
### registered at http://www.embraceregistry.net/
###
### author: jrmacias@cnb.csic.es
### date: 20090512
###
### Simply make a dsn query to the Web Service and
### wait for proper response. It evaluates success
### just if the name of the services are found in
### the response
###################################################
Show/hide recent test logs
view log 9 hours agoPASSED

Test began: 2012-05-18 23:38:48 Test ended: 2012-05-18 23:39:48 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 1 week agoPASSED

Test began: 2012-05-09 14:43:53 Test ended: 2012-05-09 14:44:54 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 2 weeks agoPASSED

Test began: 2012-05-08 16:52:19 Test ended: 2012-05-08 16:53:20 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 2 weeks agoPASSED

Test began: 2012-05-04 03:01:35 Test ended: 2012-05-04 03:02:36 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 3 weeks agoPASSED

Test began: 2012-05-01 06:40:08 Test ended: 2012-05-01 06:41:08 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 3 weeks agoPASSED

Test began: 2012-04-25 21:04:22 Test ended: 2012-04-25 21:05:22 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 4 weeks agoPASSED

Test began: 2012-04-19 17:58:49 Test ended: 2012-04-19 17:59:49 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 1 month agoPASSED

Test began: 2012-04-17 06:44:07 Test ended: 2012-04-17 06:45:07 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 1 month agoPASSED

Test began: 2012-04-13 17:37:43 Test ended: 2012-04-13 17:38:43 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
view log 1 month agoPASSED

Test began: 2012-04-12 17:46:44 Test ended: 2012-04-12 17:47:44 Result : Test passed ------ stderr and stdout follow ------ Operation in progress at /Library/Perl/5.8.8/darwin-thread-multi-2level/XML/LibXML.pm line 587. PassedDownload this log...
This test consists of the following files:
WSxVO_MTB_Features_dsn_test.pl
#!/usr/bin/perl
###################################################
### Testing script for WSxVO services
### registered at http://www.embraceregistry.net/
###
### author: jrmacias@cnb.csic.es
### date: 20090512
###
### Simply make a dsn query to the Web Service and
### wait for proper response. It evaluates success
### just if the name of the services are found in
### the response
###################################################
use strict;
# import the modules we need for this test; XML::Compile is included on the server
# by default.
use XML::Compile::WSDL11;
use XML::Compile::Transport::SOAPHTTP;
eval
{
# Retriving and processing the WSDL
my $wsdl = XML::LibXML->new->parse_file('http://biocomp.cnb.csic.es:8092/axis2/services/WSxVO_MTB_Features?wsdl');
my $proxy = XML::Compile::WSDL11->new($wsdl);
# Generating a request message based on the WSDL
# All the services implement a dsn (data source names) function
my $dsn = $proxy->compileClient('dsn');
# Calling the service and getting the response
my $answer = $dsn->();
# If the response arrived,.. return 0 because the test passed.
# If no answer has arrived,.. return 1 to indicate the test failed.
if ( defined $answer ) {
print "Passed\n";
exit 0;
} else {
print "Failed\n";
exit 1;
}
};
if ($@)
{
if ($@[0] == "WSxVO_MTB_FeaturesSOAP11port_http"){
print "Passed\n";
exit 0;
} else {
print "Caught an exception\n";
print $@;
exit 2;
}
{
exit 0;
}
### print "Caught an exception\n";
### exit 1;
}
»
- Login to post comments