What's on this page

Behaviour Testing

Error Responses

All the API calls described in this section will return the following information in the Response Body when an error is encountered (e.g. for a 404, 403, 500 Response Code): Response Body content type: application/json { "details": {}, "localizedMessage": "string", "url": "string" } Response properties Property Name Description Mandatory details Any additional information related to the error that may be useful during debugging Yes localizedMessage The most user-friendly description of the error that has occurred Yes url the URL of the root cause of the problem or null if unknown No »

Assembly Configuration

Get all Configurations Returns a list of all the existing Behaviour Test configurations within a single Behaviour Test Project. Request Format Aspect Value Endpoint URL /api/behaviour/assemblyConfigurations/{projectId} HTTP Method GET Request parameters Parameter Name Description Mandatory id Unique identifier for the Behaviour Test Project. This can be any text string. Yes Response Format Aspect Value Response Code 200 – OK 404 – Requested Behaviour Test Project not found Example Response Body For a 200 Response Code: »

Projects

Get all Projects Return the details of all the existing behavior Test Projects currently known to LM. Request Format Aspect Value Endpoint URL /api/behaviour/projects HTTP Method GET No Parameters supported or required. Response Format Aspect Value Response Code 200 – OK Example Response Body [ { ​ "id": "8e266bc5-e613-4b0d-9ae0-50db6454b026", ​ "name": "test", ​ "description": "description", ​ "createdAt": "2019-02-28T14:55:15. »

Scenarios

A Test Scenario is the main unit of behavior Testing within LM. Each Scenario is comprised of a sequence of configured test steps that will operate on a specific Test Assembly that has been configured to meet the specific needs of the test. Get all Scenarios Return the details of all the existing behavior Test Scenarios currently known to LM. Request Format Aspect Value Endpoint URL /api/behaviour/scenarios HTTP Method GET No Parameters supported or required. »

Executions

When a Test Scenario is run it creates a Test Execution. This is a record of the outcome of the Test Scenario run and how long it took to execute. Get all Executions Produce a list of all the Test Executions of a Project or a Scenario recorded by LM. Request Format Aspect Value Endpoint URL /api/behaviour/executions HTTP Method GET Request Query parameters »