2.0.4 • Published 3 years ago

@flood/element-core v2.0.4

Weekly downloads
2,142
License
Apache-2.0
Repository
github
Last release
3 years ago

@Flood/element

Flood Element brings the familiar power of traditional browser scripting tools with the proven performance of Flood to create an easy to use and maintainable performance testing tool.

Flood Element works by spinning up hundreds or even thousands of instances of Google Chrome, and running scripts you define here to drive a load test. We can this Browser Level Load Testing.

This project is currently in beta and APIs are subject to change.

Flood Element Example code

Quickstart

1. Download Flood CLI

On macOS, install using homebrew:

brew install flood-io/taps/element

If you're familiar with node.js development and already have it installed:

npm install -g @flood/element-cli
# or
yarn global add @flood/element-cli

On Windows:

We're still working on a Windows build, stay tuned.

2. Initialize Project

# Initialize a new project
element init my-flood-element-test
# follow the prompts

# once its done, change directory into my-flood-element-test
cd my-flood-element-test

if you already have a project

you may want to generate a starter test script:

element generate test.ts

To get the TypeScript types, e.g. to use enhanced type checking and documentation in your editor, add @flood/element to your project:

npm add --save-dev @flood/element
# or
yarn add -D @flood/element

3. Write and validate your script

Edit test.ts in your editor of choice. To learn more about the scripting capabilities we've put together a detailed tutorial on testing the "Flood Merchandise Store".

We recommend an editor with good TypeScript support such as Visual Studio Code. Using this kind of editor helps to speed up writing your test script by providing code completion, in-place help and type checking.

As you're writing your script, you can validate it by running it:

element run test.ts

This will output a detailed list of steps and configuration options it has read from your script, then execute it within the Flood Element Environment.

TODO watch

4. Run a real Load Test on Flood

In future releases, you'll be able use your test script as a Load Test on Flood directly from the Flood Element CLI.

For now, please use the Flood site to execute your test -- upload it to Flood as a new Stream and launch a Flood (a test).

Upload your script to Tricentis Flood

Continue learning more Flood Element techniques by starting with our API documentation. The main entry point to all tests is the <Browser> class and it's a great place to get a feel for the capabilities of each test.

Why?

Over the years, countless customers have mentioned that getting started with Load Testing is a daunting task. That's why it's often left until the last minute before launch. At Flood, it's our mission to make Load Testing less daunting and accessible to everyone. We want to give developers and testers an easy way to ensure that whatever part of the system they're responsible for meets expectations for both functionality and performance.

What can I do with it?

  • Flood Element can be used to put load on any web accessible application and measure how it performs as load is ramped up,
  • Measure performance regressions after deploys by integrating it with you CI/CD pipeline,
  • Measure how your application's response time from different regions as experienced by your customers,
  • Create realistic load scenarios which stress test your network infrastructure without developing a complex protocol level load test scripts.

Documentation

Reporting Issues

If you encounter any issues with the @flood/element project or Flood Element product, please open an issue on the GitHub project.

If you're encountering issues with Flood itself, please contact Flood Support from within the Flood Dashboard.

1.5.5

3 years ago

2.0.5-canary.20

3 years ago

2.0.5-canary.19

3 years ago

2.0.5-canary.18

3 years ago

2.0.5-canary.16

4 years ago

2.0.5-canary.15

4 years ago

2.0.5-canary.17

4 years ago

2.0.5-canary.10

4 years ago

2.0.5-canary.9

4 years ago

2.0.5-canary.8

4 years ago

2.0.5-canary.7

4 years ago

2.0.5-canary.3

4 years ago

2.0.5-canary.5

4 years ago

2.0.5-canary.4

4 years ago

2.0.5-canary.6

4 years ago

1.5.4

4 years ago

2.0.5-canary.2

4 years ago

1.5.3

4 years ago

1.5.2

4 years ago

2.0.5-beta.0

4 years ago

2.0.3

4 years ago

2.0.4

4 years ago

2.0.5-canary.1

4 years ago

2.0.5-canary.0

4 years ago

2.0.2

4 years ago

2.0.1

4 years ago

2.0.0

4 years ago

2.0.0-canary.48

4 years ago

