Hey there!
Happy New Year, and welcome to the 7th edition of What’s New in Testfully post! 2023 was a great year for us at Testfully, we launched a bunch of new features, worked with some amazing customers, and are excited to continue building the best API testing platform in 2024. While the world slowed down a bit in December, we were busy working on a few new features and improvements to help you be more productive at work.
In December, we introduced a brand-new Testfully CLI, added support for XML and SOAP API endpoints, the ability to import OpenAPI Spec 3.0 and 3.1, BDD-Style Testing with Testfully, working with folder variables via Testfully Scripts, and a few other improvements which we’re excited to share with you so let’s get started.
Testfully CLI
We’re excited to announce that we have released a brand-new Testfully CLI, compatible with both Testfully Cloud and Testfully Offline workspaces. It’s a privacy-first, robust, and cloud-free CLI that allows you to run your tests from your local machine, or your CI/CD pipeline. Running your tests is as simple as exporting your data, and passing the files to testfully run
command as argument. The CLI is available for Windows, macOS, and Linux, and can be installed via npm
.
To learn more about Testfully CLI, check out our documentation.
BDD-style Testing with Testfully
Two new APIs, and endless possibilities — we’ve added two new APIs to the Testfully API, test()
and expect()
, which allow you to create and run tests programmatically. This means you can now write BDD-style tests with Testfully, and run them on demand or from your CI/CD pipeline, or any other automation tool. It is worth noting that:
- BDD-style testing is fully compatible with Postman, so you can easily migrate your existing tests to Testfully without having to rewrite them.
- The
expect()
API uses the Chai Assertion Library, so you can use any of the available assertions to validate your API responses. - You can add tests to a folder, and individual requests.
- Tests can be run on demand, as part of a collection run, or from your CI/CD pipeline using the Testfully CLI.
To learn more about BDD-style testing with Testfully, check out our documentation.
Work with Folder Variables via Testfully Scripts
A folder in Testfully can host a collection of variables. These variables can be used to store values that are used across multiple requests in a folder. For example, you can store the access token of your API in a variable, and use it in all the requests in that folder. We’ve added a set of APIs to the Testfully API that allow you to work with folder variables programmatically. This means you can now create, update, delete, and get folder variables via Testfully Scripts.
- You can work with both parent folder and root folder variables.
- The API is fully compatible with Postman, so you can easily migrate your existing scripts to Testfully without having to rewrite them.
To learn more about working with folder variables via Testfully Scripts, check out our documentation.
Work with XML & SOAP API Endpoints in Testfully
XML support is finally here! You can now work with XML API endpoints in Testfully and inspect the response body using a dedicated XML inspector. We’ve also added support for Yaml, HTML, Javascript, and plain text responses and request bodies. This means you can now work with any API endpoint in Testfully, regardless of the response type.
A brand new Response Inspector
Building the XML support allowed us to rethink the response inspector in Testfully and offer a better experience. The new experience is available for all response types and allows you to:
- View syntax-highlighted responses for JSON, XML, YAML, HTML, Javascript, and plain text responses.
- Collapse and expand any node in the response body.
- Search for any node in the response body using the search bar
(CMD/CTRL+F)
. - Copy and paste the response using
CTRL/CMD+C
andCTRL/CMD+V
.
Import OpenAPI Spec 3.0 & 3.1
Easily import Open API Spec 3.0 and 3.1 files into Testfully, available in both Testfully Cloud and Testfully Offline workspaces. To learn more about importing OpenAPI Spec files, check out our documentation.
Other Improvements & Bug Fixes
- Testfully imports XML, HTML, YAML, Plain Text, and Javascript responses and request bodies from Postman and Insomnia.
- We fixed a bug that caused Testfully not to import multi-line cUrl commands.
- We fixed a bug that caused Testfully to not be able to import an exported Testfully folder.
- Relocating a request to a different folder wouldn’t result in using the folder variables of the new folder. We fixed this bug and now Testfully uses the folder variables of the new folder when relocating a request immediately.
That’s all for December 2023. We hope these new features help you be more productive at work. Have fun and see you next month!