- Print
- DarkLight
To use Autify Connect to run tests on your private environment, you will need to do the following:
- Create a Scenario against your private application
- Configure Autify Connect from the Workspace Settings page
- Install Autify Connect Client to your system
- Configure your Test Plan
- Run the Test Plan
Let's look at each step in detail.
1. Create a Scenario against your private application
Create a scenario for the private application you wish to test. This can be done using Autify Recorder, just as you would to create a scenario for a public application.
2. Configure Autify Connect from the Workspace Settings page
Create an Access Point
Navigate to your Workspace Settings page and find the Autify Connect section
Click the "Add" button and input a name for the Access Point. An Access Point is an identifier that is associated with a unique key that will be used by your Autify Connect Client.
Click the "Create" button. An Access Point Key will be displayed. Please keep it in a secure place, as this will be required when you set up Autify Connect Client in a later step.
3. Install Autify Connect Client on your system
Download Autify Connect Client
Stand-alone binaries
Download Autify Connect Client for the platform you’ll be using, and follow the instruction provided for each OS.
OS | Archictecture | Package type | Download Link |
---|---|---|---|
Linux | i386 32 bit | tar.gz | stable |
Linux | x86-64 64 bit | tar.gz | stable |
Linux | Arm 32 bit | tar.gz | stable |
Linux | Arm 64 bit | tar.gz | stable |
macOS | x86-64 64 bit | tar.gz | stable |
macOS | Arm 64 bit | tar.gz | stable |
Windows | i386 32 bit | zip | stable |
Windows | x86-64 64 bit | zip | stable |
Windows | Arm 32 bit | zip | stable |
Windows | Arm 64 bit | zip | stable |
Docker Image
We also have Docker image in the ECR Public Gallery on AWS. If using Docker images is more suitable for your operation, please give it a try:
https://gallery.ecr.aws/autifyhq/autifyconnect
How to use Docker Image
- Use "--key" option
docker run --platform=linux/amd64 public.ecr.aws/autifyhq/autifyconnect:latest --key=[Access Point Key ]
- Set environment variable(AUTIFY_CONNECT_KEY)
docker run --platform=linux/amd64 --env AUTIFY_CONNECT_KEY public.ecr.aws/autifyhq/autifyconnect:latest
The provided Docker images do not support Windows container mode. Switch to Linux container mode before launching.
Install Autify Connect Client
Linux / macOS
Unzip the file you downloaded.
Run the following command to see if it shows the help dialog. If it didn’t work you may have downloaded the app for a different environment.
./autifyconnect -h
Replace xxxxxx with the key of an access point and run the command. Your Autify Connect Client will establish a connection to Autify Connect Server so that it's ready to run tests.
./autifyconnect --key xxxxxx
Keys can be also stored in an environment variable: AUTIFY_CONNECT_KEY
Windows
Unzip the file you downloaded.If you see warning message during the download please ignore it and continue to download.For Chrome, click the allow icon right side of Discard button, then you will see the “Keep” option.
Launch cmd, powershell or windows terminal(store app) and execute the following command to see the option commands. Before executing, it is necessary to move to the location of the executable file (autifyconnect) or set the path to the executable file, as appropriate.
autifyconnect -h
Note: when executing the client app, Windows Defender may show a protection notification or block the execution.
In that case, you need to add the Connect Client to the exclusion list
Replace xxxxxx with the key of an access point and run the command. Your Autify Connect Client will establish a connection to Autify Connect Server so that it's ready to run tests.
autifyconnect --key xxxxxx
4. Configure your Test Plan
Go to the test plan details page and click the ”Edit” button next to “Test scenarios”
You can find a field to configure an access point on the right side of the page. Select the access point you created.
Add the scenarios you created for private applications to the test plan.
5. Run the Test Plan
Launch Autify Connect Client on your system. Make sure that the connection with Autify Connect Server is successfully established.
Run the test plan from Test Plan page.
When a request is made from Autify Connect Server to the application through Autify Connect Client, details are output to the log if the client has been launched with -V option.
Once the test is complete, review the result. Note that your Access Point used for the test is displayed under "Autify Connect".
Tests using Autify Connect can be performed in the following ways by API:
- Execute a Test Plan with a specified Access Point from
/schedule
endpoint - Execute Scenarios from
/execute_scenarios
endpoint with the name of your Access Point
In addition, Autify CLI also supports Autify Connect.
See the following documents for details: