select a specific row from the paramater table :: vugen

June 1st, 2009

So the parameter table in vugen has many uses. In fact, it actually works quite well. However, if you have multiple values in your parameter table, and its configured to use a particular column, there may be an instance where you want to use the same value all the time, yet not hardcode it into your scripts.
My setup at the moment, is that I have many login i’ds and their relative passwords in a parameter file, however one of my scripts require that I login with a particular id, as it has the correct attributes.

Read more…

admin Uncategorized

create folders & download files :: ruby

May 24th, 2009

Again, another very small post. I’ve been tending to use ruby lately to perform little repetitive jobs. Currently I’m downloading files from one of our web servers. The requirement was to download multiple files and place them in their corresponding folders.

Read more…

admin ruby

windows permissions :: task scheduler

May 20th, 2009

This is really a very quick post. If you don’t have access to your task scheduler, because your local/group policy has denied accesses to it, you can run it by creating a bat file with the following :

reg delete "HKEY_USERS\S-1-5-21-2210719521-449599147-3807732984-1007\Software\Policies\Microsoft\Windows\Task Scheduler5.0"
reg delete "HKEY_LOCAL_MACHINE\SOFTWARE\Policies\Microsoft\Windows\Task Scheduler5.0"

or, if you can’t be bothered, just download it here.

Run the bat file, it will ask if you want to delete, and you’re done. You can now access task scheduler to create/run and stop scheduled tasks.
You may want to save this, as the policy will be re-applied on reboot/re-login.

Enjoy!

admin Uncategorized

sitescope 10.0 integration with loadrunner 9.0

May 6th, 2009

As you can see, I’ve been playing with the new SiteScope. I cant say I’m overly impressed with allot of the decisions HP/Mercury has made. The removal of the classic interface, was a bad choice in my opinion. I never used the new UI, and always knew where everything was on the old UI. It was faster, and easier to get an overall picture.
The only reason I upgraded was for our new version of BAC I am trying to implement. However, during my BAU work, I noticed my metrics were not coming into loadrunner in my laodtests. Then I read an article that SiteScope 10 was not supported with loadrunner 9.0 and 9.5 and I would receive no support on the matter….thanks Mr. HP…

Luckily, I’ve worked out how to get it working with minimal fuss….

Read more…

admin loadurnner, monitoring, sitescope

updating invalid sitescope license

May 6th, 2009

I recently installed the new version of sitescope. During the installation I entered an invalid licence, however the setup did not validate and allowed me to continue. After the install completed, the classic interface was not working/not installed (still trying to diagnose this problem), and I could not use the new gui as the licence was invalid and would not let me in to update the licence code….how ironic!…

Read more…

admin monitoring, sitescope

node not found :: Quality Center

April 27th, 2009

Recently, I was struck with this error “node not found” upon logging into Quality Center, to be exact, 6 times.
Some investigation revealed what caused the error. This occurs when a folder is being deleted, and while the deletion is taking place, someone moves a folder into the folder under deletion.
This causes a corruption in the QC database, and creates, what we call ‘orphan’ records. That is, records that belong to an invalid father or id.
Luckily, I was able to solve the issue, but not before days of lost testing effort, due to the limited information on this issue, on our friend, the inter-web.
Read more…

admin quality center ,

adding multiple sitescope monitors

April 26th, 2009

Ever needed to setup a heap of sitescope monitors? It’s a pain to do it from the front end for each machine over and over and over.
Luckily the back-end of sitescope is very very simple, there are lots of text files, and if you know what you’re looking for, you’ll find it to be a fairly easy task, and not as time consuming as going through the front end.
You will need access to the server that is hosting sitescope, enough access to read/write files, and the ability to restart services.
Read more…

admin monitoring, sitescope ,

error checking in loadrunner

February 26th, 2009

There is no real point in running a script if you’re not going to check and handle for errors. In my opinion, this is what defines a good loadtester/automator from a fake one. I have seen many fake testers, who are palmed off into our industry as experts, but can only record and playback. But that’s a whole different gripe I have.

I’ve spent the last few weeks discussing this topic in detail with my manager, and senior mentor Nick Singh from JKVine and together we have come up with a ‘framework’ (buzz word) that is not too time consuming and has proved to be very successful.

Read more…

admin Uncategorized

loadrunner error :: The user files were not transferred to the local load generator

February 6th, 2009

This occurs When trying to run a load test on a remote load generator.
I have my script on a network location, as its easy to share with my team.
The script utilizes the loadrunner parameters, and the dat files are stored on the same network location, in another folder of course.
Two errors actually occur
1.Error: The user files were not transferred to the local load generator
2.One or more of the script’s files have illegal names.It is possible that two files are using the same name and directory

Unfortunately for me, this error does not give me much information, like most of mercury/hp’s errors, it leaves me on a wild goose chase. The reason to the problem is quite bizarre, and very strange. But there is a way to fix it.

Read more…

admin Uncategorized, loadurnner

random numbers & words

February 6th, 2009

The random function is extremely useful, no matter the language or application. I personally utilise it a lot, between many different languages. I have found, however, that it is one of those functions I always seem to forget how to do, and find myself re-learning it again.
I find the issue when I change from, be it, ruby, to qtp to loadrunner to winrunner. do while loops, counters, and arrays are all quite standard, but random, well, it gets me every time.

Read more…

admin loadurnner, qtp, ruby , , , ,