Categories
Automation Programming

Selenium Page Object Elements

If you are using Selenium WebDriver to automate your browser testing, you will almost certainly have come across a variation of the following code. In fact, in many cases you will have found this kind of thing scattered all over the place. IWebElement nameInput = driver.FindElement(By.Id(“name”)); If you are using this to grab elements all […]

Categories
Automation

Really Useful JMeter Plugins PerfMon Metrics

If you are running JMeter tests against software running on a computer or server, the chances are you’ll be manually matching your JMeter results with a graph of CPU or Memory Usage from the server. You can make this process a whole lot easier using the PerMon Metrics Collector, which is a listener that communicates […]

Categories
Automation

JMeter Throughput Shaping Tip

Here is a quick tip about JMeter’s throughput shaping capability, when using the [email protected] Throughput Shaping Timer. If you want to test, for example, 8 messages per second, the Throughput Shaping Timer will adjust the rate to make sure that: You send no more than 8 messages per second on average You send no less […]

Categories
Automation

Install C++ Redistributable with your WiX Installer

If you are installing something with a dependency that needs a C++ redistributable, your best bet is to make sure your installer supplies that dependency. This is pretty simple to do as there are merge modules for the C++ redistributable (and they are likely to already be on your computer…) You will find the merge […]

Categories
Automation

Getting App Settings for Config Files During WiX Based Install

WiX is great – but sometimes complex. Most of the complexity comes from needed to adjust things in many places to make a single thing work. For that reason, I feel the need to document the many steps required to do the following: Declare a property in the installer Allow the user to enter a […]

Categories
Automation

Switching JMeter Between Integration And Load Testing

We have been re-using our JMeter integration tests as load tests, which has been a great way of discovering various slow-downs in our REST APIs (in particular, we found that a large backup process slowing down our network significantly at 1am each morning). If you are using JMeter in the same way, you may find […]

Categories
Automation

Really Useful JMeter CSV Data Set Config

I wrote an article recently about the parameterized Controller plugin for JMeter. Today I’m going to present an even more flexible way to run different sets of data through the same test. The JMeter CSV Data Set Config node allows you to attach a set of data to a thread group or controller in order […]

Categories
Automation

Really Useful JMeter Plugins Parameterized Controller

There are lots of really useful JMeter Plugins out there but some of them are really, really useful and if you don’t know they exist you might think some things are too difficult or even impossible. Here are just a couple of scenarios you may find yourself in, which are included along with a bunch […]

Categories
Automation

Modularising JMeter Tests

JMeter is an awesome tool for writing load tests, but it isn’t obvious how you would break your tests into re-usable chunks. For example, if you are testing multiple scenarios that all require a login, it is a bit annoying to have a copy of the nodes required to log in and check the sign […]