07.11.2014 Views

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

Enterprise Library Test Guide - Willy .Net

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

<strong>Test</strong>ing for Performance and Scalability 203<br />

Profiling the Workload<br />

The number of users increases over time. The number of users was 1, 10, 50, 150, and<br />

300. There was no test mix and there was no think time.<br />

Setting Up the Load <strong>Test</strong><br />

The load test simulates many clients accessing the application block at the same time.<br />

Use the information in the workload to set the load test parameters. For more information,<br />

see Creating a Load <strong>Test</strong>.<br />

Recording Baseline and Application Block Metrics<br />

The baseline tests are a subset of the Exception Handling Application Block performance<br />

tests. The objective is to compare the overhead costs of using the Exception<br />

Handling Application Block’s wrap handler with the equivalent .NET Framework<br />

method and with <strong>Enterprise</strong> <strong>Library</strong> 1.1.<br />

Table 18 is the template to record the performance metrics both for the baseline and<br />

for the application block.<br />

Table 18: Template to Record and Compare Metrics<br />

Operation Users TPS<br />

Response time<br />

(ms)<br />

Total<br />

transactions<br />

Overhead<br />

(percent)<br />

.NET Framework<br />

1 Baseline<br />

wraps<br />

and throws an<br />

exception.<br />

<strong>Enterprise</strong><br />

<strong>Library</strong> 1.1<br />

does the<br />

same.<br />

.NET Framework<br />

10 Baseline<br />

wraps<br />

and throws an<br />

exception.<br />

<strong>Enterprise</strong><br />

<strong>Library</strong> 1.1<br />

does the<br />

same.<br />

.NET Framework<br />

wraps<br />

and throws<br />

an exception.<br />

<strong>Enterprise</strong><br />

<strong>Library</strong> 1.1<br />

does the<br />

same.<br />

50 Baseline<br />

continued

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!