Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| execution_stats_service [2017/12/26 19:37] – [Execute Model Service] admin | execution_stats_service [2020/05/10 03:24] (current) – removed admin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Web Service / API ===== | ||
| - | Web Service / API is provided to control model execution and retrieve model execution stats/ | ||
| - | |||
| - | |||
| - | ---- | ||
| - | ==== Execute Model Service ==== | ||
| - | This websvc will execute model remotely and returns the execution stats after the model execution is completed. | ||
| - | |||
| - | === Execute Command === | ||
| - | |||
| - | http:// | ||
| - | |||
| - | You will see the model execution and when it's completed, it will return a JSON document that contains the execution status like [[REST Exec Response | this]] | ||
| - | |||
| - | You can run the model in ascync mode by setting parameter '' | ||
| - | |||
| - | === Execution Parameters === | ||
| - | |||
| - | Parameters include: | ||
| - | * //mbtFile// or //model//- name of the model | ||
| - | * //async// - true or false, to run model asynchronously (without waiting for the model to finish executing). Default is false. | ||
| - | * // | ||
| - | * //mbtMode// - sequencer to be used: | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * Stop Condition Settings: | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * // | ||
| - | * //Shared// - multiple threads working to finish the same sequence, use this to achieve model coverage quickly | ||
| - | * // | ||
| - | * //thread// - number of threads, default 1 | ||
| - | * //browser// - name of the browser to execute the model for web app testing: | ||
| - | * //ie// - Internet Explorer | ||
| - | * //firefox// - Firefox | ||
| - | * //Chrome// - Google Chrome | ||
| - | * //Safari// - Safari | ||
| - | * //HtmUnit// - simulated browser (no graphical rendering, thus faster) | ||
| - | * //Opera// - Opera | ||
| - | * //plugin// - plugin ID(s), separate plugin ids with ",": | ||
| - | * //DATAGEN// - DataGen: Utility to generate test data using patterns | ||
| - | * //ALM// - ALM: Integration with requirements and defect tracking systems | ||
| - | * //BA// - Business Analysis: Build and Animate Prototype from Models | ||
| - | * // | ||
| - | * //WINUIA// - WinUIA: Test Windows UI applications | ||
| - | * //SERVICE// - Service: Test database, interfaces and web services | ||
| - | * // | ||
| - | * // | ||
| - | * //LOAD// - Load - Perform load testing & model orchestration | ||
| - | * // | ||
| - | * //seed// - random number generator seed, default 123 | ||
| - | * //initVar// - initialize user variables at the beginning of the model execution | ||
| - | * // | ||
| - | * //appURI// - App URI | ||
| - | * // | ||
| - | * //mcase// - name of mCase | ||
| - | * // | ||
| - | |||
| - | Use RESTful web service to integrated with and manage // | ||
| - | |||
| - | ---- | ||
| - | ==== Retrieve Execution Stats==== | ||
| - | |||
| - | === List Models === | ||
| - | To retrieve a list of models and their latest //ExecID// and execution date: | ||
| - | [[ batch details | http:// | ||
| - | |||
| - | === Open Model === | ||
| - | To open a model to retrieve model information: | ||
| - | [[model info | http:// | ||
| - | |||
| - | |||
| - | === Model Executions === | ||
| - | |||
| - | To retrieve a list of model executions for the specified model. | ||
| - | [[model exec list | http:// | ||
| - | |||
| - | |||
| - | To retrieve details of a specific model execution: | ||
| - | |||
| - | * By //execID// - [[model exec stats | http:// | ||
| - | |||
| - | * By // | ||
| - | |||
| - | === Batch Executions === | ||
| - | |||
| - | To retrieve a list of batch executions of models: | ||
| - | [[ batch exec list | http:// | ||
| - | |||
| - | |||
| - | Batch Execution Details: | ||
| - | [[ batch execution | http:// | ||
| - | |||
| - | |||