127 | | A set of transactions can be performed with an increasing level of load {{{~/.tsung/tsung.xml}}}: |
| 127 | A set of transactions can be performed with an increasing level of load. |
| 128 | |
| 129 | Content can be pulled from CSV if it needs to vary per run (e.g. usernames to register). Can create a large CSV using a simple Python script: |
| 130 | {{{ |
| 131 | #!/usr/bin/env python |
| 132 | FILENAME = "users.csv" |
| 133 | f = open(FILENAME, "wb") |
| 134 | for i in range(1, 100000): |
| 135 | f.write("Test%i%40example.com\n" % i) |
| 136 | f.close() |
| 137 | }}} |
| 138 | |
| 139 | {{{~/.tsung/tsung.xml}}}: |