2.0.0-canary.46

4 years ago

2.0.0-canary.45

4 years ago

2.0.0-canary.47

4 years ago

2.0.0-canary.44

4 years ago

2.0.0-canary.43

4 years ago

2.0.0-canary.42

4 years ago

2.0.0-canary.41

4 years ago

2.0.0-canary.40

4 years ago

2.0.0-canary.39

4 years ago

2.0.0-canary.38

4 years ago

2.0.0-canary.37

4 years ago

2.0.0-canary.36

4 years ago

2.0.0-canary.35

4 years ago

2.0.0-canary.34

4 years ago

2.0.0-canary.33

4 years ago

2.0.0-canary.32

4 years ago

2.0.0-canary.31

4 years ago

2.0.0-canary.30

4 years ago

2.0.0-canary.28

4 years ago

2.0.0-canary.29

4 years ago

2.0.0-canary.27

4 years ago

2.0.0-canary.26

4 years ago

2.0.0-canary.25

4 years ago

2.0.0-canary.24

4 years ago

1.5.0

4 years ago

2.0.0-canary.23

4 years ago

1.4.0-beta.7

4 years ago

2.0.0-canary.22

4 years ago

2.0.0-canary.21

4 years ago

2.0.0-canary.20

4 years ago

2.0.0-canary.19

4 years ago

2.0.0-canary.18

4 years ago

2.0.0-canary.17

4 years ago

2.0.0-canary.16

4 years ago

2.0.0-canary.15

4 years ago

2.0.0-canary.14

4 years ago

2.0.0-canary.13

4 years ago

2.0.0-canary.12

4 years ago

2.0.0-canary.11

4 years ago

1.4.0-beta.6

4 years ago

1.4.0-beta.5

4 years ago

1.3.10-beta.0

4 years ago

2.0.0-canary.10

4 years ago

2.0.0-canary.9

4 years ago

1.4.0-beta.4

4 years ago

2.0.0-canary.8

4 years ago

2.0.0-canary.7

4 years ago

1.4.0-beta.3

4 years ago

2.0.0-canary.6

4 years ago

1.4.0-beta.2

4 years ago

2.0.0-canary.5

4 years ago

1.4.0-beta.1

4 years ago

2.0.0-canary.4

4 years ago

2.0.0-canary.3

4 years ago

1.4.0-beta.0

4 years ago

2.0.0-canary.2

4 years ago

2.0.0-canary.0

4 years ago

2.0.0-canary.1

4 years ago

1.3.10-canary.1

4 years ago

2.0.0-beta.24

4 years ago

1.3.9

4 years ago

2.0.0-beta.22

4 years ago

2.0.0-beta.21

4 years ago

2.0.0-beta.23

4 years ago

2.0.0-beta.20

4 years ago

2.0.0-beta.19

4 years ago

2.0.0-beta.18

4 years ago

2.0.0-beta.17

4 years ago

2.0.0-beta.16

4 years ago

2.0.0-beta.15

4 years ago

2.0.0-beta.14

4 years ago

2.0.0-beta.13

4 years ago

1.3.8

4 years ago

1.3.7

4 years ago

1.3.6

4 years ago

2.0.0-beta.12

4 years ago

1.3.5

4 years ago

2.0.0-beta.11

4 years ago

2.0.0-beta.10

4 years ago

2.0.0-beta.9

4 years ago

2.0.0-beta.8

4 years ago

2.0.0-beta.7

4 years ago

2.0.0-beta.6

4 years ago

1.3.3

4 years ago

1.3.2

4 years ago

2.0.0-beta.5

4 years ago

1.3.1

4 years ago

2.0.0-beta.4

4 years ago

2.0.0-beta.2

4 years ago

2.0.0-beta.3

4 years ago

2.0.0-beta.1

4 years ago

2.0.0-beta.0

4 years ago

1.3.0-beta.28

4 years ago

1.3.0-beta.27

4 years ago

1.3.0

4 years ago

1.3.0-beta.26

4 years ago

1.3.0-beta.24

4 years ago

1.3.0-beta.25

4 years ago

1.3.0-beta.23

4 years ago

1.3.0-beta.22

4 years ago

1.3.0-beta.19

