An open API service indexing awesome lists of open source software.

https://github.com/sharvarimehta/api-automation-using-postman-ddt

Automated Google Search testing using Postman with Data Driven Testing (DDT) for numbers 1–10, dynamically validating search results and logging each iteration
https://github.com/sharvarimehta/api-automation-using-postman-ddt

api datadriventesting postman

Last synced: 6 months ago
JSON representation

Automated Google Search testing using Postman with Data Driven Testing (DDT) for numbers 1–10, dynamically validating search results and logging each iteration

Awesome Lists containing this project

README

          

# πŸ” Google Search DDT with Postman

This repository demonstrates **Data Driven Testing (DDT)** in Postman using the **Google Search API**.
The test runs a search for numbers **1 to 10** dynamically using a JSON data file.

---

## πŸ“‚ Project Structure
```
πŸ“¦ Google-Search-DDT

┣ πŸ“œ DDT using POSTMAN.postman_collection.json # Postman collection
┣ πŸ“œ data.json # Test data file (numbers 1–10)
┣ πŸ“œ README.md # Project documentation
````
---

## πŸ“ Test Case

**Test Case ID:** `TC_Google_Search_001`
**Title:** Validate Google search results for numbers 1–10 using DDT in Postman

**Precondition:**

* Postman installed
* JSON file prepared with numbers 1–10

**Test Steps:**

1. Send `GET https://www.google.com/search?q={{number}}`
2. Iterate through values `1–10` using the data file
3. Validate response status code
4. Log searched number in test results
5. Verify response contains searched number

**Expected Result:**

* Each request returns **200 OK**
* Test results show which number was searched
---

## πŸ“Š Sample Output (Runner)

```
βœ“ Searched number: 1
βœ“ Status code is 200
```
---
## πŸ™‹β€β™€οΈ Let’s Connect πŸ‘©β€πŸ’»

- πŸ“§ **Email:** [sharvarimehta97@gmail.com](mailto:sharvarimehta97@gmail.com)
- πŸ’Ό **LinkedIn:** [linkedin.com/in/sharvarimehta](https://www.linkedin.com/in/sharvarimehta)
- πŸš€ **GitHub:** [github.com/SharvariMehta](https://github.com/SharvariMehta)
- πŸ”— **Postman:** [postman.com/sharvarimehta](https://www.postman.com/sharvarimehta)
---