testplan.exporters.testing.http package
Module contents
HTTP exporter for uploading test reports via HTTP transmission. The web server must be able to handle POST request and receive data in JSON format.
- class testplan.exporters.testing.http.HTTPExporter(name: str = 'HTTP exporter', **options)[source]
Bases:
BaseExporterHTTP exporter.
- Parameters:
http_url (
str) – Http url for posting data.timeout (
int) – Connection timeout.
Inherits all
Exporteroptions.- CONFIG
alias of
HTTPExporterConfig
- export(source: TestReport, export_context: ExportContext | None = None) Dict | None[source]
Uploads report to remote HTTP server.
- Param:
source: Testplan report to export
- Param:
export_context: information about other exporters
- Returns:
dictionary containing the possible output
- class testplan.exporters.testing.http.HTTPExporterConfig(**options)[source]
Bases:
ExporterConfigConfiguration object for
HTTPExporterobject.