WSxVO_BAMS_Features_dsn_test

This is a test of the WSxVO_BAMS_Features service.
Test filesDownload the files for this test
Test runRun test now
Support reference#1856-1874
###################################################
### 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 3 days agoPASSED

Test began: 2012-05-16 17:19:59 Test ended: 2012-05-16 17:20:59 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-29 09:29:18 Test ended: 2012-04-29 09:30:19 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 02:17:45 Test ended: 2012-04-25 02:18:45 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 15:09:25 Test ended: 2012-04-19 15:09:25 Result : Test passed ------ stderr and stdout follow ------ No such file or directory 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 16:54:36 Test ended: 2012-04-13 16:55:37 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-23 17:08:00 Test ended: 2012-03-23 17:08:00 Result : Test passed ------ stderr and stdout follow ------ No such file or directory 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-22 16:26:28 Test ended: 2012-03-22 16:27:28 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-19 07:31:29 Test ended: 2012-03-19 07:32: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 2 months agoPASSED

Test began: 2012-03-17 20:32:25 Test ended: 2012-03-17 20:33:25 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-01 14:22:24 Test ended: 2012-03-01 14:23:25 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_BAMS_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_BAMS_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_BAMS_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