1 WebStone Dynamic Workload
3 WebStone now includes a workload that tests dynamically generated
6 To use the dynamic workload models, you must install a dynamic module
7 on the Web server to be tested. The Web server must also be configured such
8 that a request for "/file.dyn-send?size=1024" (for example) will cause the
9 module to be run, and will return 1024 bytes of data.
11 Example configuration (Netscape server, executable is "nsapi-send"):
14 cp nsapi-send.so /usr/lib
15 cd /usr/ns-home/httpd-80/config
16 in magnus.conf, add the line:
17 Init fn=load-modules shlib=nsapi.so funcs=nsapi-send
18 in obj.conf, add the line:
19 Service method=(GET|HEAD) fn=nsapi-send \
20 type=magnus-internal/dyn-send
21 in mime.types, add the line:
22 type=magnus-internal/dyn-send exts=dyn-send
23 restart the Web server
25 Example code for CGI and NS-API is included as src/cgi-send.c
26 and src/nsapi-send.c - if you implement other APIs, please forward a copy
27 of your code to the WebStone mailing list or to the WebStone authors.
30 conf/workload.dynamic-heavy: All content is dynamically generated.
31 conf/filelist.dynamic-medium: About 50% of content is dynamically
33 conf/filelist.dynamic-light: About 25% of content is dynamically
36 As always, we encourage you to design your own workloads, tailored for your