Menu

Load Testing Blog

Load Testing with Microsoft Edge

Recently Microsoft has been pushing their new Edge browser release by forcing users to start it upon login.   If you want to start recording with Edge then Load Tester has you covered with just a few configuration steps.
First, go to the Browser settings in Load Tester:     Window->Preferences->Web Performance->Browser

Click the Add Button on the right and configure a new setting for Edge.   The path is as shown above for Windows 10.
Be sure to check “Use Operating System-wide Proxy Settings”!
Click Apply, and then OK.
When recording you’ll now see a new option to record with Edge:

You’ll probably … Continue reading »

Generating Dynamic UUID with a Javascript Data Source

We recently had a customer question on how to dynamically generate UUIDs during a load test, and the answer illustrates two interesting techniques in Load Tester:

How to use javascript to dynamically generate data during a test.
How to make call outs to the more extensive Java functions within javascript.

In this example let’s assume the UUID is being used as a path element that you want to dynamically replace during a test like this:
http://mysite/path1/123e4567-e89b-12d3-a456-426614174000
Like much of the test case configuration in Load Tester, the process to edit the dynamic behavior starts in the Fields View.   Click on the URL to select … Continue reading »

Distinct Think Time setting for Virtual User Pacing

Load Tester 6.7 includes a new option for Virtual User Pacing. When configuring Think Time Generators (Window > Preferences > Web Performance > Think Time), the new checkbox is labeled Distinct – Allow users to have distinct paces. This applies only to the random variation generators. When turned on, it changes how the random variation range is applied to think time.

When turned off, the think time generator will function as it always did – for each think-time encountered, it will vary the think time (as configured in the testcase) by a random value within the configured range. When turned on, … Continue reading »

Configuring Bearer Tokens for Load Testing

A  method of authentication that has become more popular these days is bearer tokens, which require some additional configuration in Load Tester.
You can first tell if a website uses bearer tokens because the site will throw 404 errors when attempting a playback.  Examing the headers will show a header entry called “Authorization” with the format shown below:

The value will appear one or more times.  Some sites just set the value once, and others will try and set it on different parts of a website.
The first thing to do is find where the value appears using the Search Tab … Continue reading »

Understanding Web Pages in Modern Web Apps

With the advent of AJAX and one-page applications, the concent of a “web page” as a single file with HTML is antiquated. A simple website where the user navigates from page to page has morphed into a web-based application, with complicated user interface elements that aren’t web pages in the traditional sense.
And yet for testing purposes, we need to separate the different stages of a workflow for a web-based application. In Load Tester, then, the concent of a “page” could be anything from a traditional HTML file to a single asynchronous AJAX call. The common denominator is each “page” is … Continue reading »

Measurements plugin for SeleniumIDE is now available in the Firefox add-ons store

This Firefox extension is a plugin for SeleniumIDE that makes it easy to collect performance measurements during a test. Installing this extension will add new commands for starting and stopping timers and provides a UI for viewing and downloading the collected measurements.

Site is slow under load, but the servers aren’t busy?!?

The problem
Here is the situation: We are running a load test for a customer. The web servers are showing low to moderate CPU utilization and low disk activity. They have plenty of memory available. The middle-tier servers are reporting similar measurements. So is the database. Everything looks good in the load test.

Checking HTTP status codes from your Selenium/Java tests with the Meddler extension

Over the years, I’ve see a couple of questions repeatedly on the Selenium boards related to HTTP status codes: How do I check for broken links (404s)? How can I check the status code of a web-service request made from my web-app? The answer is usually “Selenium can not do that” because, of course, Selenium is a browser automation tool – not a full-featured testing solution. Other answers suggest various solutions…none that I’ve seen are elegant.

How to Handle a Website where Cookies are set via Javascript

The process instead is to locate where the cookie value is set in javascript, parse the value, and set the cookie value inside the cookie store. The new cookie value is then updated in every subsequent transaction automatically.

Backup and Restore Chronograf Dashboards

Chronograf is a web-based GUI for visualizing time-series data, typically from a time-series database such as InfluxDB. I have been using it recently to store load-test measurements created by the MuseIDE Measurements extension.

I have been running it in the cloud, starting up a fresh instance whenever I have the need for storing load test results. This is handy and very cost-effective, but starting from scratch means that I need to set up dashboards of the metrics I want to see every time.

Resources

Copyright © 2020 Web Performance, Inc.

A Durham web design company

×

(1) 919-845-7601 9AM-5PM EST

Just complete this form and we will get back to you as soon as possible with a quote. Please note: Technical support questions should be posted to our online support system.

About You
What you Need