add suffix parameter when calling client
| | |
| | | { |
| | | 'clients' : clients, |
| | | 'instances' : instances, |
| | | 'scenario' : scenario |
| | | 'scenario' : scenario, |
| | | 'suffix' : suffix |
| | | } |
| | | </call> |
| | | <!--========== Merge files ==========--> |
| | |
| | | </function-arg-def> |
| | | <function-arg-def name="scenario" type="required"> |
| | | </function-arg-def> |
| | | <function-arg-def name="suffix" type="required"> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | | |
| | | <sequence> |
| | |
| | | 'client' : client, |
| | | 'duration' : clientDuration, |
| | | 'instances' : instances, |
| | | 'suffix' : suffix, |
| | | 'fileFd' : fileFd |
| | | } |
| | | </call> |
| | |
| | | </function-arg-def> |
| | | <function-arg-def name="instances" type="required"> |
| | | </function-arg-def> |
| | | <function-arg-def name="suffix" type="required"> |
| | | </function-arg-def> |
| | | <function-arg-def name="fileFd" type="required"> |
| | | </function-arg-def> |
| | | </function-map-args> |
| | |
| | | 'client' : client, |
| | | 'instances' : instances, |
| | | 'duration' : duration, |
| | | 'suffix' : suffix, |
| | | 'fileFd' : fileFd |
| | | } |
| | | </call> |
| | |
| | | xml result structure is coherent... |
| | | Another issue: in this case we can not get the client RC |
| | | --> |
| | | <message> |
| | | 'ERROR: client %s has been killed, %s is probably over loaded'%\ |
| | | (client.getName(),client.getHost()) |
| | | </message> |
| | | <script> |
| | | errMsg = 'ERROR: client %s has been killed,' % client.getName() |
| | | errMsg = '%s %s is probably over loaded'% (errMsg,client.getHost()) |
| | | </script> |
| | | <call function="'writeMessage'"> |
| | | { |
| | | 'content' : errMsg, |
| | | 'fileFd' : fileFd |
| | | } |
| | | </call> |
| | | <message> errMsg </message> |
| | | <script> |
| | | ERR_NUM[0] += 1 |
| | | </script> |