Skip to main content
Version: scarthgap

tsung

In this guide we are using the plain meta-erlang layer to include a distributed test tool called tsung.

The recipe tsung_1.7.0.bb builds the tsung tool using a crosscompile approach.

As a final result, we are able to run the command tsung.

Follow the quickstart guide to get a basic working environment and then:

  • Add tsung and tsung-doc packages to IMAGE_INSTAL in conf/local.conf
echo 'IMAGE_INSTALL:append = " tsung tsung-doc"' >> conf/local.conf
  • Now its time to build the image:
bitbake core-image-minimal
  • And check the results with qemu:
runqemu core-image-minimal

The package tsung-doc provides a set of working examples which can be used as a base. The below command will start tsung using a basic scenario:

tsung -f /usr/share/doc/tsung/examples/http_simple.xml start

Tsung has a pretty decent documentation showing how to configure more advanced scenarios.