4 years ago

1.3.0-beta.14

4 years ago

1.3.0-beta.13

4 years ago

1.3.0-beta.12

4 years ago

1.3.0-beta.11

4 years ago

1.3.0-beta.8

4 years ago

1.3.0-beta.9

4 years ago

1.3.0-beta.6

4 years ago

1.3.0-beta.4

5 years ago

1.3.0-beta.5

5 years ago

1.3.0-beta.2

5 years ago

1.3.0-beta.3

5 years ago

1.3.0-beta.1

5 years ago

1.3.0-beta.0

5 years ago

1.2.3-beta.4

5 years ago

1.2.3

5 years ago

1.2.3-beta.1

5 years ago

1.2.3-beta.2

5 years ago

1.2.3-beta.0

5 years ago

1.2.2-beta.2

5 years ago

1.2.2

5 years ago

1.2.0

5 years ago

1.2.0-feat.2

5 years ago

1.2.0-feat.0

5 years ago

1.2.0-feat.1

5 years ago

1.1.0-feat.0

5 years ago

1.0.11-feat.5

5 years ago

1.0.11-feat.4

5 years ago

1.0.11-feat.1

5 years ago

1.0.11-feat.0

5 years ago

1.0.11-feat.3

5 years ago

1.0.11-feat.2

5 years ago

1.0.11-alpha.10

5 years ago

1.0.11-alpha.11

5 years ago

1.0.11-alpha.4

5 years ago

1.0.11-alpha.5

5 years ago

1.0.11-alpha.2

5 years ago

1.0.11-alpha.3

5 years ago

1.0.11-alpha.8

5 years ago

1.0.11-alpha.9

5 years ago

1.0.11-alpha.6

5 years ago

1.0.11-alpha.7

5 years ago

1.0.11-alpha.1

5 years ago

1.0.10-beta.63

5 years ago

1.0.10

5 years ago

1.0.10-beta.62

5 years ago

1.0.10-beta.61

5 years ago

1.0.10-beta.60

5 years ago

1.0.10-beta.59

5 years ago

1.0.10-beta.58

5 years ago

1.0.10-beta.57

5 years ago

1.0.10-beta.54

5 years ago

1.0.10-beta.55

5 years ago

1.0.10-beta.53

5 years ago

1.0.10-alpha.0

5 years ago

1.0.10-beta.52

5 years ago

1.0.10-beta.51

5 years ago

1.0.10-beta.50

5 years ago

1.0.10-beta.49

5 years ago

1.0.10-alpha.9

5 years ago

1.0.10-alpha.7

5 years ago

1.0.10-beta.48

5 years ago

1.0.10-alpha.6

5 years ago

1.0.10-alpha.2

5 years ago

1.0.10-beta.47

5 years ago

1.0.10-alpha.1

5 years ago

1.0.10-beta.46

5 years ago

1.0.10-alpha.4

5 years ago

1.0.10-alpha.3

5 years ago

1.0.10-beta.45

5 years ago

1.0.10-beta.44

5 years ago

1.0.10-beta.43

5 years ago

1.0.10-beta.41

5 years ago

1.0.10-beta.42

5 years ago

1.0.10-beta.40

5 years ago

1.0.10-beta.39

5 years ago

1.0.10-beta.38

5 years ago

1.0.10-beta.36

5 years ago

1.0.10-beta.37

5 years ago

1.0.10-beta.35

5 years ago

1.0.10-beta.34

5 years ago

1.0.10-beta.33

5 years ago

1.0.10-beta.32

5 years ago

1.0.10-beta.31

5 years ago

1.0.10-alpha.77

5 years ago

1.0.10-alpha.76

5 years ago

1.0.10-alpha.74

5 years ago

1.0.10-alpha.72

5 years ago

1.0.10-alpha.71

5 years ago

1.0.3-43

6 years ago

1.0.3-42

6 years ago

1.0.3-41

6 years ago

1.0.3-40

6 years ago

1.0.3-39

6 years ago

1.0.3-38

6 years ago

1.0.3-37

6 years ago

1.0.3-36

6 years ago

1.0.3-35

6 years ago

1.0.3-34

6 years ago

1.0.3-33

6 years ago