Table of contents
1.
Introduction
2.
Transaction Log
2.1.
Configuring Transaction Log
2.2.
Log Options Dialog
2.3.
Filtering Test Results
2.4.
Test Step Details
3.
Compare Page
3.1.
Test Run Panel
3.2.
Log Panel
3.3.
Diff Mode
3.4.
Log Mode
3.5.
Setting a Baseline
4.
Test History Page
4.1.
Creating Test History Backup
5.
Frequently Asked Questions
5.1.
What is Ready API?
5.2.
What is the role of Transaction Logs in Ready API?
5.3.
What is the role of Compare in Ready API?
6.
Conclusion
Last Updated: Mar 27, 2024
Easy

Test Results in Ready API

Author Sonu Deo
0 upvote
Career growth poll
Do you think IIT Guwahati certified course can help you in your career?

Introduction

ReadyAPI is an easy-to-use no-code API Testing platform designed to streamline your testing workflows. Automate and scale your end-to-end tests across multiple API types. Run compatible load tests against your functional tests. Enable virtualization to ensure fast and reliable integrations for your development teams.

We may get stuck in some error in our API, so to detect the error we have Test Results in ready API which provides us with some features for viewing our test results, comparing them to other tests, and can get the results of past runs also. 

introduction


To do the tasks mentioned above, we have to explore through following three types of interface tabs :

  • Transaction Log
  • Compare page
  • Test History Page

For viewing and getting details of our current test run, for comparing any two tests, and for getting the test results of previous runs we are going to explore each of the above-mentioned pages in detail now. 

Transaction Log

The Transaction Log page in Ready API contains the tests and results for the most recent run of the current level. It displays information on incoming requests and outgoing responses that occurred during the current service run. The transaction log allows us to check the test run results and for errors (if any). The transaction Log page contains the test results of the last Test, which was tested at the current level.

Transaction Log

We can also access the test case results and the test suite on the Test Case Status and Test Suite Status on the dashboard, respectively.

Configuring Transaction Log

Go to settings and select the following options according to the requirement:

  • Log Options: this will open a dialogue box having various log options.
     
  • Export Results: this will export the Log to a local file.
     
  • Precise Results: this will delete the result from the Log.
     
  • Reset Sort Order: this will reset the sorting order of logs to its default based on the time of the test run in ascending order.

Log Options Dialog

It contains various settings related to the logging behavior.

  • Errors Only: enabling this will log only the mistakes in the test steps.
     
  • Disable Logging: this will turn the Logging off.
     
  • Follow: this will allow automatic scrolling to the currently running Log.

Filtering Test Results

Ready API also allows us to filter the results based on the success of assertion results.

  • Pass: It will show only the results with assertions passed successfully.
     
  • Fail: It will show only the results with assertions that failed.
     
  • Unknown: It will show results without assertions.

 

By default, it logs all types of results.

Test Step Details

We can easily view the element details by clicking open next to the test step.

Test step details

Ready API will automatically open the respective editors for test suites and cases. For test steps, a summary of test execution results is displayed.

Compare Page

It allows us to compare the test results between two different test runs. Past runs can also be reached using execution history and transaction logs. It is available at Project, test case, and test suite levels.

compare page

Test Run Panel

It includes two panels.

  •  Recent Test Runs: In this list, the runs sorted by dates, with the latest at the top, are displayed. We can select one or more tests and save those runs in the drop-down list. If we have to keep a large number of runs, we will use Archived Test Runs.
     
  •  Archived Test Runs: In here, Ready API shows the runs that we have selected for storing. Right-click the name and select Archive run in the menu to Archive any test run. Saved runs are displayed in order, sorted by dates, with the latest at the top.

Log Panel

The Log panel on the right side of the Compare page displays a transaction log of the run's events, transactions, and results.

There are several functional buttons on the log panel:

  • Click Settings to open the log settings window.
     
  •  Click erase to clear the Log.
     
  • To export the log, click on the export option.
     
  •  Click on the down arrow or right arrow to expand or collapse the log records, respectively.

Diff Mode

Select Diff from the Show drop-down menu to enter Diff mode.

The log area in Diff mode displays the differences between the baseline and the run you've chosen. During runs, you can expand nodes by clicking on them. To view the details of a node item, double-click it.

Log Mode

Select Log from the Show drop-down menu to enter the Log mode.

The Log in Log mode displays both transactions and the baseline comparison at the end.

You can use it if you want to know the details of the run as well as individual test results. You can expand nodes by double-clicking them during the run. To view the details of a node item, double-click it.

Setting a Baseline

The baseline is a run that ReadyAPI uses as a template against which subsequent runs are compared.

A project can only have one baseline per level at any given time. To make a run a baseline, right-click it in the list of Recent Test Runs or Archived Test Runs and choose Set as a baseline. If it is not already in Archived Test Runs, the run will be added. Its name will be highlighted and end with (baseline).

Test History Page

The History page provides a high-level overview of previous test runs. You can find general information about your test runs, including results, on that page. This page is also available at Project, Test suite, and Test case levels.

history page
  •  We can manage the list of displays by checking the box Only this Project to get the list of only the test runs of the current Project.
     
  • We can also hide the information of older runs by entering the start date to the Form field and can also access the older test runs before a particular date by entering the date to the To field.

Creating Test History Backup

Because ReadyAPI saves the test history on your computer, it is possible that it has become corrupted for some reason. We recommend that you perform regular backups to ensure that you do not lose your data.

Select File> Backup Test History and specify the backup File to create a backup.

The test history can later be imported into ReadyAPI.

To do so, go to File> Restore Test History and choose the backup File.

Frequently Asked Questions

What is Ready API?

ReadyAPI is a no-code API testing platform that is designed to simplify your testing workflows. End-to-end tests can be automated and scaled across multiple API types. Run load tests that are compatible with your functional tests.

What is the role of Transaction Logs in Ready API?

The Transaction Log page in Ready API contains the tests and results for the most recent run of the current level. It displays information on incoming requests and outgoing responses that occurred during the current service run.

What is the role of Compare in Ready API?

It displays information on incoming requests and outgoing responses that occurred during the current service run. It also contains Archive Test Run List to compare.

Conclusion

In this article, we have discussed features of Ready API which helps in seeing all the transaction logs of the current run, also comparing the different results and the history page for accessing results of the previous run.

Check out these articles for more clear understanding of Ready API and its features:

Ready_API
Installing Ready API
Performance tests


Visit our website to read more such blogs. Make sure you enroll in the courses we provide, take mock tests, solve problems, and interview puzzles. Also, you can pay attention to interview stuff- interview experiences and an interview bundle for placement preparations.

Live masterclass