logjamm

package module
v0.0.0-...-58061ea Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 11, 2021 License: MIT Imports: 7 Imported by: 0

README

logjam

Go Report Card

E2E Load Testing Framework

!! CURRENTLY UNDER CONSTRUCTION !!

Features

How it works

N/A

Simplest Working Example (Batch Request Functionality)

N/A

Simplest Working Example (WebDriver Functionality)

N/A

To-Do

  • Implement WebDriver Functionality
  • Add How it works details
  • Add Full Examples
  • Add Simplest Working Examples
  • Add Request per Second to Options for Duration and Possibly Iteration (Batch Functionality)
  • Add Capture and Report End User Metrics/Timings API as Wrapper Function(WebDriver Functionality)

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Batch

func Batch(options Options, requests []Request) []string

Batch is a function to send batch requests based on specified load test configuration options

func Run

func Run(options Options, requests []Request, test Test) ([]string, []map[string]int64)

func Step

func Step(label string, f func(page playwright.Page) playwright.Page, page playwright.Page) (string, int64, playwright.Page)

func WebTest

func WebTest(options Options, test Test) []map[string]int64

Types

type Options

type Options struct {
	Vus        int
	Duration   int
	Iterations int
}

Options struct specifies the number of virtual users, test duration, or request iterations. In other words, the load tests cofiguration options.

type Request

type Request = httpbatch.Request

Request struct mimicking the one found in the httpbatch library

type Test

type Test func() map[string]int64

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL