Javascript - Web Performance
Menu

Load Testing Blog

Showing posts tagged “Javascript”

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 »

New JavaScript optimizer

From a load testing perspective, we are not generally concerned with Javascript performance – since it affects client-side rendering time and therefore has little relationship to load. However, we do see a lot of sites that could benefit greatly from improved Javascript performance – especially reducing the size of their Javascript files. Google has a relatively new project, Closure Compiler, that optimizes JavaScript code to reduce size and improve performance.
If you’ve tried the Closure Compiler, give us a shout. We’d love to hear about your results!
Chris
Chief Engineer
When his dad brought home a Commodore PET computer, … Continue reading »

Resources

Copyright © 2024 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
How Many Concurrent Users