Hi all,
In May, our KShare contributors have written 4 API Testing-related articles, and in this thread, we will provide you with a neat navigation to each of them in chronological order.
1. [KShare ] How to get the values of the HTTP header and Local Variables of the API requests?
[Forum thumbnail]
Hi all,
For May, we are going to focus on API Testing tips, tricks, and tutorials to help you test better with the Katalon Platform.
Have you ever encountered difficulties attempting to obtain online service approach suggestions? Like the screenshot below…
[image]
If you do, then you should apply the syntax below:
import com.kms.katalon.core.testobject.RequestObject
import com.kms.katalon.core.testobject.ResponseObject
RequestObject requestObject = fin…
2. [KShare ] API Testing with Web Page Source
[Forum thumbnail]
Hi Community members,
Are you looking for a way to validate the web page elements with API requests?
If so, then this article is for you. Let us show you how you can do so with the below scenario…
Step 1: Go to the URL: Forms Complete Example
Step 2: Get the title of the web page
Step 3: Get the placeholder value of the Email field
Step 4: Verify that the value of the placeholder matches the expected content
Step 1: Create a Web Service Request
[image]
Now, chec…
3. [KShare ] Verifying Multiple Status Codes
[Forum thumbnail]
Hi Community members,
Have you ever needed to verify a status code that is different than the default 200 status code that is typically returned for API Calls, or have you needed to have more than one status code to be checked in a single call?
In today’s KShare article, we will show you how you can change the default status code verification as well as handling verification for multiple status codes.
1. Changing the Default Status Code
The default verification meth…
4. [KShare ] How to get the list of Nodes/Tag Names in the Response and Verify them?
[Forum thumbnail]
Hi Community members,
How long have you been looking for a solution to get the list of nodes in the SOAP API response and verify them like in the screenshot below?
[image]
Today, our team will introduce you to an approach to help you achieve that.
You can follow the steps below to create a particular project for yourself.
Create a new API project with Katalon Studio
Import WSDL with this link: http://www.dneonline.com/calculator.asmx?WSDL
[image]
Use t…
If you find the article helpful, then don’t forget to leave our KShare contributors a like or a heart , and share them with your colleagues or teammates to show your support!
1 Like