Client E2E
Environment Setup
Before running, ensure that StreamPipe is operational and the corresponding configuration is input into the start-streampipes-client-e2e.sh
script. Note: This script must be executed from within the tool directory.
./start-streampipes-client-e2e.sh -h 127.0.0.1 -p 8030 -u admin@streampipes.apache.org -pw admin -t go-client-e2e.sh
Usage Instructions
Parameter | Default | Required | Description |
---|
-h | 127.0.0.1 | No | Host address |
-p | 8030 | No | Backend port |
-u | admin@streampipes.apache.org | No | User |
-pw | admin | No | Password |
-t | "" | Yes | Name of the client's E2E test startup script (the script must be located in the tool directory) |
How to add E2E in a new language
- If you need to define an E2E test in a new language, you need to download the element you need to use in
install-element.sh
. - To accommodate different languages, you need to write an E2E startup script. You can refer to
go-client-e2e.sh
. The startup script will receive four parameters, so it can easily obtain the information needed to run the Client.
Parameter | Description |
---|
-h | Host |
-p | Backend port |
-u | User |
-k | API Key |