- Data Structure
- Networking
- RDBMS
- Operating System
- Java
- MS Excel
- iOS
- HTML
- CSS
- Android
- Python
- C Programming
- C++
- C#
- MongoDB
- MySQL
- Javascript
- PHP
- Physics
- Chemistry
- Biology
- Mathematics
- English
- Economics
- Psychology
- Social Studies
- Fashion Studies
- Legal Studies
- Selected Reading
- UPSC IAS Exams Notes
- Developer's Best Practices
- Questions and Answers
- Effective Resume Writing
- HR Interview Questions
- Computer Glossary
- Who is Who
Debomita Bhattacharjee has Published 867 Articles
Debomita Bhattacharjee
516 Views
We can use Selenium webdriver for web automation. For this we need to follow the below steps −Step 1 − The Webdriver should be created. For example, WebDriver driver = new ChromeDriver();The above piece of code is used to create a webdriver instance and initiate the script execution in ... Read More
Debomita Bhattacharjee
3K+ Views
We can verify JSON response headers in Rest Assured. This is achieved with the help of the header method. We shall send a GET request via Postman on a mock API, observe the Response Headers.Headers −ExampleUsing Rest Assured, we shall verify the value of the Content-Length in the Headers.Code Implementationimport ... Read More
Debomita Bhattacharjee
1K+ Views
We can pass the request body from an external file in a separate package in Rest Assured and pass that file directly to a request as a payload. This technique can be used for static payloads or payloads having slight changes.The RequestSpecification interface has a method called the body. It ... Read More
Debomita Bhattacharjee
9K+ Views
We can verify the JSON response body using Assertions in Rest Assured. This is done with the help of the Hamcrest Assertion. It uses the Matcher class for Assertion.To work with Hamcrest we have to add the Hamcrest Core dependency in the pom.xml in our Maven project. The link to ... Read More
Debomita Bhattacharjee
855 Views
We can upload files to S3 using Rest Assured multipart with the help of the below techniques −Rest Assured has the default URL encoding feature. The issue with S3 URLs is that they contain special characters such as %2A, %3D. As the URL encoding feature is configured to true value ... Read More
Debomita Bhattacharjee
2K+ Views
We can parameterize tests with multiple data sets using Rest Assured. Using data providers we can execute a single test case in multiple runs. To know more about TestNG data providers visit the below link −https://www.tutorialspoint.com/testng/testng_parameterized_test.htmThis technique can be used for dynamic payloads. For this, we shall create a Java ... Read More
Debomita Bhattacharjee
678 Views
We can create a project with Cucumber and Rest Assured dependencies. This can be done by following the below steps −Step 1 − Create a Maven project. The details on how to create a Maven project is discussed in detail in the below link −https://www.tutorialspoint.com/maven/index.htmStep 2 − Add the following ... Read More
Debomita Bhattacharjee
396 Views
We can have checkpoints to verify the Response from a request. This is done by adding scripts in the Tests tab. These scripts get executed if the request has executed successfully.The scripts added under the Tests tab are developed in JavaScript. After a request has been sent and a Response ... Read More
Debomita Bhattacharjee
465 Views
Though Monitors in Postman have many features, it has some disadvantages as well. However, it is up to the end user if he should consider these features as drawbacks for Monitors.Disadvantages of monitors are listed below −Postman Monitors are non-functional provided the Postman server resides in the same server where ... Read More
Debomita Bhattacharjee
125 Views
Once a scheduled Collection Monitor gets triggered, we have to analyze the results. Click on the Monitor name available under the Monitors tab.A new window opens in the browser that shall redirect to the Postman account that we are signed in.If we analyze the performance graph of the API in ... Read More
To Continue Learning Please Login
Login with Google