Introduction to Writing JSON Test Code in API Testing

In API testing, JSON (JavaScript Object Notation) is one of the most commonly used data formats for sending and receiving structured data between the client and server. Writing test code for JSON responses ensures that the API behaves as expected, returns correct data, and handles errors properly. šŸ“Œ Why JSON is Important in API Testing… Continue reading Introduction to Writing JSON Test Code in API Testing

How to Use Collection Variables in Postman for NetSuite API Testing

Postman collection variables streamline API testing by centralizing values like base URLs, tokens, or record IDs. How to set them up: Click your collection > Go to the ā€œVariablesā€ tab. Add variables (e.g., base_url, auth_token). Use them in requests: http Copy Edit GET {{base_url}}/record/v1/customer/{{customer_id}} Update values once, apply across all requests. Tip: Collection variables reduce… Continue reading How to Use Collection Variables in Postman for NetSuite API Testing

Understanding Bearer Tokens

Bearer tokens are a widely used method for securing API access, particularly in modern web applications and services. They offer a simple yet effective way to authenticate and authorize users. Here’s an in-depth look at what bearer tokens are, how they work, and why they are essential for secure API communication. A bearer token is… Continue reading Understanding Bearer Tokens

Testing NetSuite Integration with External Websites Using Postman

Testing the integration between NetSuite and external websites using Postman ensures that data flows smoothly between the two systems and that operations like order creation and updates function as expected. Set Up Your Postman Environment Start by setting up a Postman collection to organize related API tests. Configure environment variables such as the netsuite_url, customer_id,… Continue reading Testing NetSuite Integration with External Websites Using Postman

Different types of Postman HTTP status codes?

What are the different types of HTTP status codes? HTTP status codes are grouped into five classes, each beginning with a number that represents the type of response. The classes are: 1xx informational responses These codes indicate that the server has received the request and is processing it. They are primarily used to manage communication… Continue reading Different types of Postman HTTP status codes?

Understanding Boundary in Multipart/Form-Data

When dealing with file uploads and form submissions in web development, understanding the role of the boundary in multipart/form-data is crucial. This article explains what the boundary parameter is, how it works in multipart/form-data, and provides examples including script code. What is Multipart/Form-Data? multipart/form-data is one of the encoding methods provided by HTML forms to… Continue reading Understanding Boundary in Multipart/Form-Data

How to resolve “Method Not Allowed” error when we call Suitelet from the Postman

Description: When we tried to call Suitelet from the postman, we may face this error through the response, we can use this solution to resolve it. Error: The issue is happened due to the invalid user-Agent add the following key value pair in the header section of the request then the issue will be resolved.… Continue reading How to resolve “Method Not Allowed” error when we call Suitelet from the Postman

How to send get and post request in API using Node JS & using Postman

We can write get and post method in API using node js. We rae using Postman for testing here. We can write API’s in node JS for send and recieving the requests. By using this code we can get the values in postman as well as in server. First we need to install the Express… Continue reading How to send get and post request in API using Node JS & using Postman