Skip to main content

Xray Uploader

usage

  • import as a module:
from xray import Uploader

result_file = "res.xml"
summary = "automation test"
project_id = "12345"
result_format = "junit"

upl = Uploader({client_id}, {client_secret})
upl.import_execution(result_file, summary, project_id, result_format)
  • execute as a command
usage: xray-uploader [-h] -r RESULT -f FORMAT -pi PROJECTID -s SUMMARY [-ci CLIENTID] [-cs CLIENTSECRET] [-tp TESTPLAN] [-se] [-cr]

Upload test results to Xray.

options:
  -h, --help            show this help message and exit
  -r RESULT, --result RESULT
                        A result file with absolute path.
  -f FORMAT, --format FORMAT
                        Format of the result file. Valid formats are testng, junit, json
  -pi PROJECTID, --projectId PROJECTID
                        ID of the project where the test execution is going to be created.
  -s SUMMARY, --summary SUMMARY
                        Summary of the test execution.
  -ci CLIENTID, --clientId CLIENTID
                        Client ID to authorize if it is specified, otherwise will read from env CLIENT_ID.
  -cs CLIENTSECRET, --clientSecret CLIENTSECRET
                        Client secret to authorize if it is specified, otherwise will read from env CLIENT_SECRET.
  -tp TESTPLAN, --testPlan TESTPLAN
                        The tests will be added automatically to the test plan if it is specified.
  -se, --setEnv         Set azure pipeline environment "XRAY_EXECUTION_ID" with xray key.
  -cr, --checkResult    Check xray format of the result file.

Metadata

Release files for xray-uploader 2.8.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xray-uploader 2.8.1
File Size Uploaded Provenance Actions
xray_uploader-2.8.1.tar.gz 5.3 kB Without provenance Details for xray_uploader-2.8.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for xray-uploader 2.8.1
File Interpreter ABI Platform Actions
xray_uploader-2.8.1-py3-none-any.whl Python 3 none any Details for xray_uploader-2.8.1-py3-none-any.whl

Total release size: 11.6 kB

Release files / xray_uploader-2.8.1.tar.gz

Download URL xray_uploader-2.8.1.tar.gz
Size 5.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3c31b561097f114a9420498acf3a7c53b2686414dfd676ccea546f172fd5f433
BLAKE2b-256 checksum
How to use checksums
71822c3539394ab47803541414bbf0b1637fc648e180cf1857693ea1b91ea3a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.8

Release files / xray_uploader-2.8.1-py3-none-any.whl

Download URL xray_uploader-2.8.1-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
23687fa36653ae71ffe50d95f719385fafb512b26ceb022b85203d3340050f1f
BLAKE2b-256 checksum
How to use checksums
d62a129f4157f5f44c6a8d9a9eb18f8071341c68810e063b83e93446f3c62750
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.10.8

Security for xray-uploader 2.8.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.8.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page