loadtests

package
v0.0.0-...-14ef7bc Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2024 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetJobName

func GetJobName(name string) string

Indentify CI and get unique Job Name

func UrlCheck

func UrlCheck(urlString string) bool

Parse and check url

Types

type User

type User struct {
	Username string `json:"username"`
	Password string `json:"password"`
	Token    string `json:"token"`
	SSOURL   string `json:"ssourl"`
	APIURL   string `json:"apiurl"`
	Verified bool   `json:"verified"`
}

User represents a user in the list

func LoadStageUsers

func LoadStageUsers(filePath string) ([]User, error)

func SelectUsers

func SelectUsers(userList []User, numberOfUsers, threadCount, maxUsers int) ([]User, error)

Jump to

Keyboard shortcuts

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