Generate API Tests and Export

Generate associated API Fortress data scenarios for your model.

Generate Coverage Focused Tests

Test cases are equivalent to paths through the model of a system under test. They are generated automatically from a model, with or without test data and test automation associated with them. Coverage techniques are also available to generate the smallest set of test cases needed to test given features with a required level of rigour.

  1. To generate test cases, navigate to the Generate tab of the menu and click "Generate" 

2. will provide status updates as the tests are generated. 

3. To browse the generated tests, click "Tests" in the Generate tab of the menu. This will open the Test Cases side bar, displaying any created tests.

4. Clicking on a test will highlight the path through a model's logic which that test reflects.

Test Coverage

The tests generated by are the optimal set of tests to maximise coverage across the model. You can learn more about test coverage and how to edit coverage settings within at our knowledge base here.

Export API Fortress Tests

Once you have created a model with overlaid API fortress functions, and a test suite containing associated paths, you are ready to create data scenarios for API Fortress to consume.

  1. Click the execute button in the test path side bar. 

2. Select the automation server you have configured.

3. Select the job 'API Fortress Generate' from the dialogue window and specify the API Fortress connector to utilise for exporting.

4. Once the job is complete and successful, you can navigate back to your tests and see the expanded data sets available and ready for execution.