This is a patch for IDX-Tsunami that add dynamic scenarii support for Tsunami. It also partially fixes somes nasty problems introduced by Apache Axis server stand-alone (HTTP/1.0)
The idea behind dynamic scenarii is the following:
- Record you scenario with Tsunami HTTP recorded;
- Add the attribute subst="true" for dynamic requests in the scenario;
- In the HTTP request itself place marker of the form %%module:func%%
- Develop an Erlang function module:func(Pid) that generate the corresponding string for a given client. The Pid is a client ID. You can use it to always pass the same value to a given client while provided different values to different clients.
This feature has also been tested with SOAP. After SOAP support and dynamic scenarii, Tsunami is now the most powerful tool to benchmark web services. |