
Research
/Security News
Weaponizing Discord for Command and Control Across npm, PyPI, and RubyGems.org
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
@testlio/cli
Advanced tools
Command-line interface to interact with Testlio platform
npm install -g @testlio/cli
This command allows automated test runs to be scheduled.
Usage: testlio create-run
Options:
--projectConfig [path] path to project config (default: project-config.json)
--testConfig [path] path to test config (default: test-config.json)
--pollResults enables polling for run results
--dryRun omit the actual run creation (used for testing)
Set env variable RUN_API_TOKEN
. While running the command, this env variable is necessary in order to create and schedule automated-tests.
Add to your project file project-config.json
. Project config file contains the static configuration related to the project which will not change for a workspace:
{
"baseURI": "URI to api server (e.g https://api.testlio.net)",
"platformURI": "URI to platform (e.g https://app.testlio.net/tmt/project/)",
"projectId": "project id, this can be found while generating token (e.g 5313)",
"automatedRunCollectionGuid": "this can be found while generating token (e.g cb0282d4-c594-496a-a474-29eeef926c79)",
"testRunCollectionGuid": "this can be found while generating token (e.g 69ad9833-a976-4dd4-b262-c6e0287f40a9)",
"workspaceName": "this can be found while generating token (e.g strawberries-ios)"
}
Add to your project file test-config.json
. Test config file contains the configurations that the customer will configure in order to create and trigger automated tests:
{
"automatedTestNamePrefix": "Prefix you want to append with the automated test (e.g Circle CI:)",
"config": {
"deviceAppType": "Type of test you want to schedule (e.g WEB)",
"deviceTestType": "Test Programming language you want to select (e.g SELENIUM_NODE)",
"type": "Test type (e.g BROWSER)",
"executionConfiguration": {
"videoCapture": true
}
},
"devices": {
"guids": [
"Device guids list (e.g 615295a9-52fb-4781-9c53-480ec292b4eb)",
"(e.g c4ab6b8a-c107-4654-a9d3-0f49fdc1cecf)"
],
"oses": [
"Devices OS list (e.g 14.6)",
"(e.g 9)"
],
"manufacturers": [
"Devices manufacturers list (e.g Apple)",
"(e.g Samsung)"
],
"names": [
"Devices names list (e.g Apple iPhone X)",
"(e.g Samsung Galaxy A7)"
],
"formFactors": [
"Device form factors, acceptable values are:",
"DEVICE",
"TABLET"
]
},
"browsers": {
"guids": [
"Browser guids list (e.g 615295a9-52fb-4781-9c53-480ec292b4eb)",
"(e.g c4ab6b8a-c107-4654-a9d3-0f49fdc1cecf)"
],
"browserNames": [
"Browsers names list, acceptable values are:",
"chrome",
"firefox",
"MicrosoftEdge"
],
"platformNames": [
"OS platforms names list, acceptable values are:",
"windows"
],
"versions": [
"Browser versions list, acceptable values are:",
"latest",
"latest-1",
"latest-2"
]
},
"select": "A number of devices or browsers to be used (e.g. 2)",
"testPackageURI": "Path to the test package itself (e.g ./test_package.zip)",
"buildURI": "Path to the build (e.g ./android_build.apk)"
}
FAQs
Official Testlio platform command-line interface
The npm package @testlio/cli receives a total of 309 weekly downloads. As such, @testlio/cli popularity was classified as not popular.
We found that @testlio/cli demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 29 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Research
/Security News
Socket researchers uncover how threat actors weaponize Discord across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.
Security News
Socket now integrates with Bun 1.3’s Security Scanner API to block risky packages at install time and enforce your organization’s policies in local dev and CI.
Research
The Socket Threat Research Team is tracking weekly intrusions into the npm registry that follow a repeatable adversarial playbook used by North Korean state-sponsored actors.