client_round2_run.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. <?php
  2. // +----------------------------------------------------------------------+
  3. // | PHP Version 4 |
  4. // +----------------------------------------------------------------------+
  5. // | Copyright (c) 1997-2003 The PHP Group |
  6. // +----------------------------------------------------------------------+
  7. // | This source file is subject to version 2.02 of the PHP license, |
  8. // | that is bundled with this package in the file LICENSE, and is |
  9. // | available through the world-wide-web at |
  10. // | http://www.php.net/license/2_02.txt. |
  11. // | If you did not receive a copy of the PHP license and are unable to |
  12. // | obtain it through the world-wide-web, please send a note to |
  13. // | license@php.net so we can mail you a copy immediately. |
  14. // +----------------------------------------------------------------------+
  15. // | Authors: Shane Caraveo <Shane@Caraveo.com> |
  16. // +----------------------------------------------------------------------+
  17. //
  18. // $Id$
  19. //
  20. set_time_limit(0);
  21. require_once 'client_round2_interop.php';
  22. $iop = new Interop_Client();
  23. $iop->html = 0;
  24. // force a fetch of endpoints, this happens irregardless if no endpoints in database
  25. $iop->fetchEndpoints();
  26. // set some options
  27. $iop->currentTest = 'GroupC'; // see $tests above
  28. $iop->paramType = 'php'; // 'php' or 'soapval'
  29. $iop->useWSDL = 1; // 1= do wsdl tests
  30. $iop->numServers = 0; // 0 = all
  31. //$iop->specificEndpoint = 'PHP ext/soap'; // test only this endpoint
  32. //$iop->testMethod = 'echoString'; // test only this method
  33. // endpoints to skip
  34. //$iop->skipEndpointList = array('Apache Axis','IONA XMLBus','IONA XMLBus (CORBA)','MS SOAP ToolKit 2.0','MS SOAP ToolKit 3.0','Spheon JSOAP','SQLData SOAP Server','WASP Advanced 3.0');
  35. $iop->startAt='';
  36. $iop->nosave = 0; // 1= disable saving results to database
  37. // debug output
  38. $iop->show = 1;
  39. $iop->debug = 0;
  40. $iop->showFaults = 0; // used in result table output
  41. $iop->doTest(); // run a single set of tests using above options
  42. #$iop->doGroupTests(); // run a group of tests set in $currentTest
  43. #$iop->doTests(); // run all tests, ignore above options
  44. #$iop->outputTables();
  45. echo "done\n";
  46. ?>