loadrunner I have a challenge for everyone. I know it can be done, so I don't...

  • perf-test.com need your contributions to build up a strong repository of performance engineering resources.

S

Shane Evans

Guest
I have a challenge for everyone. I know it can be done, so I don't want to talk about the *possible* solutions. This is an actual challenge to see who can code a solution in LoadRunner. Here are the requirements: 1) Open an AFP connection to a file server 2) Create/Upload a file of an arbitrary size on the file server 3) Read the directory structure 4) Download a file from the server Step 1 should account for authentication, and all steps should be fail-safe; meaning a failure to complete the step won't result in a flood of errors, should give a good indication as to what went wrong, and should allow the VUser to restart. The winning code will meet the above requirements in the least number of lines of code, and a line of code is defined as a terminated expression, so no one can just write the whole thing in one long line. I don't care if your method names are well thought out or not... Now, I can't offer money or gift cards since many of you are located outside of the US. But I *can* and *will* showcase the winning selection on the hp.com/go/lrblog website; which is the highest trafficed blog for all of HP Software with over 15,000 unique viewers per month. So if notoriety means anything to you, here is your chance. If you don't wish to submit your answer here for fear of Internet trolls, feel free to email me at shane dot evans at hp dot com. Good luck!
 
I would've taken a different path through a different protocol (CIFS, SMB, WebDav). Given that the target is Apple specific I will probably set this one out.
 
Fair enough. This isn't going to be possible with HTTP, so I expect only a handful of people will know how to make it work.
 
Okay I'm going to use AppleScript Automator and a couple api shims... LOL Actually I have a couple ideas.
 
Okay so next question. AFP bound to 10.10.4??? Does it matter if it's Apple File Services for Macintosh on NT4 or Win2k?
 
Is there a method to the madness of AFP instead of SMB, which is available on all of the newer macs? Just a curiosity question
 
The general method will be the same, but I wanted to demonstrate how someone would need to reach outside of the standard libraries to achieve the goal.