Zebra YAML

Introduction

Zebra YAML (formerly ASY) is the non-graphical Zebra Scripting Tool (formerly AST).

It is a command-line tool and a YAML-based, Domain-Specific, language for creating scripts for Apica Load Testing and Synthetic Monitoring; no-proxy-configuration needed.

Syntax

Script elements for use in Zebra YAML files.

Example Code

Example of a Zebra YAML file

Here is an example definition (which is included as “first.yml’ in the installation package, renamed to MyScript.yml for this example):

config:
  target: "http://ticketmonster.apicsystem.com"
scenarios:
  -
    name: "Example"
    flow:
      - page:
          name: "My Start Page"
      - get:
          url: "/ticket-monster/"
          capture:
            - regex: '(.*)'
              as: 'entireResponse' 

This simple script accesses Apica’s TicketMonster demonstration site.