Table of contents
1.
Introduction
2.
Katalon Studio
2.1.
Why do we use Katalon Studio?
3.
Request History
4.
Draft Request
5.
Frequently Asked Questions
5.1.
What features of Katalon make it easy to use for people with no coding background?
5.2.
Are the Draft Requests stored in Request History?
5.3.
What can be done to a request selected from Request History?
6.
Conclusion
Last Updated: Mar 27, 2024
Easy

Request History and Draft Request in Katalon

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

Introduction

Welcome Ninjas! Are you interested in knowing even the small-scale features of the Katalon Studio?

Request History and Draft Request in Katalon

Well, this blog will give you an overview of Request History and Draft Request in Katalon Studio. But before moving to these concepts, we will acknowledge the basics of the software Katalon Studio. Let us get started!

Katalon Studio

In this fast-growing technology, we cannot afford drawbacks to our project. Hence, any product is launched when it’s fully developed and tested.  

Katalon logo

Compared to manual testing of the projects (API testing/Mobile testing/Web testing), which proves ineffective, Automated Testing has become very popular these days. Katalon Studio steps in here. Based on Selenium, Katalon is one of the best and most used automated testing software with easy-to-use go-to features.

Why do we use Katalon Studio?

Let's explore some features of the Katalon Studio.

We prefer Katalon due to the following reasons:

  • Katalon provides an inbuilt API testing module that performs end-to-end API testing. 
  • Katalon has features like snippets, code references, and an effective debugger; hence, we require minimal coding.
  • In Katalon Studio, we can create easy-to-maintain automated scripts.
  • Katalon Studio is compatible with third-party testing tools like Postman and Swagger.

Request History

Request History Design

Wouldn't it be convenient if we had a record of all the requests in one place? Well, Katalon Studio's feature Request History helps you with the same. 

As the name suggests, Request History saves the history of all the previously created requests. Log of all the APIs/Web Service Objects created or imported into the project is displayed in the left sidebar under the Request History Panel. 

Request History Panel

It is important to note that Request History can only be viewed for the 'API-only' Projects.

Any Web Service Request present in the Request History Panel can be accessed and retrieved anytime.

When we select any request from the Request History Panel, two options can be viewed:

Save & Remove Options

 

  • Save - This option allows us to convert the request into a web service object. (Note that the updates are saved only when we 'Send Request'; otherwise, they are not.)
  • Remove - This option allows us to remove the selected request from the history panel.

Draft Request

Let's now move on to the next topic of our discussion - Draft Request.

Draft Design

 

Have you ever written emails you didn't send because they might require changes later? Just like the composed unsent emails, which can be edited later and saved as drafts, there's this feature of Draft Request in Katalon Studio.

Sometimes, we may want to test our request with raw data before finally adding it to our test case. 

Katalon Studio's feature of Draft Request allows us to create a Draft request to experiment and test with different data. All sent requests are saved in the 'Request History' panel on the left sidebar, where they can be accessed and retrieved anytime.

  • Click on the main toolbar's 'New Draft Request' icons to create a new draft request.

Draft Request icons

  • Select the Request type. A Draft Request Details view opens up. Enter the required request information. 
Select Request type
  • When the Draft Request is ready to be added to the test case, select the desired request and click on 'Save.' 
  • Specify the name of the request and the folder in the 'Object Repository.'

We can now use this request to run our test case!

Frequently Asked Questions

What features of Katalon make it easy to use for people with no coding background?

Katalon Studio offers features like snippets, code references, and a debugger.

Are the Draft Requests stored in Request History?

Yes, Draft Request are saved in Request History and can be accessed and retrieved from there.

What can be done to a request selected from Request History?

It can either be saved (converted into a web service object) or removed from the Request History Panel.

Conclusion

We hope this blog helped you in understanding the concept of Request History and Draft Request in Katalon Studio. We first discussed Katalon Studio and the need to use this software, followed by a detailed explanation of the Request History and Draft Request in Katalon.

If you found this blog engaging and insightful, you can refer to some similar blogs:

Tips & Tricks in Katalon Studio

Introduction to Web services test object in Katalon

Verification Snippets in Katalon

Keep up with the Basics of C++ with Data StructureDBMS, and Operating System by Coding Ninjas, and keep practicing on our platform Coding Ninjas Studio. Check out the mock test series on code studio.

You can also refer to our Guided Path on Coding Ninjas Studio to boost yourself in domains like Data Structures and AlgorithmsCompetitive ProgrammingAptitude, and many more! Refer to the interview bundle to prepare for placement interviews. Check out interview experiences to understand various companies' interview questions.

Give your career an edge over others by considering our premium courses!

Happy Learning!

 

Thankyou image

Live masterclass