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/19 00:43] – 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/ | ||
| - | Please refer to [[http_stats_service | Stats Services]] for details. | ||
| - | |||
| - | ==== Execute Model ==== | ||
| - | The RESTful web service (url) call is just a simple http request which you can run from any browser or application, | ||
| - | |||
| - | | ||
| - | |||
| - | 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==== | ||
| - | There is also a websvc to retrieve the model execution stats which has been saved, see example url call below: | ||
| - | |||
| - | | ||
| - | |||
| - | The above websvc returns the model execution stats in JSON like [[REST Exec Response | this]]. | ||
| - | |||
| - | For other REST services, please refer to [[http_stats_service|Stats Web Services (http)]] | ||