Logo
2023.9.19

Integration with Third-Party Tools

Abstract

Integration

To implement missing or alternative functionality, GeekLoad provides the ability to work together with various third-party tools.
For all cases of integration, it works within the rules of the relevant software regarding the installation of plugins, etc.
The most important topics to get started with plugins are Project and Reporting. Read them first.

InfoSince this plugins launches a dedicated docker container with a compatible copy of GeekLoad during its operation, you will need docker installed.

VS Code plugin

VSCode

To debug GeekLoad projects and manually investigate performance issues, you can use a plugin for VS Code.

This plugin allows you to edit *.gl-js files with GeekLoad scripts using syntax highlighting and intellisense.

Usage

FeatureOpen or create a file with the extension .gl-js in VS Code. Change if necessary.FeatureExecute the Run GeekLoad script (F5) commandFeatureStudy the test summary.

Gradle plugin

Gradle

A Gradle plugin is designed to solve the problem of automatically checking services during the build process.
GeekLoad uses all compatible projects (*.gl-js) in the src/test subfolder of your project as tests.

Usage

First of all, you need to prepare one or more GeekLoad projects and save them in src/test subfolder of your project.

Next, to prepare your gradle project, add this dependency to build.gradle:

Loading...

After loading, the plugin will add the geek-load task to the test group. Use this task separately or as a dependency for the target task of a complete project build to test your application or service.

How does it work?

FeatureAll found GeekLoad projects will be executed sequentially.FeatureAfter completing each of them, a summary report will be displayed in the console.FeatureIf any of the test ends with an error, the build will also be treated as a failed one.InfoBe careful with heavy loads so as not to overload the build environment.

TestKube executor

TestKube

A TestKube executor provides yet another way of load testing in the TestKube infrastructure.

Set up of executor

To create tests based on GeekLoad, you need to create a custom executor using the following values:

Name
Type
Container image
Command
:
:
:
:
geekload
geekload/project
geekload/geekload-bundle:latest
java -Xmx8g -jar application.jar -run=/data/test-content -bundleStart -was

Create of test

After creating the executor, you can add any number of load tests by specifying the following parameters:

Type
Source
String
:
:
:
geekload/project
String
[Script of your load project]

© House of Geeks 2024
Telegram