client_round2_run.php 2.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. <?php
  2. // +----------------------------------------------------------------------+
  3. // | PHP Version 4 |
  4. // +----------------------------------------------------------------------+
  5. // | Copyright (c) 1997-2018 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. set_time_limit(0);
  18. require_once 'client_round2_interop.php';
  19. $iop = new Interop_Client();
  20. $iop->html = 0;
  21. // force a fetch of endpoints, this happens regardless if no endpoints in database
  22. $iop->fetchEndpoints();
  23. // set some options
  24. $iop->currentTest = 'GroupC'; // see $tests above
  25. $iop->paramType = 'php'; // 'php' or 'soapval'
  26. $iop->useWSDL = 1; // 1= do wsdl tests
  27. $iop->numServers = 0; // 0 = all
  28. //$iop->specificEndpoint = 'PHP ext/soap'; // test only this endpoint
  29. //$iop->testMethod = 'echoString'; // test only this method
  30. // endpoints to skip
  31. //$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');
  32. $iop->startAt='';
  33. $iop->nosave = 0; // 1= disable saving results to database
  34. // debug output
  35. $iop->show = 1;
  36. $iop->debug = 0;
  37. $iop->showFaults = 0; // used in result table output
  38. $iop->doTest(); // run a single set of tests using above options
  39. #$iop->doGroupTests(); // run a group of tests set in $currentTest
  40. #$iop->doTests(); // run all tests, ignore above options
  41. #$iop->outputTables();
  42. echo "done\n";
  43. ?>