User-defined functions in Load runner

On May 11, 2009 / By admin / In LoadRunner / Reply

How do you write user-defined functions in Load runner? Give me example of few functions you wrote in your previous project.

 

Before we create the user defined function we need to create the external library (DLL) with the function. We add this library to VuGen Bin directory. Once the library is added then we assign user defined function as parameter. The function should have the following format:_declspec(dllexport) char * < function name > (char*, char*) Examples of the user defined functions are as follows: Get Version Get Current Time, Getpltform are some of the user defined functions used in my earlier project.

Reply

Spam Protection by WP-SpamFree


SEO Powered By SEOPressor