cloudstack/tools/testClient
Prasanna Santhanam 8f222c175e Wrong place to put a return
reviewed-by: kishan
2012-02-29 12:04:17 +05:30
..
automated use temp tomcat directory for automated testing 2012-02-08 16:35:01 -08:00
pymysql
resourceMgrTest
sandbox Multiple fixes to the testClient to accomodate further changes to 3.0 APIs 2012-02-20 18:12:04 +05:30
testcase
unitTest - some quick environment configuration files 2011-11-29 23:30:38 +05:30
.project
.pydevproject
README Added more reporting, Fixed bug with setting globals, Added info to README, minor tweaks 2011-11-20 18:04:55 -06:00
TestCaseExecuteEngine.py
asyncJobMgr.py Add storage migration 2011-10-24 15:59:47 -07:00
cloudstackConnection.py The HTTPConnection object times out too soon when status is being polled. This 2012-02-23 18:33:52 +05:30
cloudstackException.py
cloudstackTestCase.py
cloudstackTestClient.py
codegenerator.py
configGenerator.py Enable VirtualRouter provider by default in the zone 2012-01-15 19:19:35 +05:30
dbConnection.py
deployAndRun.py
deployDataCenter.py Wrong place to put a return 2012-02-29 12:04:17 +05:30
jsonHelper.py when the API response has empty list 2012-01-15 19:21:08 +05:30
remoteSSHClient.py
translator.py automated testing changes, in addition to an automated.xml 2012-02-03 16:59:20 -08:00

README

CloudStack Test Client

0. Generate API XML spec file
   ant build-apidocs, the output xml file is dist/commands.xml

1. generate Cloudstack API python code from an API XML spec file generated by step 0
   python codegenerator.py  -o where-to-put-the-cloudstack-api -s where-the-spec-file

1a. If you will be running XML based tests, you will need to run them through the
    translator script.  To do that execute translator.py -h for command line help.
    Example:
	python translator.py -i example.xml 

	this will create an example.xml.py script in the current directory.  Run
	that to run the test.


2. Facility it provides:
  1. very handy cloudstack API python wrapper
  2. support async job executing in parallel
  3. remote ssh login/execute command
  4. mysql query 

3. sample code is under unitTest