Skip to content

Interactive mode broken #267

@dobragab

Description

@dobragab

This example runs fine with python test_plan.py -v but it fails in interactive mode (after adding it in testplan decorator, as it didn't work with command line) with the following HTTP error:

Error response

Error code 501.
Message: Unsupported method ('GET').
Error code explanation: 501 = Server does not support this operation.

Logs:

WARNING: Command line argument for "file_log_level" will be overridden by the one programmatically defined in Testplan[972fd3a3-afd9-404d-840b-eee838cd1627] constructor
WARNING: Command line argument for "shuffle_seed" will be overridden by the one programmatically defined in Testplan[972fd3a3-afd9-404d-840b-eee838cd1627] constructor
WARNING: Command line argument for "interactive" will be overridden by the one programmatically defined in Testplan[972fd3a3-afd9-404d-840b-eee838cd1627] constructor
Starting TestRunner[Multiply] in interactive mode
Starting TestRunnerIHandler for TestRunner[Multiply]
TestRunnerHTTPHandler listening on: 127.0.0.1:58274
127.0.0.1 - - [03/Sep/2019 13:31:48] code 501, message Unsupported method ('GET')
127.0.0.1 - - [03/Sep/2019 13:31:48] "GET / HTTP/1.1" 501 -
127.0.0.1 - - [03/Sep/2019 13:31:48] code 501, message Unsupported method ('GET')
127.0.0.1 - - [03/Sep/2019 13:31:48] "GET /favicon.ico HTTP/1.1" 501 -

The same happens for other examples, even interactive.Basic example.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions