Menu

Introducing Web Performance Legion

After months of work, I want to introduce you to something new: Web Performance Legion. Legion is a new open-source research product. It’s an attempt to create a powerful load testing tool that can handle difficult and or esoteric use cases while still being easy-to-understand at its core. It’s still in the early phases of development, but if you happen to love working with Node, or you need to test a complex RESTful API, Legion might be the tool for you.

Legion lets you:

* Quickly describe a testcase entirely in JavaScript.
* Easily instrument arbitrary JavaScript functions to measure their performance.
* Attach setup and shutdown hooks to your testcase.
* Run testcases from the command line.
* Get results in a machine-readable JSON format.

Example:


.testcase(L.of()
.chain(rest.post(host + '/ticket/new'))
.chain(assertSuccess)
.chain(response => rest.post(host + '/ticket/redeem?ticket='+ response.json.ticket))
.chain(assertSuccess))

.main();

If this sounds like something you’re interested in, start with our introductory guide, the starter project, or you can fork the source code on github.

Add Your Comment

You must be logged in to post a comment.

Resources

Search

Copyright © 2017 Web Performance, Inc.

A Durham web design company

×

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

After hours? Prefer email? 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
Product Needs
×

Request a Quote

Our experienced performance engineers have tuned hundreds of systems for companies large and small, and know just where to look, saving you time to market and money. We'll run your website through a complete performance evaluation, then tell you exactly how many users your site can support, including such important details as the effects of "the last mile." We'll also pinpoint potential problem areas and give you a full report detailing what needs to be fixed and where.

About You
Product Needs