This article extends my previous post on Using a Custom DLL in LoadRunner and now shows by example how a DLL is actually created in Delphi and used from LoadRunner.
The DLL I’ll create here is a simple stub with a few basic functions and can serve as a template for any type of DLL that you want to create.
I’ll show how to avoid the most common problems of sending/retrieving strings to/from the DLL as well as how to handle the Unicode situation with D2009 and D2010 (LR is not Unicode enabled).Read More »
I happened to see a blog post about Delphi Dying, and I definitely feel the need to say that “NO, DELPHI IS NOT DYING” (at least not for me)!
It’s still my tool of choice for any kind of development, be it server or client . I’ve seen too many issues with both performance and stability when it comes to Java client apps… Just the other day I had a time tracking software (written in Java). Didn’t work anymore for no reason whatsoever, worked yesterday. Had to downgrade the to update 7 to get it to work.. Just a total PAIN IN THE BUTT with all those update this and update that things .. How hard can it be to get the freaking java-code to work with different updates .. I just don’t get it .. but enough of rant on that for now ..
This also merits a small example of why I think Delphi is good: A buddy at work seemed surprised that I made a TCP Port redirection Desktop app in less than a day, with all the UI parts and load/save things. He used to do lots of Java coding (on the server side) and just seemed to be surprised that with I D2010 managed to complete the app in so short a time?!
I think this goes to prove that Delphi really is an excellent RAD tool that produces fast & reliable code without the need to deploy anything but the .exe itself (= no dependencies on update packs 🙂 ).
I’ve always been, and always will be a Delphi developer.
Sometimes LoadRunner does not provide all the needed features that one needs when doing performance testing. One option is to write DLL’s to handle the needed stuff and writing your own custom DLL’s is really easy once you get the hang of it!
I needed to do a few HTTP calls “under the radar” from a script so using Delphi 2009 I wrote my own HTTPClient DLL that allows me to do a HTTP GET to a specific URL without adding to the statistics (Pages and Hits/Sec stats).Read More »
The last few days I’ve spent optimizing an application written in Delphi 2009 that talks to a Firebird database using the standard TIBDatabase, TIBTransaction and TIBSQL components The application needs to do alot of reading/writing to the database, and was rather slow so I had to optimize it a little …Read More »