| | |
| | | logFile = STAXResult |
| | | fileList.append(logFile) |
| | | fileFd = open(logFile,'w') |
| | | |
| | | # Write start tag |
| | | str = '\n<client name=\"%s\"' % client.getName() |
| | | str = '%s host=\"%s\"' % (str,client.getHost()) |
| | | str = '%s start=\"%s\"' % (str,client.getStart()) |
| | | str = '%s stop=\"%s\"' % (str,client.getStop()) |
| | | str = '%s dependency=\"%s\">\n' % (str,client.getDependency()) |
| | | fileFd.write(str) |
| | | </script> |
| | | <!-- == Write tag for xml report --> |
| | | <call function="'writeStartTagClient'"> |
| | | { |
| | | 'client' : client, |
| | | 'fileFd' : LOG_MAIN_FD |
| | | } |
| | | </call> |
| | | |
| | | |
| | | <!--== Start is NOT defined in client attribute ==--> |
| | |
| | | </call> |
| | | |
| | | |
| | | <!-- == Write tag for xml report --> |
| | | <call function="'writeEndTagClient'"> |
| | | { 'fileFd' : LOG_MAIN_FD } |
| | | </call> |
| | | <!--==== close logfile ====--> |
| | | <script> |
| | | fileFd.write('</client>\n') |
| | | fileFd.close() |
| | | fileFd = '' |
| | | </script> |