testutil

package
v0.1.15 Latest Latest
Warning

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

Go to latest
Published: May 11, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AcquireBurpLock

func AcquireBurpLock(t *testing.T)

AcquireBurpLock acquires an exclusive lock on Burp MCP. The lock is automatically released when the test completes.

func NewInteractsh added in v0.1.15

func NewInteractsh(t *testing.T) (string, func(method, path string) *oobclient.Interaction)

NewInteractsh starts a polling interactsh-lite client and returns its callback domain plus a waitFor function that blocks until an HTTP interaction matching the given method and path (empty matches any path) arrives. Skips the test if OAST is unreachable.

func WaitForCount

func WaitForCount(t *testing.T, getCount func() int, expected int)

WaitForCount polls until the count reaches the expected value or 10s timeout.

Types

This section is empty.

Jump to

Keyboard shortcuts

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