If you are familiar with Selenium test tool, you probably know that when running tests, you can run only one test case at a time. Lets say we have 10 test cases and running each takes about 10 minutes. In that case, running all test cases will take 100 minutes. Now, the question is how to speed it up? How to make it faster?
One of the solution is to run test cases in parallel. And that’s exactly what Selenium Grid is for. It allows to setup few remote boxes and run test cases on all boxes simultaneously at the same time.
There are two main parts of Selenium Grid: hub and remote control. You will run most probably one single hub and multiple remote controllers. Remote controllers are responsible for executing particular test cases using the browser like in regular Selenium. Hub is responsible for distributing test cases between remote controllers and collecting results.
Going back to our example. Lets use 10 remote controllers and lets run our 10 test cases. With such setup, running all test cases will take only 10 minutes (from 100 minutes) which is a huge improvement.
More info about Selenium Grid here : http://selenium-grid.seleniumhq.org/
Uncategorized
Another issue that I’m facing from time to time is that LoadRunner stops 50% of running users without any notification, issue, error message etc. I’ve find out that it happens only when running with log level set to ‘always send a message’. Because of that, I suggest to run with log level set to ‘Send message only when error occur’.
Uncategorized
Sometimes LoadRunner is not recording anything while browsing using IE. I have no idea why but the fastest solution is to restart whole LR. Maybe some of you have good explanation for that?
Uncategorized
Hi All
Thanks to Zee Gao (高楼) some of my posts are now translated into Chinese language on 7dtest.com forum. Here are the links:
Web Services performance using LoadRunner HTTP Vuser script – http://www.7dtest.com/bbs/thread-3483-1-1.html
Don’t waste your time – http://www.7dtest.com/bbs/thread-3481-1-1.html
Cleaning browser cache – http://www.7dtest.com/bbs/thread-3482-1-1.html
HTTP POST or GET – http://www.7dtest.com/bbs/thread-3480-1-1.html
Thanks Zee & 7dtest.com users!
Uncategorized
Are you using proxy server to access your application? Do you store proxy username/password in VuGen Run-Time settings?
If yes, then be careful. LR stores your password as plain text on the disk!
Instead of Run-Time settings you can use web_set_proxy() function from API and encrypt your password there.
Uncategorized
LoadRunner VuGen password proxy