ASP .Net CLR Load Test

This test monitors the classes and assemblies loaded on to an ASP .Net application. A class is essentially the blueprint for an object. It contains the definition for how a particular object will be instantiated at runtime, such as the properties and methods that will be exposed publicly by the object and any internal storage structures.

Also known as Managed DLLs, assemblies are the fundamental unit of deployment for the .NET platform. The .NET Framework itself is made up of a number of assemblies, including mscorlib.dll, among others. The assembly boundary is also where versioning and security are applied. An assembly contains Intermediate Language generated by a specific language compiler, an assembly manifest (containing information about the assembly), type metadata, and resources.

Target of the test : An ASP .Net server

Agent deploying the test : An internal agent

Outputs of the test : One set of results for every worker process on the ASP .Net server being monitored.

Configurable parameters for the test
Parameter Description

Test period

How often should the test be executed

Host

The IP address of the host for which this test is to be configured.

Port

The port at which the specified Host listens to.

Measurements made by the test
Measurement Description Measurement Unit Interpretation

Classes loaded

Indicates the cumulative number of classes loaded in all assemblies since the start of this application.

Number

 

Current classes loaded

Indicates the current number of classes loaded in all Assemblies.

Number

An unusually high value may indicate a sudden increase in classes which loaded on to this .NET application.

Rate of assemblies

The rate at which Assemblies were loaded across all AppDomains.

Assembles/Sec

If the Assembly is loaded as domain-neutral from multiple AppDomains then this counter is incremented once only. Assemblies can be loaded as domain-neutral when their code can be shared by all AppDomains or they can be loaded as domain-specific when their code is private to the AppDomain. This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval.

Rate of classes loaded

This rate at which the classes loaded in all Assemblies.

Classes/Sec

This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval.

Rate of load failures

The rate of load failures on the application.

Failures/Sec

This counter is not an average over time; it displays the difference between the values observed in the last two samples divided by the duration of the sample interval. These load failures could be due to many reasons like inadequate security or illegal format.

Current appdomains

The number of AppDomains currently loaded in this application.

Number

AppDomains (application domains) provide a secure and versatile unit of processing that the CLR can use to provide isolation between applications running in the same process.

Current assemblies

The number of assemblies currently loaded across all AppDomains in this application.

Number

If the Assembly is loaded as domain-neutral from multiple AppDomains then this counter is incremented once only. Assemblies can be loaded as domain-neutral when their code can be shared by all AppDomains or they can be loaded as domain-specific when their code is private to the AppDomain.

Loader heap size

The size of the memory committed by the class loader across all AppDomains.

MB

Committed memory is the physical memory for which space has been reserved on the disk paging file.

Load failures

The number of classes that have failed to load during the last measurement period,

Number

These load failures could be due to many reasons like inadequate security or illegal format.

Appdomains loaded

The number of AppDomains loaded during the last measurement period.

Number

 

Num assemblies

The number of assemblies loaded during the last measurement period.

Number

An assembly in ASP.NET is a collection of single-file or multiple files. The assembly that has more than one file contains either a dynamic link library (DLL) or an EXE file. The assembly also contains metadata that is known as assembly manifest. The assembly manifest contains data about the versioning requirements of the assembly, author name of the assembly, the security requirements that the assembly requires to run, and the various files that form part of the assembly.

The biggest advantage of using ASP.NET Assemblies is that developers can create applications without interfering with other applications on the system.