WSxVO_dsn_test

This is a test of the WSxVO service.
Test filesDownload the files for this test
Test runRun test now
Support reference#1843-1884
###################################################
### 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 1 week agoPASSED

Test began: 2012-05-11 01:56:38 Test ended: 2012-05-11 01:57:38 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-28 08:06:08 Test ended: 2012-04-28 08:07: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 4 weeks agoPASSED

Test began: 2012-04-19 18:24:17 Test ended: 2012-04-19 18:25:17 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 11:29:54 Test ended: 2012-04-19 11:30: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 1 month agoPASSED

Test began: 2012-04-04 15:06:31 Test ended: 2012-04-04 15:07:32 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 months agoPASSED

Test began: 2012-03-26 14:25:30 Test ended: 2012-03-26 14:26:30 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 months agoPASSED

Test began: 2012-03-02 00:22:47 Test ended: 2012-03-02 00:23:47 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 months agoPASSED

Test began: 2012-02-28 07:55:56 Test ended: 2012-02-28 07:56:57 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 months agoPASSED

Test began: 2012-02-08 05:24:19 Test ended: 2012-02-08 05:25: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 3 months agoPASSED

Test began: 2012-02-05 18:16:07 Test ended: 2012-02-05 18:17: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...
This test consists of the following files:
WSxVO_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?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 ($@)
{
###print $@;
if ($@[0] == "WSxVOSOAP11port_http"){
print "Passed\n";
exit 0;
} else {
print "Caught an exception\n";
exit 2;
}
{
exit 0;
}
### print "Caught an exception\n";
### exit 1;
}
»
- Login to post comments