What is Publishing?
APIGit supports publishing a API Testing from a specific SHA, which means taking that commit as a snapshot to organize a group of test cases, which you can then schedule testing:
- test case files are organized under folder
/apigit-test
. Each file organize a group of test actions, which represents a testing. All the execution of the testing will be done in a cloud sandbox. - you run the testing immediately or schedule the testing to run automaticlly.
- you can select where the global GEO location to run the test and provide environment varibles.
You can create multiple publishes, while each publish will deploy a sepeate API Testing in the cloud, each pointing to a different SHA (snapshot).
Where to Publish
Publish from a Branch Head
Navigate to the API repository and switch to the branch you want to publish. Click the “Publish” button in the middle of the panel and select “Publish API Testing”:
Once you click the “Publish API Testing” button from the dropdown list, it will launch a dialog allowing you to publish a API Testingfrom the head of the branch:
In the publish dialog, you can specify:
- Name of the API Testing
- Description of this API Testing
Publish from a Specific Commit
Instead of publishing from the head of a branch, you can also navigate to the commits list and publish directly from a specific commit:
Publish while editing
In editing mode, you can also publish a API Testingwhitout exit editing mode by click “Publish” button and choose a commit to publish:
View Published API Testings
View All API Testing publishes of a Specific API Repository
Navigate to the API Repository’s publish center page to view all publishes of this API Repository:
View All API Testing publishes Across All Repositories
To view all publishes across all repositories, click the global “Publish Center” button in the top navigation: