WSx3DEM_EMDB_dsn_test

This is a test of the WSx3DEM_EMDB service.
Test filesDownload the files for this test
Test runRun test now
Support reference#1846-1887
###################################################
### Testing script for WSx3DEM services
### registered at http://www.embraceregistry.net/
###
### author: jrmacias@cnb.csic.es
### date: 20090511
###
### 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 2 weeks agoPASSED

Test began: 2012-05-02 22:22:19 Test ended: 2012-05-02 22:23: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 4 weeks agoPASSED

Test began: 2012-04-21 22:44:05 Test ended: 2012-04-21 22:45:06 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 21:31:09 Test ended: 2012-04-19 21:32:09 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-08 21:52:24 Test ended: 2012-04-08 21:53:24 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-06 02:07:45 Test ended: 2012-04-06 02:08:46 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-05 07:38:44 Test ended: 2012-04-05 07:39: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...
view log 2 months agoPASSED

Test began: 2012-03-28 15:13:05 Test ended: 2012-03-28 15:14:06 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-11 02:54:03 Test ended: 2012-03-11 02:54:03 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-07 20:37:09 Test ended: 2012-03-07 20:38:09 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-05 22:33:12 Test ended: 2012-03-05 22:34:12 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:
WSx3DEM_EMDB_dsn_test.pl
#!/usr/bin/perl
###################################################
### Testing script for WSx3DEM 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/WSx3DEM_EMDB?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] == "WSx3DEM_EMDBSOAP11port_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