Get a Better View of Your Code Coverage
By Adam Attanasio
June 13, 2023
3 min read
Parasoft's AI-powered API testing solution includes innovative, unified code coverage reporting. Read on to learn how teams get visibility of application coverage across distributed systems.
Jump to Section
Functional Testing Solutions Overview
Parasoft was named a leader in The Forrester Wave™: Continuous Automation Testing Platforms, Q4 2022 and we’re focused more than ever on innovation that enables our customers to achieve their software quality goals.
SOAtest, Virtualize, and CTP enable organizations to lower costs and speed up the delivery of complex and high-quality software.
- SOAtest simplifies functional testing across APIs, microservices, UIs, databases, and more.
- Virtualize lets you create virtual equivalents that behave just like the real thing.
- CTP provides easy browser-based visualization of your test environments and dependencies.
Simplified Workflows & Unified Code Coverage Reports
The 2023.1 releases of SOAtest, Virtualize, and CTP, Parasoft’s functional API testing platform, focus on the following themes.
- Code coverage and distributed microservices
- New responder mode for JSON and Plain XML
- Improved usability and user experience
Code Coverage & Distributed Microservices
Code coverage was a big theme for this release. Traditionally, to measure code coverage you need both runtime information and the source code to generate detailed coverage reports. With this release, you can create coverage reports directly from binaries and runtime data, enabling QA teams to measure coverage without needing access to the source code.
This enhancement also simplifies workflows for setting up code coverage and Test Impact Analysis (TIA) configurations. The expanded coverage capability is included in each of the functional and language tools. You no longer need to install Jtest or dotTEST to enable coverage within SOAtest.
As organizations are moving away from monolithic applications, and microservice usage is here to stay, the visibility of application coverage has been a growing challenge. SOAtest has now been expanded to collect code coverage data for distributed microservices, providing better visibility of application coverage across these diverse endpoints. The results can be aggregated into SOAtest XML and DTP reports.
A New Responder Mode for JSON & Plain XML
Virtualize users can take advantage of the new “Request/Response Files” input mode for JSON and Plain XML that makes use of a directory of request/response pairs. This mode checks incoming requests against the files in the directory and, when a match is found, uses the paired response as the reply. This will match incoming messages to request files and return the paired response and make it easier to add new data since correlations are automatically configured for any new request files based on the tool’s configuration. HTTP, MQ, JMS, and custom protocols are supported. In our next release, this will be expanded to enable dynamic “learning” of runtime traffic, allowing for easy simulation of the real service when the live endpoint is unavailable.
Improved Usability & User Experience
We’re always striving to increase usability and enhance the user experience. This release includes enhancements that address customer requests and streamline workflows.
Storing author of message proxies, virtual assets, and test, responder, and action suites. The last user to modify a test suite (.tst), responder suite (.pva), action suite (.pvn), message proxy (.pmpdd), or virtual asset (.pvadd) is now stored in those artifacts. You can see who the last person was to make modifications in the desktop application or in CTP.
Message responder to bypass any message proxy failover. You can configure a message responder to bypass any message proxy failover settings that have been set up and return the custom return status and payload configured in the responder instead when you want the responder to return a failure message but don’t want the proxy to failover.
SOAvirt server enhancements.
- SOAvirt server can be installed as a Windows service.
- SOAvirt server WAR deployments can run up to 4 test jobs in parallel.
- Administrators can mark servers as “private,” hiding them from non-administrators who have not been granted access to them.
- Users can switch message proxy mode between primary and secondary connections.
- Users can create proxies inside proxy folders.
- New widgets are available for monitoring Hits Per Second on the Virtualize server.