Hierarchy of the test definition
Conceptual overview
APIJockey TEST knows these basic elements for the test definition:
- Repository
Repositories are the basic building block of APIJockey TEST.
All test definitions are contained in a repository. You can have several repositories.
Repositories are intended to support several container types, although it currently supports local SQLLite (technically CoreData) databases, only. They help you group your tests and support persisted test executions (not in the Community Edition).
- Testset
Testing includes several tasks, such as:
- Regressions testing
- Test new functionality
- exploration testing
- persisted test run executions
Testsets will also help you to organize large sets of Testcases.
Find help to manage your testsets in Testset list view
- Testcase
- A Testcase defines the teststeps, the assertions and validations to test a functionality.
- A Testcase can include several endpoints
- A Testcase can you randomized data and capture data from its test steps
- A Testcase has run successfully, if all Teststeps have run successfully.
Find help to manage your test cases in Testcase list view
- Teststep
A Teststep is a concrete step in you Testcase run. You run a SOAPTeststep or HTTPTeststep to send a request and receive a response.
You may assert this response. You may tranfer response information to a variable which in turn is a prerequisite of subsequent teststeps.
- Variable
A variable holds a persisted value either manually edited by the user or transferred by a a datatransferteststep.
Each of the above elements can hold a set of variables.
- VariableValueTransfer
A variable can hold any value and different types. While it makes sense to store static data in a variable and reference this value in various test steps, VariableValueTransfer go a step further.
They allow you to update variables from data captured with XQuery, XPath or JSONPath or data generated from randomizing test steps.
Sample arrangement of test steps
The following sample demonstrate two SOAP Teststeps, together with a Datatransferteststep and a Randomizeteststep.
- The Datatransferteststep would read data from SOAP Teststep 1 and store the derived value to a variable
- The Randomize Teststep would create random values and store the derived value to another variable.
- SOAP Teststep 2 would access the two variable values