Skip to main content

CLI Tool to Export XML-Full-Reports from TestBench

Project description

testbench-cli-reporter

Supported Actions

  • Export XML Report from TestBench project
  • Import test execution results into TestBench project
  • Export actions: Create a JSON file which can be used in automatic mode to repeat your previous actions automatically
  • Change connection: Change TestBench server and/or user

Installation

Python 3.6 is required!

pip install --pre testbench-cli-reporter

Manual mode

Just execute in Command Line testbench-cli-reporter or TestBenchCliReporter

Automatic mode

Run in automatic mode: testbench-cli-reporter --configfile /path/to/config/file.json

Config file structure

{
    "configuration": [
        {
            "server_url": "https://testbench:1234/api/1/",
            "loginname": "User A",
            "password": "passwordA",
            "actions": [
                {
                    "type": "ExportXMLReport",
                    "parameters": {
                        "cycleKey": "12345678",
                        "reportRootUID": "ITBEXP-TT-1234",
                        "filters": [],
                        "outputPath": "C:\\Users\\testuser\\Dokumente\\test_report1.zip"
                    }
                },
                {
                    "type": "ExportXMLReport",
                    "parameters": {
                        "cycleKey": "98765432",
                        "reportRootUID": "ITBEXP-TT-4321",
                        "filters": [],
                        "outputPath": "C:\\Users\\testuser\\Dokumente\\test_report2.zip"
                    }
                }
            ]
        },
        {
            "server_url": "https://testbench:9999/api/1/",
            "loginname": "User B",
            "password": "passwordB",
            "actions": [
                {
                    "type": "ExportXMLReport",
                    "parameters": {
                        "cycleKey": "12344321",
                        "reportRootUID": "ITBEXP-TT-1221",
                        "filters": [],
                        "outputPath": "C:\\Users\\testuser\\Dokumente\\test_report3.zip"
                    }
                }
            ]
        }
    ]
}

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

testbench-cli-reporter-1.0rc5.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

testbench_cli_reporter-1.0rc5-py3-none-any.whl (22.3 kB view details)

Uploaded Python 3

File details

Details for the file testbench-cli-reporter-1.0rc5.tar.gz.

File metadata

  • Download URL: testbench-cli-reporter-1.0rc5.tar.gz
  • Upload date:
  • Size: 18.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for testbench-cli-reporter-1.0rc5.tar.gz
Algorithm Hash digest
SHA256 c8e57eaeaded33fe0a541f92b016f81fd02f29f4b4513fb8a0ad5e00739dbd86
MD5 d1fc405b2a7f5bc99c9ee8f3926cddd3
BLAKE2b-256 3027825e46158b14d4469c7fa1b12a1a44cb428c5888c4395c02a0b52c716b8a

See more details on using hashes here.

File details

Details for the file testbench_cli_reporter-1.0rc5-py3-none-any.whl.

File metadata

  • Download URL: testbench_cli_reporter-1.0rc5-py3-none-any.whl
  • Upload date:
  • Size: 22.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for testbench_cli_reporter-1.0rc5-py3-none-any.whl
Algorithm Hash digest
SHA256 a7f1b24c918dacf07d5552aa871cbcc56d52f5bc404a7f3a2bc8d6d43d5850a2
MD5 0c92b19f9ec0090baf6b85bc4290d948
BLAKE2b-256 0f64675a1711aed3c384d493c62c78e75aec7c9d75c0fceb159dc2497941a9a4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page