Performance testing of .dll file

128 views
Skip to first unread message

Vicky

unread,
Aug 4, 2011, 10:09:24 AM8/4/11
to LoadRunner
Hi everyone, I have one doubt in .dll performance. When i try doing
performance testing of .dll file which is written in c language its
working fine with c lang. protocol. But when i am trying to do
performance testing of .dll file which is written in .net gives error
message. Can some one tell me which protocol should i use for this and
how to proceed further.

James Pulley

unread,
Aug 4, 2011, 10:42:46 AM8/4/11
to lr-loa...@googlegroups.com
Any C based virtual user will work fin, lr_load_dll(). Be sure to include
function prototypes for the functions you will be calling. Something that
you may run into is if the dll was never designed to be accessed en masse by
multiple processes/thread concurrently you may have a DLL which simply blows
up because the design assumptions were based on a single user client access
model. These design assumptions creep into the use of DLLs for performance
testing quite often.

Food for thought,

'Pulley

James Pulley, http://www.loadrunnerbythehour.com/PricingMatrix

--
You received this message because you are subscribed to the Google
"LoadRunner" group.
To post to this group, send email to LR-Loa...@googlegroups.com
To unsubscribe from this group, send email to
LR-LoadRunne...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/LR-LoadRunner?hl=en

Vicky

unread,
Aug 24, 2011, 2:43:01 AM8/24/11
to LoadRunner
Hi James,

I am still not getting any success. I got sample .net dll file to
check how we can do performance testing on it.

It contains code:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
namespace QALIB
{
public class Class1
{
public string test()
{
return "abc";
}
}
}

Kindly let me know how to perform performance testing on it.

On Aug 4, 7:42 pm, "James Pulley" <loadrunner-li...@jamespulley.com>
wrote:
> Any C based virtual user will work fin, lr_load_dll().   Be sure to include
> function prototypes for the functions you will be calling.    Something that
> you may run into is if thedllwas never designed to be accessed en masse by
> multiple processes/thread concurrently you may have aDLLwhich simply blows
> up because the design assumptions were based on a single user client access
> model.  These design assumptions creep into the use of DLLs for performance
> testing quite often.
>
> Food for thought,
>
> 'Pulley
>
> James Pulley,http://www.loadrunnerbythehour.com/PricingMatrix
>
>
>
> -----Original Message-----
> From: lr-loa...@googlegroups.com [mailto:lr-loa...@googlegroups.com]
>
> On Behalf Of Vicky
> Sent: Thursday, August 04, 2011 10:09 AM
> To: LoadRunner
> Subject: Performance testing of .dllfile
>
> Hi everyone, I have one doubt in .dllperformance. When i try doing
> performance testing of .dllfilewhich is written in c language its
> working fine with c lang. protocol. But when i am trying to do
> performance testing of .dllfilewhich is written in .net gives error
> message. Can some one tell me which protocol should i use for this and
> how to proceed further.
>
> --
> You received this message because you are subscribed to the Google
> "LoadRunner" group.
> To post to this group, send email to LR-Loa...@googlegroups.com
> To unsubscribe from this group, send email to
> LR-LoadRunne...@googlegroups.com
> For more options, visit this group athttp://groups.google.com/group/LR-LoadRunner?hl=en- Hide quoted text -
>
> - Show quoted text -
Reply all
Reply to author
Forward
0 new messages