Quick start
This page takes you from download to a scheduled script on your own machine.
You need Docker, or Java for the standalone jars (./run.sh true downloads a JRE for you). Reflex releases are private: get an account from BQA (access). On Reflex hosted by BQA, sign in to your server and start at step 3.
-
Download and start Reflex.
Download
reflex.zipfrom the releases page, unpack it and start the server and an agent:Terminal window chmod +x run.sh && ./run.shTerminal window echo "$TOKEN" | docker login git.bqa-solutions.nl -u token --password-stdindocker compose up -d -
Sign in.
Open http://localhost:7000 and sign in as
adminwith passwordadmin. -
Create a project and add the agent.
Create a project with New project. Open Agents, choose Add agent, then URL and key:
- URL:
http://localhost:7001. With Docker Compose usehttp://agent:7001. The server must be able to reach this address. - Key:
dev.
The agent should show as online. To run an agent on another machine without opening a port, use a pair code instead: see Agents.
- URL:
-
Write and run a script.
Save this as
hello.luain the project: commit it to the project’s git repository, or put it in the project folder on the server (projects/<user>/<project>/). Open Code, select the file and press Run:local response = Rest.get("https://httpbin.org/json")print("status", response.status)print("title", Json.decode(response.body).slideshow.title)Steps and output stream in live. If a run fails, see Debugging.
-
Schedule it.
Open Jobs, choose New job, pick
hello.luaand enter a cron expression.0 */15 * ? * *runs every 15 minutes. Check the result under Runs.
- Write scripts with steps and retries, or test a web app with browser testing.
- Group scripts into a suite with a score: Schedule jobs and suites.
- Work from your terminal: CLI.
- Something does not work: Troubleshooting.