Getting Started
IDE & Navigation
Properties & Tools
Web Service / API is provided to control model execution and retrieve model execution stats/details after the execution from external systems.
This websvc will execute model remotely and returns the execution stats after the model execution is completed.
You will see the model execution and when it's completed, it will return a JSON document that contains the execution status like this
You can run the model in ascync mode by setting parameter async=true
. This will return a JSON string containing the MBT Session ID
, which can then be used to check model execution status or retrieve execution stats.
Parameters include:
Use RESTful web service to integrated with and manage TestOptimal from your requirements and bug tracking systems.
To retrieve a list of models and their latest ExecID and execution date: http://localhost:8888/MbtSvr/app=websvc&action=statSvc&cmd=modelList
To open a model to retrieve model information: http://localhost:8888/MbtSvr/app=websvc&action=statSvc&cmd=openModel&model=Demo_TestGenToFile
To retrieve a list of model executions for the specified model. If model parameter is not specified, return the model executions for the model currently open: http://localhost:8888/MbtSvr/app=websvc&action=statSvc&cmd=modelExecList&model=Demo_TestGenToFile
To retrieve details of a specific model execution:
To retrieve a list of batch executions of models: http://localhost:8888/MbtSvr/app=websvc&action=statSvc&cmd=batchList
Batch Execution Details: http://localhost:8888/MbtSvr/app=websvc&action=statSvc&cmd=batchExec&batchID=22