-
Notifications
You must be signed in to change notification settings - Fork 111
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* docs(installation): update installation page * docs(installation): update installation page * docs(tests): fix debug and built-in functions documentary * docs(tests): added faq page * docs(): code review comments
- Loading branch information
Showing
4 changed files
with
83 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
# Frequently Asked Questions | ||
|
||
## Installation | ||
|
||
### <b>Predator is running, how do I access the UI?</b> | ||
|
||
The UI is accessible at http://$MACHINE_IP/ui where `$MACHINE_IP` is your local network address you used to install Predator. | ||
|
||
## Tests | ||
|
||
### <b>I run a test successfully but no report is created for the test</b> | ||
|
||
The Predator-Runner docker that is reporting the test results back to Predator isn't able to connect to it, | ||
which is why the test runs but no report is generated. When installing Predator in Docker, the following command is used: | ||
``` | ||
docker run -d -e JOB_PLATFORM=DOCKER -e INTERNAL_ADDRESS=http://$MACHINE_IP:80/v1 \ | ||
-p 80:80 --name predator -v /var/run/docker.sock:/var/run/docker.sock zooz/predator | ||
``` | ||
|
||
The `INTERNAL_ADDRESS=http://$MACHINE_IP:80/v1` is what the Predator-Runner uses to communicate with Predator, | ||
and `$MACHINE_IP` needs to be your local network address (an IP address). You can get it by running the command: | ||
``` | ||
ifconfig en0 | grep 'inet ' | cut -d' ' -f2 | ||
``` | ||
|
||
For more information regarding correct installation of Predator using Docker visit the [Installation](installation.md#docker) section. | ||
|
||
It is important to note this is an issue and solution only in Docker installations. | ||
In Kubernetes and DC/OS installations the `INTERNAL_ADDRESS` is built in. | ||
|
||
### <b>What is the http engine Predator uses to run the load?</b> | ||
|
||
Predator uses [Artillery](https://github.com/artilleryio/artillery) as its HTTP load engine. | ||
Therefore, all `basic` type tests are written in Artillery syntax and all of the features Artillery supports, Predator supports. | ||
|
||
To read more about Artillery and its features visit their well written documentary: | ||
- [Artillery Documentation](https://artillery.io/docs/) | ||
- [Artillery Basic Concepts Documentation](https://artillery.io/docs/basic-concepts/) | ||
- [Artillery Test Structure Documentation](https://artillery.io/docs/script-reference/) | ||
- [Artillery HTTP Engine Documentation](https://artillery.io/docs/http-reference/) | ||
|
||
## Configuration | ||
|
||
### <b>I ran Predator with SQLITE and would like to migrate now to a different database. How do I do this?</b> | ||
|
||
Migration between different databases is not possible. | ||
In order to run Predator with a different supported database, | ||
you must restart Predator with the new configuration. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters