News -

New release of k6 is out - v0.20.0

Lots of goodies in this release! 🎉

We are working towards a 1.0 release of k6. Here is a small outline of the releases that can be found in v0.20.0:

  • Lifecycle: setup/teardown functions (#457)
    Finally k6 has the same basic test lifecycle hooks as many "normal" testing tools, setup and teardown, and you have the full JS API of k6 available within these functions which means you can make HTTP calls etc. that you can’t do in the global/init scope.
  • Thresholds: Support for aborting test early as soon as threshold is hit (#508)
    This PR adds functionality to specify that a test run should abort the test as soon as a threshold evaluates to false, optionally with a delay in threshold evaluation to avoid aborting to early when the number of samples collected is low.
  • Options: DNS override (#494)
    Overriding DNS resolution of hostnames can come in handy when testing a system that is run in multiple environments (dev, staging, prod etc.) with different IP addresses but responds to the same Host header.

Read about all the new features added in the v0.20.0 release here

Related links

Topics

  • Engineering

Categories

  • continuous integration
  • devops
  • continuous delivery
  • performance testing
  • load testing
  • load impact
  • k6

Related content

  • k6 - Load Impact’s open source tool - changes the way we look at load testing

    Load Impact, the Swedish load testing SaaS provider, has released a new version of its open source load testing tool - k6.
    Included in this, the biggest release yet, is the implementation of the full jQuery API (well, except a few nonsensical APIs), making it simple to check for the existence of elements/strings or extracting data from HTML responses for use in subsequent request; reworked CLI

  • Integrate k6 with your favorite DevOps and Developer Tools

    k6 is built to be a developer-centric load testing tool that integrates well into your automation workflow, no matter what tool or service you use. We've written integrations guides for the tools and services most commonly requested by our customers.

  • The State of Load Testing according to us

    "Once upon a time, I wrote a very simple command-line load testing tool in C. I called it "myload", partly because it was written by, well...myself, and partly as an allusion to MySQL (this was back in the days when MySQL ruled and I had yet to start using PostgreSQL)", says Ragnar Lönn, the founder of Load Impact.
    Reinventing the wheel gets better the second (and third) time you do it
    After

  • Updated version of the Open Source load testing tool benchmarks conducted earlier this year

    Earlier this year, we wrote a couple of articles reviewing the functionality, usability (link to review article) and performance (link to benchmark article) of a bunch of open-source load testing tools. Since then, we have uncovered our own open-source load testing tool — k6 — and it would seem it is time for an update to our reviews and benchmarks, so that we both include k6 but also test newer v