I have installed OpenTest and want to start a new session.
How do I do this?
I tried searching for this on Google but only found a PR talking about using the API.
There are three ways to start a test session:
Session
/ Create Test Session...
menu option, then select the tests you want to run, fill in other test session properties, as needed, and click the Create Session
button.Session
/ Create Session From Template...
template
property of the JSON payload. Mode details here.Example API call:
POST http://localhost:3000/api/session
{
"environment": "prod",
"sessionLabel": "Run smoke tests",
"tests": [
{
"path": ".",
"name": "Smoke test 1"
},
{
"path": ".",
"name": "Web test 2"
}
]
}