class documentation

class HttpUpperTester:

View In Hierarchy

Plugin class to add the Upper Tester functionality to the HTTP server.

See TS-0019 for details about the Upper Tester specification.

The upper tester endpoint is registered at "__ut__".

Method configure Configure the plugin based on the configuration settings.
Method handleUpperTester Handle a Upper Tester request. See TS-0019 for details.
Method startUpperTester Start the upper tester plugin.
Class Variable httpServer The HttpServer plugin instance is injected by the PluginManager based on the declared dependency. The plugin will only be loaded if the HttpServer plugin is loaded.
Class Variable requestManager Injected RequestManager instance.
Class Variable script InjectedScriptManager instance.
def configure(self, config: Configuration):

Configure the plugin based on the configuration settings.

Parameters
config:ConfigurationThe configuration object.
def handleUpperTester(self, path: str | None = None) -> Response:

Handle a Upper Tester request. See TS-0019 for details.

Parameters
path:str | NoneThe path of the request.
Returns
ResponseA response object.
def startUpperTester(self):

Start the upper tester plugin.

httpServer: HttpServer =

The HttpServer plugin instance is injected by the PluginManager based on the declared dependency. The plugin will only be loaded if the HttpServer plugin is loaded.

requestManager: RequestManager =

Injected RequestManager instance.

InjectedScriptManager instance.