What happens when you have to submit special charaters, or reserverd characters in vugen? It can be quite a pain. Yes you can always do a web_convert_param(), but sometimes it doesnt do what you need. I’ve noticed it converts a space to a + not a %20….This has really confused me when submitting a webform…
The only other way to get around it is to write a function that searches your string, and replaces it.
Read more…
admin Uncategorized
Ever had to run a soak test, load test, whatever test at an un-Godly hour? Did you ever hit ‘play’ and then go home, and, just pray (religious?) that the test would be finished with all your results when you get to work the next day?, only to find it crashed 4 mins after you left…yes, it sucks.
In my situation, I had a script running for about 3 days. Don’t ask why, it was just the situation I was in…! I found myself logging into the box every few hours to make sure the script was running, and it was really getting on my nerves. It got to a point where I would spontaneously wake up in the middle of the night just to check it…yes, I’m a freak, thanks for coming to my show!.
So to get around this, I managed to create a very easy way to have vugen send you an email when your script fails. Its really quite simple.
Read more…
admin Uncategorized
A quick and dirty blog, cause I’m really busy.
This is simple sql for the guru’s (however, I’m not a guru!), but I recently had to find out how many records don’t exist in a table.
Its easy enough to find out how many do, using the magical count(*), but I’ve never had to do this…and if I did, it was probably a silly looking subquery.
Read more…
admin Uncategorized
Working out how which values in a script need to be paramatised can be tedious and time consuming if completed manually. I always wonder about people who things manually, when, in this world of technology, we are able to utilise different applications, and tools to assist our day to day activities. Plus, its also damn boring. There’s a solution at hand, and if you are a half decent performance tester, you’ll know you need to record 2 of the same scripts and diff the changed content…if you don’t know this, I highly consider a career change.
Read more…
admin Uncategorized
I very rarely blog about an application, however sometimes there is an app or two that make my life and job a lot easier to manager. I use a lot of mysql databases, and managing them is something I like to, lets say…not do.
I simply don’t like navigating through databases and tables from the mysql command line editor, and I really hate the PHP gui tool that it comes with…its just so cumbersome. I’ve been using navicat of late, but I hate the idea that I have to pay for it. I mean lets face it, why the heck would you want to pay for a tool that manages an open-source application! Its irony at its greatest. So in my early morning googling, I stumbled across a diamond among the db management tools.
Read more…
admin Uncategorized
As the cobwebs fill up on my blog just in time for spring, I thought it may best to clean it up and put some fresh stuff…So reporting is a kind of a big deal at these big corporations. Seems like there is always someone higher in the food chain who wants a spreadsheet to tell them what you’re actually doing, and if you’re hitting your targets. As annoying and cumbersome as it may be, it’s very important that you produce and provide statistics that are accurate, and up to date, so I’ve got a quick solution that will make any boss somewhat happy…
Read more…
admin Uncategorized
Often, when I begin a new gig, I have a few little tools I install to make my job that little bit more efficient.
One of these would be a wamp server and the ruby installer, along with the usual gems I often utilise. The wamp server is great to store data for scripts I’m writing, and a little ruby here and there never hurt anybody!
It occurred to me that I’d never actually blogged how to get ruby and mysql connectivity. As with anything ruby related, its easy but it does require a few key steps..
Read more…
admin Uncategorized
A strange problem occurred when I was running one of my selenium test suites. The test would run fine for my first testcase (that is, the first “method”). If you know a little about how selenium works, you’ll know that the teardown method is called after each method.
The teardown basically grabs any errors that occurs and kills the browser session, thus opening a new session in your next method. The issue that was occurring was this annoying JavaScript error being pulled from Internet Explorer, saying it cannot run scripts on the page. It halted my script and I had no way to get to the following methods…so after a little digging around I found a solution…
Read more…
admin Uncategorized
So I’ve been dabling with Selenium again…I love open source, but the lack of documentation is very frustrating. Hitting F1 in Loadrunner was taken for granted, so if I find something useful, as a fellow open-sourcer, I’m going to share it. Hopefully this can be of some use to you all.
Enjoy!
Read more…
admin Uncategorized
Quite often I get personally contacted by people requiring some assistance or just wanting to ask me for my advice. It’s a nice ego boost, but also a very important aspect of the industry that should be maintained. My beliefs are we should do what we can to assist others, and with the use of the internet, we have a great medium to share and distribute information, with such things like twitter, Google talk and, well my blog, are all making it possible for a total stranger to speak to another and get the help he/she needs.
Recently, a now friend of mine, Roberto Brusa struck up a conversation about changing the system time in vugen. He was making a system call, which is fine, its a great way to do it, but he did mention that he did not want the annoying cmd pop up and probed me for a possible alternative. Now I’ve never done this before but after bouncing ideas off each other I suggested that in theory, it should be possible, through the usage of the win32api, to manipulate the tme…We found that this statment was true, and proved it with the following…
Read more…
admin Uncategorized